Login Status


ShareSource Site » Projects » pondus » pondusBug Tracker

Project: Pondus [Bug Tracker]

(*) Summary   [^] Files   [*] Lists  
Actions » View tickets | Report a bug

Bug #276 [CLOSED]

Reason: Fixed

Vital Bug Details
Summery: Pondus fails to create user configuration directory upon first run
  Severity: Critical
Status: Priority: Urgent
Assigned to: Eike Percent Complete: 100%
Bug Reporter
Reported by: Anonymous ( on Sunday, 07 December 2008, 12:21PM (07/12/2008) )
Bug Details
Pondus 0.5.2 creates a lock file in ~/.pondus/ when started, this is all good and well, but if the ~/.pondus/ directory does not exist pondus will fail with the following traceback:

"Traceback (most recent call last):
File "/usr/bin/pondus", line 24, in <module>
initialize.initialize()
File "/usr/lib/python2.5/site-packages/pondus/core/initialize.py", line 98, in initialize
parameters.filelock = FileLock()
File "/usr/lib/python2.5/site-packages/pondus/core/filelock.py", line 36, in __init__
self.first_lock()
File "/usr/lib/python2.5/site-packages/pondus/core/filelock.py", line 42, in first_lock
self.lock()
File "/usr/lib/python2.5/site-packages/pondus/core/filelock.py", line 56, in lock
lockfile = open(self.lockfilename, 'w')
IOError: [Errno 2] No such file or directory: '/home/foolish/.pondus/user_data.xml.lck'
"

Manually creating ~/.pondus solves this, so suggested solution is for the pondus executable to check if the user configuration directory exists, and if not, create it.

(NOTE: Seems this web interface strips whitespace from bug reports, that sucks)
View History »

Comments

Comment by: Eike | Posted: Tuesday, 09 December 2008, 06:10PM (09/12/2008)
Thanks for reporting this. The crash is fixed in the stable repository and will be released in the next few days!


Want to comment?

Please login to ShareSource.