Ticket #543 (new defect)

Opened 3 years ago

Aborting a threaded load raises exception

Reported by: anonymous Owned by: rob
Priority: major Milestone: 0.15
Component: buffer Keywords:
Cc:

Description

When loading a file using background threaded loading, trying to kill the load by closing the buffer results in:

Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14551, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "/home/rob/src/peppy-git/peppy/mainmenu.py", line 417, in action
    self.frame.closeBuffer()
  File "/home/rob/src/peppy-git/peppy/frame.py", line 648, in closeBuffer
    if buffer.numViewers() > 1:
AttributeError: 'LoadingBuffer' object has no attribute 'numViewers'

Attachments

Add/Change #543 (Aborting a threaded load raises exception)

Author


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


Action
as new
 
Note: See TracTickets for help on using tickets.