Picard cannot rename / save files

Bug #314706 reported by tdn
2
Affects Status Importance Assigned to Milestone
picard (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Sometimes Picard cannot save/rename files. When press Ctrl+S Picard says:

E: 139678084437728 13:46:29 Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/picard/util/thread.py", line 61, in run
    result = func()
  File "/var/lib/python-support/python2.5/picard/file.py", line 149, in _save_and_rename
    new_filename = self._rename(old_filename, metadata, settings)
  File "/var/lib/python-support/python2.5/picard/file.py", line 240, in _rename
    os.makedirs(new_dirname)
  File "/usr/lib/python2.5/os.py", line 171, in makedirs
    mkdir(name, mode)
OSError: [Errno 2] No such file or directory: ''

E: 139678084437728 13:46:29 Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/picard/util/thread.py", line 61, in run
    result = func()
  File "/var/lib/python-support/python2.5/picard/file.py", line 149, in _save_and_rename
    new_filename = self._rename(old_filename, metadata, settings)
  File "/var/lib/python-support/python2.5/picard/file.py", line 240, in _rename
    os.makedirs(new_dirname)
  File "/usr/lib/python2.5/os.py", line 171, in makedirs
    mkdir(name, mode)
OSError: [Errno 2] No such file or directory: ''

E: 139678084437728 13:46:29 Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/picard/util/thread.py", line 61, in run
    result = func()
  File "/var/lib/python-support/python2.5/picard/file.py", line 149, in _save_and_rename
    new_filename = self._rename(old_filename, metadata, settings)
  File "/var/lib/python-support/python2.5/picard/file.py", line 240, in _rename
    os.makedirs(new_dirname)
  File "/usr/lib/python2.5/os.py", line 171, in makedirs
    mkdir(name, mode)
OSError: [Errno 2] No such file or directory: ''

E: 139678084437728 13:46:29 Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/picard/util/thread.py", line 61, in run
    result = func()
  File "/var/lib/python-support/python2.5/picard/file.py", line 149, in _save_and_rename
    new_filename = self._rename(old_filename, metadata, settings)
  File "/var/lib/python-support/python2.5/picard/file.py", line 240, in _rename
    os.makedirs(new_dirname)
  File "/usr/lib/python2.5/os.py", line 171, in makedirs
    mkdir(name, mode)
OSError: [Errno 2] No such file or directory: ''

I have not yet found a pattern. I have checked permissions on the files, that is not the problem.
First, I thought it might be because the files had spaces int he file names, but it turned out that it was not the problem.

Revision history for this message
Charlie_Smotherman (cjsmo) wrote :

this has been corrected in 0.16-1. Setting to fixed released

Changed in picard (Ubuntu):
status: New → 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.