Windows: WindowsError on volume_manager (\\?\ is leaked from os_helper)

Bug #804047 reported by Natalia Bidart
This bug report is a duplicate of:  Bug #802628: \\?\ prefix is leaked from os_helper. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Triaged
High
Natalia Bidart

Bug Description

2011-06-30 18:56:35,049 - ubuntuone.SyncDaemon.sync - DEBUG - -:-:- - ['-'::'-'] 'u'\\\\?\\C:\\
Users\\Test\\Ubuntu One\\test\\New Bitmap Image.bmp'' | EVENT: SV_FILE_NEW:{} with ARGS:('', '4
b2b290b-f08b-402f-98f8-a203a3740dbb', '5451df96-572e-4362-b300-d1ebe5c1db9a', 'New Bitmap Image
.bmp')
2011-06-30 18:56:35,052 - ubuntuone.SyncDaemon.sync - INFO - -:-:- - ['-'::'-'] 'u'\\\\?\\C:\\U
sers\\Test\\Ubuntu One\\test\\New Bitmap Image.bmp'' | Calling new_file (got SV_FILE_NEW:{})
2011-06-30 18:56:35,053 - ubuntuone.SyncDaemon.VM - ERROR - Got exception when trying to stat path \\?\C:\Users\Test\Ubuntu One\test\New Bitmap Image.bmp
Traceback (most recent call last):
  File "C:\Users\Test\src\ubuntuone-client\ubuntuone\platform\windows\os_helper.py", line 559, in stat_path
    return os.lstat(path)
WindowsError: [Error 2] The system cannot find the file specified: u'\\\\?\\C:\\Users\\Test\\Ubuntu One\\test\\New Bitmap Image.bmp'
2011-06-30 18:56:35,059 - ubuntuone.SyncDaemon.fsm - DEBUG - set_node_id: path=u'\\\\?\\C:\\Users\\Test\\Ubuntu One\\test\\New Bitmap Image.bmp' mdid='5ff17583-c965-4f6f-8af5-4e3dc9c359c1' share_id='' node_id='4b2b290b-f08b-402f-98f8-a203a3740dbb'
2011-06-30 18:56:35,062 - ubuntuone.SyncDaemon.fsm - DEBUG - create: path=u'\\\\?\\C:\\Users\\Test\\Ubuntu One\\test\\New Bitmap Image.bmp' mdid='5ff17583-c965-4f6f-8af5-4e3dc9c359c1' share_id='' node_id=None is_dir=False
2011-06-30 18:56:35,066 - ubuntuone.SyncDaemon.fsm - DEBUG - set mdid='5ff17583-c965-4f6f-8af5-4e3dc9c359c1': {'local_hash': '', 'server_hash': ''}
2011-06-30 18:56:35,069 - ubuntuone.SyncDaemon.sync - DEBUG - T:NONE:F 5ff17583-c965-4f6f-8af5-4e3dc9c359c1 ['root'::'4b2b290b-f08b-402f-98f8-a203a3740dbb'] 'u'Ubuntu One\\test\\New Bitmap Image.bmp'' | Called new_file
2011-06-30 18:56:35,071 - ubuntuone.SyncDaemon.EQ - DEBUG - push_event: SV_FILE_NEW, kwargs: {'parent_id': '5451df96-572e-4362-b300-d1ebe5c1db9a', 'node_id': '4b2b290b-f08b-402f-98f8-a203a3740dbb', 'name': 'New Bitmap Image.bmp', 'volume_id': ''}
2011-06-30 18:56:35,073 - ubuntuone.SyncDaemon.sync - DEBUG - T:NONE:F 5ff17583-c965-4f6f-8af5-4e3dc9c359c1 ['root'::'4b2b290b-f08b-402f-98f8-a203a3740dbb'] 'u'Ubuntu One\\test\\New Bitmap Image.bmp'' | EVENT: SV_HASH_NEW:{'hash_eq_local_hash': 'T', 'hash_eq_server_hash': 'T'} with ARGS:('',)
2011-06-30 18:56:35,076 - ubuntuone.SyncDaemon.sync - INFO - T:NONE:F 5ff17583-c965-4f6f-8af5-4e3dc9c359c1 ['root'::'4b2b290b-f08b-402f-98f8-a203a3740dbb'] 'u'Ubuntu One\\test\\New Bitmap Image.bmp'' | Calling nothing (got SV_HASH_NEW:{'hash_eq_local_hash': 'T', 'hash_eq_server_hash': 'T'})
2011-06-30 18:56:35,081 - ubuntuone.SyncDaemon.sync - DEBUG - T:NONE:F 5ff17583-c965-4f6f-8af5-4e3dc9c359c1 ['root'::'4b2b290b-f08b-402f-98f8-a203a3740dbb'] 'u'Ubuntu One\\test\\New Bitmap Image.bmp'' | Called nothing

Revision history for this message
Natalia Bidart (nataliabidart) wrote :

Got the same traceback for:

2011-06-30 18:56:35,244 - ubuntuone.SyncDaemon.sync - DEBUG - -:-:- - ['-'::'-'] 'u'\\\\?\\C:\\
Users\\Test\\Ubuntu One\\yadda\\ugly?.png'' | EVENT: SV_FILE_NEW:{} with ARGS:('', '8648af51-8a
96-4dcc-9985-435a76ce3f59', 'ca3a1cec-09d2-485e-9685-1a5180bd6441', 'ugly?.png')
2011-06-30 18:56:35,244 - ubuntuone.SyncDaemon.sync - INFO - -:-:- - ['-'::'-'] 'u'\\\\?\\C:\\U
sers\\Test\\Ubuntu One\\yadda\\ugly?.png'' | Calling new_file (got SV_FILE_NEW:{})
2011-06-30 18:56:35,244 - ubuntuone.SyncDaemon.VM - ERROR - Got exception when trying to stat path \\?\C:\Users\Test\Ubuntu One\yadda\ugly?.png
Traceback (most recent call last):
  File "C:\Users\Test\src\ubuntuone-client\ubuntuone\platform\windows\os_helper.py", line 559, in stat_path
    return os.lstat(path)
WindowsError: [Error 123] The filename, directory name, or volume label syntax is incorrect: u'\\\\?\\C:\\Users\\Test\\Ubuntu One\\yadda\\ugly?.png'

tags: added: u1-zomg-windows
Changed in ubuntuone-client:
assignee: nobody → Manuel de la Pena (mandel)
status: New → Incomplete
importance: Undecided → High
status: Incomplete → Triaged
tags: added: u1-unicode-windows
Changed in ubuntuone-client:
status: Triaged → In Progress
summary: - Windows: WindowsError on volume_manager
+ Windows: WindowsError on volume_manager (\\?\ is leaked from os_helper)
Changed in ubuntuone-client:
assignee: Manuel de la Pena (mandel) → Natalia Bidart (nataliabidart)
status: In Progress → Triaged
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.