Traceback on removing buffer from list

Bug #86972 reported by Jarek Zgoda
2
Affects Status Importance Assigned to Milestone
PIDA
Fix Released
Medium
Ali Afshar

Bug Description

  File /usr/lib/python2.4/site-packages/pida-0.4.4-py2.4.egg/pida/utils/vim/vimcom.py, line 632, in cb_notify
    self.cb_reply(message[-1])
  File /usr/lib/python2.4/site-packages/pida-0.4.4-py2.4.egg/pida/utils/vim/vimcom.py, line 642, in cb_reply
    self.cb_reply_async(s)
  File /usr/lib/python2.4/site-packages/pida-0.4.4-py2.4.egg/pida/utils/vim/vimcom.py, line 651, in cb_reply_async
    self.vim_event(server, evt, d)
  File /usr/lib/python2.4/site-packages/pida-0.4.4-py2.4.egg/pida/utils/vim/vimcom.py, line 658, in vim_event
    getattr(self.cb, funcname)(server, *d.split(','))
  File /usr/lib/python2.4/site-packages/pida-0.4.4-py2.4.egg/pida/utils/vim/vimeditor.py, line 228, in vim_bufferunload
    document=doc, dorefresh=True)
  File /usr/lib/python2.4/site-packages/pida-0.4.4-py2.4.egg/pida/core/boss.py, line 79, in call_command
    return group.call(commandname=commandname, **kw)
  File /usr/lib/python2.4/site-packages/pida-0.4.4-py2.4.egg/pida/core/service.py, line 150, in call
    result = self.__call_command(command, **kw)
  File /usr/lib/python2.4/site-packages/pida-0.4.4-py2.4.egg/pida/core/service.py, line 158, in __call_command
    return command(**kw)
  File /usr/lib/python2.4/site-packages/pida-0.4.4-py2.4.egg/pida/core/command.py, line 72, in __call__
    return self.__callback(**kw)
  File /usr/lib/python2.4/site-packages/pida-0.4.4-py2.4.egg/pida/services/buffermanager.py, line 310, in cmd_document_closed
    self.__refresh_view(i)
UnboundLocalError: local variable 'i' referenced before assignment

I tried to remove all buffers from the buffer list and hit <Shift>-<Ctrl>-W too many times.

Changed in pida:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Ali Afshar (aafshar)
Changed in pida:
assignee: nobody → aafshar
status: Confirmed → Fix Released
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.