Fwd: [abrt] Zim-0.56-3.fc17: fs.py:539:_parse_uri:AssertionError: Can not handle non-local file uris
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
https:/
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)
Expected:
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:
Zim-0.56-3.fc17
Additional info:
libreport version: 2.0.16
abrt_version: 2.0.16
cmdline: /usr/bin/python /usr/bin/zim
kernel: 3.6.2-4.fc17.x86_64
backtrace:
:fs.py:
:
:Traceback (most recent call last):
: File "/usr/lib/
: file = self.ui.
: File "/usr/lib/
: return File(filename)
: File "/usr/lib/
: FilePath.
: File "/usr/lib/
: path = self._parse_
: File "/usr/lib/
: elif uri.startswith(
:AssertionError: Can not handle non-local file uris
:
:Local variables in innermost frame:
:uri: u'file:
Behavior is indeed a bug. But be aware that file uris need to start either
with "file://localhost" or "file:///" to exist on the local file system at
all.
On Mon, Oct 29, 2012 at 5:43 AM, Robin Lee <email address hidden> wrote:
> Public bug reported: /bugzilla. redhat. com/show_ bug.cgi? id=870138 539:_parse_ uri:AssertionEr ror: Can not handle non-local file uris python2. 7/site- packages/ zim/gui/ pageview. py", line 5039, notebook. resolve_ file(file, self.page) python2. 7/site- packages/ zim/notebook. py", line 1810, in python2. 7/site- packages/ zim/fs. py", line 1232, in __init_ _(self, path) python2. 7/site- packages/ zim/fs. py", line 511, in __init__ uri(path) python2. 7/site- packages/ zim/fs. py", line 539, in 'file:/ /'): assert False, 'Can not handle //path/ to/file' /bugs.launchpad .net/bugs/ 1072551 _parse_ uri:AssertionEr ror: Can /bugs.launchpad .net/zim/ +bug/1072551/ +subscriptions
>
> https:/
>
> 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)
>
> Expected:
> 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:
> Zim-0.56-3.fc17
>
> Additional info:
> libreport version: 2.0.16
> abrt_version: 2.0.16
> cmdline: /usr/bin/python /usr/bin/zim
> kernel: 3.6.2-4.fc17.x86_64
>
> backtrace:
> :fs.py:
> :
> :Traceback (most recent call last):
> : File "/usr/lib/
> in do_populate_popup
> : file = self.ui.
> : File "/usr/lib/
> resolve_file
> : return File(filename)
> : File "/usr/lib/
> __init__
> : FilePath.
> : File "/usr/lib/
> : path = self._parse_
> : File "/usr/lib/
> _parse_uri
> : elif uri.startswith(
> non-local file uris'
> :AssertionError: Can not handle non-local file uris
> :
> :Local variables in innermost frame:
> :uri: u'file:
>
> ** Affects: zim
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to Zim.
> https:/
>
> Title:
> Fwd: [abrt] Zim-0.56-3.fc17: fs.py:539:
> not handle non-local file uris
>
> To manage notifications about this bug go to:
> https:/
>