Ticket #847 (closed defect: fixed)

Opened 20 months ago

Last modified 20 months ago

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

Changed 20 months ago by rob

  • status changed from new to closed
  • resolution set to fixed

(In [2534]) Fixed #847: added error handler to handle failure when decoding a URL

Add/Change #847 (peppy crashes when title buffer fails to load)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.