Source browser not updated after closing last buffer

Bug #94029 reported by Jarek Zgoda
2
Affects Status Importance Assigned to Milestone
PIDA
Fix Committed
Low
Unassigned

Bug Description

After closing last buffer with Python code, Python source browse shows the content of last closed buffer. On closing last buffer, the following traceback is printed to terminal:

Exception in thread Thread-48:
Traceback (most recent call last):
  File "threading.py", line 442, in __bootstrap
    self.run()
  File "threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.4/site-packages/pida-0.4.4-py2.4.egg/pida/services/todolist.py", line 135, in new_thread
    messages = self.cmd_check(lines=document.lines)
  File "/usr/lib/python2.4/site-packages/pida-0.4.4-py2.4.egg/pida/core/document.py", line 210, in get_lines
    return self.__iter__()
  File "/usr/lib/python2.4/site-packages/pida-0.4.4-py2.4.egg/pida/core/document.py", line 206, in __iter__
    self.__load()
  File "/usr/lib/python2.4/site-packages/pida-0.4.4-py2.4.egg/pida/core/document.py", line 169, in __load
    stream = open(self.__filename, "rb")
IOError: [Errno 2] File does not exist: '/home/jarek/works/current/myproject/webapps/base/utils.py'

(The filename here is the name of last closed file).

Revision history for this message
Jarek Zgoda (jzgoda) wrote :

And one more thing, the path in PIDA main window title still shows that file name.

Ali Afshar (aafshar)
Changed in pida:
importance: Undecided → Low
status: Unconfirmed → Confirmed
Revision history for this message
Jarek Zgoda (jzgoda) wrote :

The same applies to TODO browser.

Changed in pida:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.