Hello,

I had a similar error (bug 757587) related to smb:/// , i'll write some
hints do diagnose "TypeError: could not parse URI".

If you encounter an error like "TypeError: could not parse URI" and more
specifically when it's related to "set_widget_initial_values" for the
"selected-folder" like the traceback below...

>  File "/usr/bin/soundconverter", line 1765, in set_widget_initial_values
>    uri = filename_to_uri(self.get_string('selected-folder'))
>  File "/usr/bin/soundconverter", line 358, in filename_to_uri
>    filename = str(gnomevfs.URI(filename))
> TypeError: could not parse URI

The self.get_string("selected-folder") above is meant to retrieve the
destination directory. You can fetch the location using this command:
  gconftool --get /apps/SoundConverter/selected-folder

The error "TypeError: could not parse URI" means that gnomevfs can't
handle that "URI" (i.e file location).
  python -c 'import gnomevfs ; print gnomevfs.URI("file:///tmp")'
should work (i.e print "file:///tmp")
  python -c 'import gnomevfs ; print gnomevfs.URI("b0rken:///tmp")'
should fail (i.e print "TypeError: could not parse URI")

So to further diagnose your problem, you should run the python command
above with the URI retrieved by gconftool above !

Hope this helps,

Regards,

Franklin


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to