Issue #418 new

Error on document changing

Ali Afshar
repo owner created an issue

{{{ AttributeError: 'NoneType' object has no attribute 'name' 20:48:00 dbus.connection Exception in handler for D-Bus signal: Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 214, in maybe_handle_message self._handler(*args, kwargs) File "/home/ali/working/pida-main/pida/editors/vim/vim.py", line 111, in vim_BufWritePost self.svc.boss.cmd('buffer', 'current_file_saved') File "/home/ali/working/pida-main/pida/core/boss.py", line 142, in cmd return self.get_service(servicename).cmd(commandname, kw) File "/home/ali/working/pida-main/pida/core/service.py", line 140, in cmd return self.commands(commandname, kw) File "/home/ali/working/pida-main/pida/core/commands.py", line 19, in __call__ val = cmd(kw) File "/home/ali/working/pida-main/pida/services/buffer/buffer.py", line 274, in current_file_saved self.svc.file_saved() File "/home/ali/working/pida-main/pida/services/buffer/buffer.py", line 504, in file_saved self.emit('document-saved', document=self._current) File "/home/ali/working/pida-main/pida/core/service.py", line 144, in emit self.events.emit(name, kw) File "/home/ali/working/pida-main/pida/core/events.py", line 19, in emit callback(kw) File "/home/ali/working/pida-main/pida/services/language/language.py", line 548, in on_document_changed self.svc.on_buffer_changed(document) File "/home/ali/working/pida-main/pida/services/language/language.py", line 823, in on_buffer_changed self._get_feature(document, 'outliner', '_lng_outliner')) File "/home/ali/working/pida-main/pida/services/language/gui.py", line 509, in update_filterview (self._last_outliner and self._last_outliner.name != outliner.name)): AttributeError: 'NoneType' object has no attribute 'name'

}}}

Comments (0)

  1. Log in to comment