Crashes on startup: "Improper shutdown detected..."

Bug #1204973 reported by t0p
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kabikaboo
New
Undecided
Unassigned

Bug Description

When I try to start Kabikaboo via GUI nothing happens. When I try to start via command line I get an error, "Improper shutdown detected..."; an example:

t0p@mars:~$ kabikaboo .kabikaboo/General.kaboo
Improper shutdown detected...
Traceback (most recent call last):
  File "/usr/share/kabikaboo/src/kabikaboo.py", line 3176, 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 1203, 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 assignmentif

If I try to run Kabikaboo with a non-existant file, the error is the same, eg

t0p@mars:~$ kabikaboo nosuchfile
Improper shutdown detected...
Traceback (most recent call last):
  File "/usr/share/kabikaboo/src/kabikaboo.py", line 3176, 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 1203, 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

I don't know the version number of Kabikaboo I'm using. It's the version that runs on Ubuntu 12.04

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.