On localized windows, XDG gives the wrong folder names

Bug #854328 reported by Roberto Alsina
22
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\<user>\Configurações locais\Dados de aplicativos\xdg\cache\sso\sso-client.log

instead

C:\Documents and Settings\<user>\Configurações locais\Dados de aplicativos\xdg\cache\sso\sso-client.log

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

Revision history for this message
Anders Honkamaa (anders-expressit) wrote :

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
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\\shares' as shares root dir
2011-09-22 11:32:58,292 - ubuntuone.SyncDaemon.tritcask - INFO - Initializing Tritcask on: C:\Documents and Settings\anders.honkamaa\Lokala inställningar\Application Data\xdg\ubuntuone\syncdaemon\tritcask

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.

Revision history for this message
Roberto Alsina (ralsina) wrote :

Thanks for the help Anders!

There will be a release later today which includes a fix for this problem.

Revision history for this message
Roberto Alsina (ralsina) wrote :

And of course, thanks to Jose who reported it :-)

Somehow I missed posting the reply on the bug when we started working on it. Sorry!

Changed in ubuntuone-client:
status: Triaged → In Progress
tags: added: u1-windows
Revision history for this message
Leo Arias (elopio) wrote :

I tested it on a brazilian XP and the logs are going to the right place.
But I got an encoding error when I got to the "syncing your computer with the cloud" step of the wizard.
Here is my log: http://paste.ubuntu.com/695246/

I mentioned this to alecu, but I don't know if he could take a look at the problem.

Revision history for this message
Alejandro J. Cura (alecu) wrote :

elopio, can you please try again to see if this bug was fixed?
gatox has done quite a few fixes in our unicode support, so it will be very likely fixed.

Changed in ubuntuone-client:
assignee: Alejandro J. Cura (alecu) → Diego Sarmentero (diegosarmentero)
Revision history for this message
Leo Arias (elopio) wrote :

I'm still getting an error on the portuguese windows XP. I opened bug #965400.

Revision history for this message
Alexandr (olexandr-dmitriev) wrote :

Hi!
I have windows 7 with the russian MUI. My username is written using cyrillic letters. Ubuntu One client 2.0.3, after installing it drops me an error:
UnicodeDecodeError
'ascii'
'C:\\Users\\\xcf\xf3\xf6\xe8\xea\xe8\\'
9
10
'ordinal not in range(128)'

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.