Red Hat Bugzilla – Bug 870138
[abrt] Zim-0.56-3.fc17: fs.py:539:_parse_uri:AssertionError: Can not handle non-local file uris
Last modified: 2012-12-25 23:50:54 EST
Description of problem:
- Write the following: file://path/to/file (I really had this, but I guess it will work with any path that does not exist on the system)
- Zim will automatically create a link a file
- Click on that link (with right click the error occurs, too)
left click: error message "The file could not be found" or so
right click: context menu with at least the option the remove the link
Version-Release number of selected component:
libreport version: 2.0.16
cmdline: /usr/bin/python /usr/bin/zim
:fs.py:539:_parse_uri:AssertionError: Can not handle non-local file uris
:Traceback (most recent call last):
: File "/usr/lib/python2.7/site-packages/zim/gui/pageview.py", line 5039, in do_populate_popup
: file = self.ui.notebook.resolve_file(file, self.page)
: File "/usr/lib/python2.7/site-packages/zim/notebook.py", line 1810, in resolve_file
: return File(filename)
: File "/usr/lib/python2.7/site-packages/zim/fs.py", line 1232, in __init__
: FilePath.__init__(self, path)
: File "/usr/lib/python2.7/site-packages/zim/fs.py", line 511, in __init__
: path = self._parse_uri(path)
: File "/usr/lib/python2.7/site-packages/zim/fs.py", line 539, in _parse_uri
: elif uri.startswith('file://'): assert False, 'Can not handle non-local file uris'
:AssertionError: Can not handle non-local file uris
:Local variables in innermost frame:
Created attachment 633451 [details]
Created attachment 633452 [details]
Created attachment 633453 [details]
Zim-0.58-1.fc17 has been submitted as an update for Fedora 17.
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing Zim-0.58-1.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Zim-0.58-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.