Opened 5 years ago

Closed 3 years ago

#261 closed defect (wontfix)

When Document::XYZ.pm is not available padre crashes on file open

Reported by: szabgab Owned by:
Priority: major Milestone:
Component: editor Version: trunk
Keywords: Cc:

Description

I have defined a new document type in the Padre::Plugin::XYZ
but have forgotten to implement (or install?) Padre::Document::XYZ
When I tried to open a file belonging to that document type Padre crashed with

Can't locate Padre/Document/XYZ.pm in @INC...

at .../Padre/lib/Padre/Wx/Menu/File.pm line 72

Change History (1)

comment:1 Changed 3 years ago by adamk

  • Resolution set to wontfix
  • Status changed from new to closed

This is a crash that will only occur during plugin development. It's reasonable for it to do so, as Padre is doing exactly as the plugin requests.

I don't wish to add even more error checking weight to the plugin API for things which should never happen under normal circumstances, and when the natural failure mode provides enough information already to fix the problem

Note: See TracTickets for help on using tickets.