Failing when trying to create ubuntuone_log_dir

Bug #881940 reported by Diego Sarmentero
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Fix Released
High
Diego Sarmentero

Bug Description

X:\>cd ubuntuone-client-unicode-issues

X:\ubuntuone-client-unicode-issues>set PYTHONPATH=..\ubuntu-sso-client;.

X:\ubuntuone-client-unicode-issues>python bin\ubuntuone-syncdaemon --debug

C:\Users\?????? ±and·\AppData\Local\xdg\cache\ubuntuone\log

Traceback (most recent call last):
  File "bin\ubuntuone-syncdaemon", line 39, in <module>
    from ubuntuone.platform import (
  File "X:\ubuntuone-client-unicode-issues\ubuntuone\platform\__init__.py", line
 13, in <module>
    from ubuntuone.platform import credentials
  File "X:\ubuntuone-client-unicode-issues\ubuntuone\platform\credentials\__init
__.py", line 38, in <module>
    from ubuntuone.platform.xdg_base_directory import ubuntuone_log_dir
  File "X:\ubuntuone-client-unicode-issues\ubuntuone\platform\xdg_base_directory
\__init__.py", line 31, in <module>
    os.makedirs(ubuntuone_log_dir)
  File "C:\Python27\lib\os.py", line 150, in makedirs
    makedirs(head, mode)
  File "C:\Python27\lib\os.py", line 150, in makedirs
    makedirs(head, mode)
  File "C:\Python27\lib\os.py", line 150, in makedirs
    makedirs(head, mode)
  File "C:\Python27\lib\os.py", line 150, in makedirs
    makedirs(head, mode)
  File "C:\Python27\lib\os.py", line 150, in makedirs
    makedirs(head, mode)
  File "C:\Python27\lib\os.py", line 150, in makedirs
    makedirs(head, mode)
  File "C:\Python27\lib\os.py", line 157, in makedirs
    mkdir(name, mode)
WindowsError: [Error 123] The filename, directory name, or volume label syntax i
s incorrect: 'C:\\Users\\?????? \xf1and\xfa'

X:\ubuntuone-client-unicode-issues>pause
Press any key to continue . . .

Related branches

Changed in ubuntuone-client:
assignee: nobody → Diego Sarmentero (diegosarmentero)
status: Confirmed → In Progress
Revision history for this message
Diego Sarmentero (diegosarmentero) wrote :

This bug is related to native_path function in ubuntu-sso-client, which return mbcs in windows and this encoding doesn't allow to use the W API version.

Changed in ubuntuone-client:
status: In Progress → Fix Committed
dobey (dobey)
Changed in ubuntuone-client:
milestone: none → 2.99.0
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.