Windows: open_file returns a file object whose 'name' is not a utf8 byte sequence

Bug #845108 reported by Natalia Bidart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Won't Fix
Medium
Ubuntu One Client Engineering team

Bug Description

When calling open_file, we transform the path given as argument from a 'syncdaemon' path into a 'windows' path. We use that new path to call open(), and we return the result as is.

The problem is that the returned file object has its name set to the windows-valid path, and if that is used from outside the os_helper module, we'll get path assertions failing.

Changed in ubuntuone-client:
assignee: nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+)
tags: added: u1-zomg-windows
Changed in ubuntuone-client:
status: New → Triaged
importance: Undecided → Medium
tags: added: chicharra chicharra-oneiric
tags: added: u1-windows
Changed in ubuntuone-client:
status: Triaged → Won't Fix
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.