Ticket #847 (closed defect: fixed)
peppy crashes when title buffer fails to load
| Reported by: | https://me.yahoo.com/postrockrob#52e3a | Owned by: | rob |
|---|---|---|---|
| Priority: | major | Milestone: | 0.15 |
| Component: | application | Keywords: | |
| Cc: |
Description
If the title buffer URL gets corrupted somehow, application startup will fail with:
Traceback (most recent call last):
File "/opt/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14614, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "/data2/home/rob/src/peppy/peppy/frame.py", line 571, in titleBuffer
self.open(wx.GetApp().classprefs.title_page)
File "/data2/home/rob/src/peppy/peppy/frame.py", line 638, in open
opener = FileOpener(self, *args, **kwargs)
File "/data2/home/rob/src/peppy/peppy/fileopener.py", line 74, in __init__
if 'mode' in self.url.query:
TypeError: argument of type 'NoneType' is not iterable
Probably can only be fixed by changing buffer load process to first create tab and then attempt to load the specified URL.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
