ValueError on dbus_interface when publishing a non uploaded file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Client |
Won't Fix
|
Undecided
|
Guillermo Gonzalez |
Bug Description
I added a file to Ubuntu One named "ugly?.png" and I tried to publish it with:
nessita@dali:~$ mv Desktop/ugly\?.png Ubuntu\ One/
nessita@dali:~$ u1sdtool --publish-
I got the following trace:
Oops, an error ocurred:
Traceback (most recent call last):
File "/usr/lib/
_inlineCall
File "/usr/lib/
deferred.
File "/usr/lib/
self.
File "/usr/lib/
self.
--- <exception caught here> ---
File "/usr/lib/
self.result = callback(
File "/usr/bin/
d.addErrbac
File "/usr/lib/
raise error.value
dbus.exceptions
File "/usr/lib/
retval = candidate_
File "/usr/lib/
node_id = uuid.UUID(node_id)
File "/usr/lib/
raise ValueError('badly formed hexadecimal UUID string')
ValueError: badly formed hexadecimal UUID string
The file wasn't uploaded yet.
tags: | added: chicharra chicharra-natty foundations+ |
Changed in ubuntuone-client: | |
assignee: | nobody → Guillermo Gonzalez (verterok) |
status: | New → Fix Committed |
tags: | added: u1-natty-beta |
Changed in ubuntuone-client: | |
status: | Fix Committed → Fix Released |
Changed in ubuntuone-client: | |
status: | New → Won't Fix |
This happens when file is not uploaded yet. The fastest way to simulate this is to do the following:
$ u1sdtool --disconnect
$ touch ~/Ubuntu\ One/bad-file
$ u1sdtool --publish ~/Ubuntu\ One/bad-file
Current natty+nightlies.