kabikaboo team mailing list archive
-
kabikaboo team
-
Mailing list archive
-
Message #00163
[Bug 1344052] [NEW] Kabikaboo refuses to launch if previously closed file was moved
Public bug reported:
Kabikaboo refused to launch with the following error after moving the
previously closed file to another location, moving the file back solved
the issue!
currently im using the followin change to fix that
in /usr/share/kabikaboo/src/file.py: load_from_file_pickle()
add
document = None
to the beginning of the function
--error message--
Improper shutdown detected...
Traceback (most recent call last):
File "/usr/share/kabikaboo/src/kabikaboo.py", line 3179, in <module>
editor.initialize_interface()
File "/usr/share/kabikaboo/src/kabikaboo.py", line 65, in initialize_interface
self.open_file_on_startup()
File "/usr/share/kabikaboo/src/kabikaboo.py", line 1206, in open_file_on_startup
file_opened, opened_document = self.file.open(self.document)
File "/usr/share/kabikaboo/src/file.py", line 97, in open
return self.load_last_saved()
File "/usr/share/kabikaboo/src/file.py", line 106, in load_last_saved
return self.load_from_file_pickle(self.working_file)
File "/usr/share/kabikaboo/src/file.py", line 288, in load_from_file_pickle
return result, document
UnboundLocalError: local variable 'document' referenced before assignment
** Affects: kabikaboo
Importance: Undecided
Status: New
** Tags: startup
--
You received this bug notification because you are a member of Kabikaboo
Team, which is subscribed to Kabikaboo.
https://bugs.launchpad.net/bugs/1344052
Title:
Kabikaboo refuses to launch if previously closed file was moved
Status in Kabikaboo:
New
Bug description:
Kabikaboo refused to launch with the following error after moving the
previously closed file to another location, moving the file back
solved the issue!
currently im using the followin change to fix that
in /usr/share/kabikaboo/src/file.py: load_from_file_pickle()
add
document = None
to the beginning of the function
--error message--
Improper shutdown detected...
Traceback (most recent call last):
File "/usr/share/kabikaboo/src/kabikaboo.py", line 3179, in <module>
editor.initialize_interface()
File "/usr/share/kabikaboo/src/kabikaboo.py", line 65, in initialize_interface
self.open_file_on_startup()
File "/usr/share/kabikaboo/src/kabikaboo.py", line 1206, in open_file_on_startup
file_opened, opened_document = self.file.open(self.document)
File "/usr/share/kabikaboo/src/file.py", line 97, in open
return self.load_last_saved()
File "/usr/share/kabikaboo/src/file.py", line 106, in load_last_saved
return self.load_from_file_pickle(self.working_file)
File "/usr/share/kabikaboo/src/file.py", line 288, in load_from_file_pickle
return result, document
UnboundLocalError: local variable 'document' referenced before assignment
To manage notifications about this bug go to:
https://bugs.launchpad.net/kabikaboo/+bug/1344052/+subscriptions
Follow ups
References