← Back to team overview

kabikaboo team mailing list archive

[Bug 1204973] [NEW] Crashes on startup: "Improper shutdown detected..."

 

Public bug reported:

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

** Affects: kabikaboo
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kabikaboo
Team, which is subscribed to Kabikaboo.
https://bugs.launchpad.net/bugs/1204973

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

Status in Kabikaboo:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/kabikaboo/+bug/1204973/+subscriptions


Follow ups

References