Error when doing a partial commit on windows

Bug #802498 reported by Manuel de la Peña
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

The following exception occurs when performin the commit of a partial file.

2011-06-27 12:11:02,351 - ubuntuone.SyncDaemon.sync - ERROR - T:SERVER:F cfc20b01-2236-4b24-97dc-d9069659f552 ['root'::'fd12536b-ef0c-448d-9f93-c9f84ccd799e'] 'u'Ubuntu One\\Music\\The Kooks\\Live At Ancienne Belgique\\01. Live At Ancienne Belgique.mp3'' | Executing ACTION_FUNC 'commit_file' gave an exception: IOError(2, 'No such file or directory')
Traceback (most recent call last):
  File "C:\Users\Mandel\Documents\ubuntuone-client\trunk\ubuntuone\syncdaemon\fsm\fsm.py", line 137, in on_event
    af(event_name, parameters, *args)
  File "C:\Users\Mandel\Documents\ubuntuone-client\trunk\ubuntuone\syncdaemon\sync.py", line 514, in commit_file
    self.m.fs.commit_partial(key['node_id'], key['share_id'], hash)
  File "C:\Users\Mandel\Documents\ubuntuone-client\trunk\ubuntuone\syncdaemon\filesystem_manager.py", line 1136, in commit_partial
    shutil.move(partial_path, path)
  File "C:\Python27\lib\shutil.py", line 292, in move
    copy2(src, real_dst)
  File "C:\Python27\lib\shutil.py", line 127, in copy2
    copyfile(src, dst)
  File "C:\Python27\lib\shutil.py", line 82, in copyfile
    with open(dst, 'wb') as fdst:
IOError: [Errno 2] No such file or directory: u'\\\\?\\C:\\Users\\Mandel\\Ubuntu One\\Music\\The Kooks\\Live At Ancienne Belgique\\01. Live At Ancienne Belgique.mp3'

Related branches

Changed in ubuntuone-client:
status: In Progress → Triaged
Changed in ubuntuone-client:
importance: Critical → High
Revision history for this message
Natalia Bidart (nataliabidart) wrote :

This is now happening to me. Trace:

2011-07-29 11:55:32,226 - ubuntuone.SyncDaemon.MuteFilter - DEBUG - Adding: FS_FILE_CLOSE_WRITE {'path': 'C:\\Users\\Test\\Ubuntu One\\fideos: dos?.png'}
2011-07-29 11:55:32,234 - ubuntuone.SyncDaemon.sync - ERROR - T:SERVER:F 4a2f11cc-b220-4af0-925e-8651b6ac1351 ['root'::'1899b1c8-4db6-434a-a77e-7923919d42f4'] ''Ubuntu One\\fideos: dos?.png'' | Executing ACTION_FUNC 'commit_file' gave an exception: IOError(2, 'No such file or directory')
Traceback (most recent call last):
  File "E:\u1\client\xdg-return-bytes\ubuntuone\syncdaemon\fsm\fsm.py", line 137, in on_event
    af(event_name, parameters, *args)
  File "E:\u1\client\xdg-return-bytes\ubuntuone\syncdaemon\sync.py", line 514, in commit_file
    self.m.fs.commit_partial(key['node_id'], key['share_id'], hash)
  File "E:\u1\client\xdg-return-bytes\ubuntuone\syncdaemon\filesystem_manager.py", line 1138, in commit_partial
    shutil.move(partial_path, path)
  File "C:\Python27\lib\shutil.py", line 298, in move
    copy2(src, real_dst)
  File "C:\Python27\lib\shutil.py", line 127, in copy2
    copyfile(src, dst)
  File "C:\Python27\lib\shutil.py", line 81, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: 'C:\\Users\\Test\\AppData\\Local\\xdg\\cache\\ubuntuone\\partials\\4a2f11cc-b220-4af0-925e-8651b6ac1351.u1partial.fideos: dos?.png'

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.2
tags: added: u1-windows
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.