Can not add folders in WinXP
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Client |
Invalid
|
High
|
Diego Sarmentero |
Bug Description
System info:
Windows XP Professional, SP3, 32Bit, English
Might have relevance:
During installation of Windows XP, I have changed USERPROFILE locations to D:\Arkiv\User, instead of the usual C:\Documents and settings\User. This, to keep user files from filling up the OS disk (C:).
System Variable "HOME" = "D:\Home"
How to reproduce error:
1. Start Ubunto One Client
2. Press button "Add a folder from this computer"
3. Select any folder on computer for sync
4. Produces an error message:
-------
The chosen directory "D:\Home\Sync" is not valid.
Please choose a folder inside your "d:\Home" directory, and not overlapping with any existing cloud folder.
-------
Actual dialog: http://
Note: This happens regardless if I choose a folder inside or outside my d:\home dir. I also tried to put a new folder inside my actual USER folder (i.e. D:\Arkiv\
Related bugs might be:
https:/
https:/
Bug 876366 combined with what I have seen on my computer leads me to believe setting a custom "HOME" system variable (for emacs, etc.) might confuse the Ubuntu One client. Might be in combination with having a custom USERPROFILE location. I can unfortunately not test this as this is the only Windows box I have available right now.
Changed in ubuntuone-client: | |
assignee: | nobody → Diego Sarmentero (diegosarmentero) |
status: | New → In Progress |
Changed in ubuntuone-client: | |
importance: | Undecided → High |
Changed in ubuntuone-client: | |
status: | Incomplete → In Progress |
Thanks for the detailed bug report!
The problem seems to be that setting HOME confuses python's os.expanduser function, making it believe your home is outside %USERPROFILE% which is something that should not happen ;-)