[Python-bugs-list] [ python-Bugs-765621 ] Packman crashes with garbage database
SourceForge.net
noreply@sourceforge.net
Mon, 21 Jul 2003 15:12:15 -0700
Bugs item #765621, was opened at 2003-07-03 23:34
Message generated for change (Settings changed) made by jackjansen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=765621&group_id=5470
Category: Macintosh
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jack Jansen (jackjansen)
Assigned to: Jack Jansen (jackjansen)
Summary: Packman crashes with garbage database
Initial Comment:
Packman crashes when you feed it a random HTML
document, in stead of giving a decent error message.
----------------------------------------------------------------------
Comment By: Jack Jansen (jackjansen)
Date: 2003-07-22 00:04
Message:
Logged In: YES
user_id=45365
Fixed in PackageManager.py rev. 1.13. I'll be filing another bug
report for plistlib later (where the real fix should be, I think).
----------------------------------------------------------------------
Comment By: Russell Owen (reowen)
Date: 2003-07-04 01:14
Message:
Logged In: YES
user_id=431773
The 2.3b2-2 installer may have improved this some (I'm not sure). Most incorrect URLs I tried gave a nice explanatory error message. However, the url "http://python.org/packman" reliably gives a traceback. Here's an example:
ExpatError: syntax error: line 1, column 62
File "Wapplication.py", line 45, in mainloop
self.do1event(mask, wait)
File "FrameWork.py", line 194, in do1event
self.dispatch(event)
File "FrameWork.py", line 227, in dispatch
handler(event)
File "FrameWork.py", line 289, in do_mouseDown
handler(partcode, wid, event)
File "Wapplication.py", line 203, in do_inMenuBar
self.do_rawmenu(id, item, window, event)
File "FrameWork.py", line 314, in do_rawmenu
self.do_menu(id, item, window, event)
File "FrameWork.py", line 321, in do_menu
self.menubar.dispatch(id, item, window, event)
File "Wapplication.py", line 445, in dispatch
self.menus[id].dispatch(id, item, window, event)
File "Wapplication.py", line 462, in dispatch
W.CallbackCall(callback, 0, id, item, window, event)
File "Wbase.py", line 684, in CallbackCall
return callback()
File "PackageManager.py", line 176, in domenu_openURL
self.opendoc(url)
File "PackageManager.py", line 150, in opendoc
PackageBrowser(url)
File "PackageManager.py", line 328, in __init__
messages = self.setuppimp(url)
File "PackageManager.py", line 251, in setuppimp
self.pimpdb.appendURL(url)
File "pimp.py", line 259, in appendURL
dict = plistlib.Plist.fromFile(fp)
File "plistlib.py", line 211, in fromFile
plist = p.parse(pathOrFile)
File "plistlib.py", line 302, in parse
parser.ParseFile(file)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=765621&group_id=5470