v1.7 - Deleting LastFile with AutoOpen=true causes crash on startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kabikaboo |
Fix Committed
|
Critical
|
aidave | ||
kabikaboo (Debian) |
New
|
Undecided
|
Unassigned |
Bug Description
Maybe same error as #414550.
I'm getting an error message every time I try to run the program now. It worked fine the first time I installed it (used the setup.exe installer), but then I turned off my computer and went to bed, and when I started it up today I get an error message saying to check a logfile, which I did. Of course, I don't know what it's telling me. I installed the c++ package the readme file talks about, though I don' think that's it since it started fine the first time I installed it. Any ideas?
Here's what the logfile said:
Traceback (most recent call last):
File "kabikaboo.py", line 3183, in <module>
File "kabikaboo.py", line 64, in initializeinterface
File "kabikaboo.py", line 1250, in openfileonstartup
File "file.pyc", line 96, in open
File "file.pyc", line 105, in loadlastsaved
File "file.pyc", line 287, in loadfromfile_pickle
UnboundLocalError: local variable 'document' referenced before assignment
Related branches
Changed in kabikaboo: | |
assignee: | nobody → Cody Jackson (supertanker) |
Changed in kabikaboo: | |
status: | Confirmed → Fix Released |
Changed in kabikaboo: | |
status: | Fix Released → Fix Committed |
Changed in kabikaboo: | |
assignee: | Cody Jackson (supertanker) → aidave (aidave) |
Testing aidave's theory turned out to be correct: the problem is that Kabikaboo is attempting to auto-load a file that does not exist--e.g., a document was created in Kabikaboo, Kabikaboo was closed, and then the document was moved/deleted. When Kabikaboo starts again, it attempts to autoload.
Temporary fix is to set "autoopen" in C:\Documents and Settings\Your Name\.kabikaboo \settings. txt to False