An empty string for /apps/crebs/directories/slideshows in GConf prevents creation

Bug #604841 reported by Marc Stewart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Create Background Slideshow
Fix Released
High
Marc Stewart

Bug Description

If the directory name is deleted, CreBS is unable to save the slideshow.

Traceback (most recent call last):
  File "/usr/bin/../share/crebs/lib/crebs/gui.py", line 1213, in try_to_save
    self.save_slideshow()
  File "/usr/bin/../share/crebs/lib/crebs/gui.py", line 1332, in save_slideshow
    make_needed_dirs(self.output)
  File "/usr/bin/../share/crebs/lib/crebs/filesystem.py", line 32, in make_needed_dirs
    os.makedirs(s_dir)
  File "/usr/lib/python2.6/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 2] No such file or directory: ''

config.py should check for the empty string and replace it with the built-in default.

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