Crash when saving: cannot find save.data

Bug #789737 reported by Steven Sproat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Whyteboard
Fix Committed
High
Steven Sproat

Bug Description

Whyteboard 0.41.2
Operating System: Windows XP (build 2600, Service Pack 3)
System Lanauge: English
Screen Resolution: 1280x1024
Python Version: 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)]
wxPython Version: 2.8.10.1 (msw-unicode)
wxPython Info: (__WXMSW__, wxMSW, unicode, wx-assertions-on, SWIG-1.3.29)
Python Encoding: Default=utf-8 File=mbcs
wxPython Encoding: utf-8
System Architecture: 32bit x86
Frozen: False

  File "E:\Downloads\whyteboard\whyteboard\gui\frame.py", line 251, in on_save
    self.on_save_as()
  File "E:\Downloads\whyteboard\whyteboard\gui\frame.py", line 275, in on_save_as
    self.on_save()
  File "E:\Downloads\whyteboard\whyteboard\gui\frame.py", line 253, in on_save
    self.util.save_file()
  File "E:\Downloads\whyteboard\whyteboard\misc\utility.py", line 150, in save_file
    self.write_save_file(save, version)
  File "E:\Downloads\whyteboard\whyteboard\misc\utility.py", line 180, in write_save_file
    _zip.write("save.data")
  File "C:\Python26\lib\zipfile.py", line 1004, in write
    st = os.stat(filename)
WindowsError: [Error 2] The system cannot find the file specified: 'save.data'

Tags: crash save
Steven Sproat (sproaty)
Changed in whyteboard:
status: Confirmed → In Progress
Revision history for this message
Steven Sproat (sproaty) wrote :

fixed by writing save.data to application data directory, never program install path.

Changed in whyteboard:
status: In Progress → Fix Committed
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.