On localized windows, XDG gives the wrong folder names
Bug #854328 reported by
Roberto Alsina
This bug report is a duplicate of:
Bug #966513: Unicode Issue on Syncing your computer with the cloud.
Edit
Remove
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Client |
In Progress
|
High
|
Diego Sarmentero |
Bug Description
Reported by joseantoniorocha in bug #854216
In Windows XP, the log is write to:
C:\Documents and Settings\
instead
C:\Documents and Settings\
Note the bad handling of accented characters. This create another folder with wrong name.
Maybe this new bug is not related with reported error.
Related branches
lp://staging/~alecu/ubuntuone-client/unicode-usernames
- Manuel de la Peña (community): Approve
- Roberto Alsina (community): Approve
-
Diff: 403 lines (+115/-25)12 files modifiedtests/platform/test_filesystem_notifications.py (+13/-1)
tests/syncdaemon/test_config.py (+24/-1)
tests/syncdaemon/test_vm.py (+35/-0)
ubuntuone/platform/linux/__init__.py (+1/-0)
ubuntuone/platform/linux/os_helper.py (+5/-0)
ubuntuone/platform/windows/__init__.py (+1/-0)
ubuntuone/platform/windows/os_helper.py (+6/-6)
ubuntuone/platform/xdg_base_directory/__init__.py (+4/-1)
ubuntuone/syncdaemon/config.py (+18/-10)
ubuntuone/syncdaemon/filesystem_notifications.py (+2/-2)
ubuntuone/syncdaemon/main.py (+3/-2)
ubuntuone/syncdaemon/volume_manager.py (+3/-2)
Changed in ubuntuone-client: | |
status: | Triaged → In Progress |
tags: | added: u1-windows |
To post a comment you must log in.
I'm experiencing the same on a Swedish Windows XP and noted this in the log.
2011-09-22 11:32:58,292 - ubuntuone. SyncDaemon. Main - INFO - Using 'C:\\Documents and Settings\ \anders. honkamaa\ \Lokala inst\xc3\ xa4llningar\ \Application Data\\xdg\ \ubuntuone\ \syncdaemon' as data dir SyncDaemon. Main - INFO - Using 'C:\\Documents and Settings\ \anders. honkamaa\ \Lokala inst\xc3\ xa4llningar\ \Application Data\\xdg\ \ubuntuone\ \shares' as shares root dir SyncDaemon. tritcask - INFO - Initializing Tritcask on: C:\Documents and Settings\ anders. honkamaa\ Lokala inställningar\ Application Data\xdg\ ubuntuone\ syncdaemon\ tritcask
2011-09-22 11:32:58,292 - ubuntuone.
2011-09-22 11:32:58,292 - ubuntuone.
It seems to me that Ubuntu One internally encodes characters differently. The last one is the way it's supposed to look.
At installation everything is installed in the Folder with the wrong name.