WIndowsError when trying to create an existent dir

Bug #802670 reported by Natalia Bidart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Fix Released
High
Manuel de la Peña

Bug Description

Trace is:

C:\Users\Test\src\extra_os_helper_logging>python bin\ubuntuone-syncdaemon
Traceback (most recent call last):
  File "bin\ubuntuone-syncdaemon", line 190, in <module>
    main(sys.argv)
  File "bin\ubuntuone-syncdaemon", line 136, in main
    ignore_files=options.ignore)
  File "C:\Users\Test\src\extra_os_helper_logging\ubuntuone\syncdaemon\main.py",
 line 102, in __init__
    self.vm = volume_manager.VolumeManager(self)
  File "C:\Users\Test\src\extra_os_helper_logging\ubuntuone\syncdaemon\volume_ma
nager.py", line 388, in __init__
    md_upgrader.upgrade_metadata()
  File "C:\Users\Test\src\extra_os_helper_logging\ubuntuone\syncdaemon\volume_ma
nager.py", line 1424, in upgrade_metadata
    upgrade_method(self.md_version)
  File "C:\Users\Test\src\extra_os_helper_logging\ubuntuone\syncdaemon\volume_ma
nager.py", line 1727, in _upgrade_metadata_5
    os.rename(self._data_dir, bkp_dir)
WindowsError: [Error 183] Cannot create a file when that file already exists

Related branches

Changed in ubuntuone-client:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Manuel de la Pena (mandel)
tags: added: u1-zomg-windows
Changed in ubuntuone-client:
status: Triaged → In Progress
Changed in ubuntuone-client:
status: In Progress → Fix Committed
dobey (dobey)
Changed in ubuntuone-client:
milestone: none → 1.7.1
dobey (dobey)
Changed in ubuntuone-client:
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.