Opened 22 years ago

Closed 22 years ago

Last modified 20 years ago

#289 closed defect (fixed)

portindex dies after first illegally formatted Portfile

Reported by: jpm@… Owned by: kvv@…
Priority: Normal Milestone:
Component: base Version: 1.0
Keywords: Cc:
Port:

Description

currently if portindex runs into a improperly formatted Portfile, it will spit out a nasty backtrace and halt. the user then must determine what Portfile killed portindex and fix/remove it before they can generate a PortIndex.

portindex should print a reasonable error message and trudge on past any nasty files it may encounter. see attached portindex.tcl diff that adds a catch around the interp of the Portfile...

Attachments (2)

portindex.tcl.diff (978 bytes) - added by jpm@… 22 years ago.
diff to add catch around Portfile interp
portindex.tcl.2.diff (2.8 KB) - added by jpm@… 22 years ago.
diff to catch interp exception

Download all attachments as: .zip

Change History (5)

Changed 22 years ago by jpm@…

Attachment: portindex.tcl.diff added

diff to add catch around Portfile interp

Changed 22 years ago by jpm@…

Attachment: portindex.tcl.2.diff added

diff to catch interp exception

comment:1 Changed 22 years ago by jpm@…

attachments.isobsolete: 01

comment:2 Changed 22 years ago by jpm@…

okay to commit?

comment:3 Changed 22 years ago by jpm@…

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.