andreikop / enki

A text editor for programmers
http://enki-editor.org
GNU General Public License v2.0
161 stars 38 forks source link

Crash on exit #199

Closed bjones1 closed 10 years ago

bjones1 commented 10 years ago

Running on Ubuntu 12.04 LTS, from qutepart and enki master:

CRITICAL:root:Traceback (most recent call last): File "/usr/local/bin/enki", line 20, in sys.exit(enki.main.main()) File "/usr/local/lib/python2.7/dist-packages/enki/main.py", line 296, in main core.term() File "/usr/local/lib/python2.7/dist-packages/enki/core/core.py", line 162, in term self.actionManager.del() File "/usr/local/lib/python2.7/dist-packages/enki/core/actionmanager.py", line 75, in del_ 'Existing actions: ' + str(self._pathToAction.keys()) AssertionError: ActionManager: you have to delete all actions before destroying actions model. Existing actions: [u'mFile/mUndoClose/a:home:bjones:documentation:code_chat.py', u'mFile/mUndoClose/a:home:bjones:enki_all:enki:tests:test_core:test_filewatcher.py', u'mFile/mUndoClose/a:home:bjones:test.rst', u'mFile/mUndoClose/a:home:bjones:.hgrc', u'mFile/mUndoClose/a:home:bjones:test.txt', u'mFile/mUndoClose/a:home:bjones:enki_all:enki:tests:test_core:test_core.py', u'mFile/mUndoClose/a:home:bjones:enki_all:enki:tests:test_plugins:test_repl.py', u'mFile/mUndoClose/a:home:bjones:enki_all:enki:tests:test_widgets:test_termwidget.py', u'mFile/mUndoClose/a:home:bjones:test.md']

bjones1 commented 10 years ago

This maybe up update-related; I just want from an older github version to a newer, so perhaps there's just some old files from the last invocation. It only produced this error once; all other times, it runs without problem.

andreikop commented 10 years ago

Hmm. Should not be update-related. Such bug may happen if some exception happened earlier during termination. Closing, because we are unlikely to reproduce it.