Opened 11 years ago

Closed 9 years ago

#261 closed defect (wontfix)

When is not available padre crashes on file open

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


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/ in @INC...

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

Change History (1)

comment:1 Changed 9 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.