Windows: renaming a files generates a KeyError in filesystem_manager
Bug #810781 reported by
Natalia Bidart
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Client |
Fix Released
|
High
|
Manuel de la Peña |
Bug Description
While testing this branch lp:~mandel/ubuntuone-client/pyinotify-non-unicode/, I tried to move a file named
~/Ubuntu One/logs.7z
to
~/Ubuntu One/logs-
and syncdaemon crashed internally. See traceback in the next comment.
Changed in ubuntuone-client: | |
milestone: | none → 1.7.2 |
tags: | added: u1-windows |
Changed in ubuntuone-client: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Full trace is http:// pastebin. ubuntu. com/644409/
Specific error is:
2011-07-14 22:20:07,326 - ubuntuone. SyncDaemon. EQ - DEBUG - push_event: FS_FILE_ \C:\\Users\ \Test\\ Ubuntu One\\log.7z', 'path_ \C:\\Users\ \Test\\ Ubuntu One\\log- 2011-07- 12.7z'} SyncDaemon. sync - ERROR - unhandled exceptio Test\src\ unicodes\ ubuntuone\ syncdaemon\ sync.py" , line 305, in o Test\src\ unicodes\ ubuntuone\ syncdaemon\ fsm\fsm. py", line 110, i Test\src\ unicodes\ ubuntuone\ syncdaemon\ sync.py" , line 223, in l Test\src\ unicodes\ ubuntuone\ syncdaemon\ sync.py" , line 253, in l Test\src\ unicodes\ ubuntuone\ syncdaemon\ sync.py" , line 98, in __ Test\src\ unicodes\ ubuntuone\ syncdaemon\ sync.py" , line 77, in ge Test\src\ unicodes\ ubuntuone\ syncdaemon\ sync.py" , line 60, in ge _idx_path[ self.keys[ "path"] ] \C:\\Users\ \Test\\ Ubuntu One\\log.7z'
MOVE, kwargs: {'path_from': '\\\\?\
to': '\\\\?\
2011-07-14 22:20:07,329 - ubuntuone.
n
Traceback (most recent call last):
File "C:\Users\
n_event
**kwargs)
File "C:\Users\
n on_event
event_name, parameters, args))
File "C:\Users\
evel_log
self.log(lvl, message, *args, **kwargs)
File "C:\Users\
og
"relpath of: %r", self.key['path'])
File "C:\Users\
getitem__
return self.get(key)
File "C:\Users\
t
mdid = self.get_mdid()
File "C:\Users\
t_mdid
mdid = self.fs.
KeyError: '\\\\?\