Zim

Fwd: [abrt] Zim: notebook.py:1171:cleanup_pathname:PageNameError: Invalid page name "tsd.nav.middleware.interface/branches/mascholz_refactor_image_layer"

Bug #1277127 reported by Robin Lee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Incomplete
Undecided
Unassigned

Bug Description

https://bugzilla.redhat.com/show_bug.cgi?id=1062208

Description of problem:
normal usage

Version-Release number of selected component:
Zim-0.60-2.fc20

Additional info:
reporter: libreport-2.1.12
cmdline: /usr/bin/python /usr/bin/zim --ipc-server-main /tmp/zim-mascholz/zim-server-socket 30
executable: /usr/bin/zim
kernel: 3.12.8-300.fc20.i686+PAE
runlevel: N 5
type: Python
uid: 1000

Truncated backtrace:
notebook.py:1171:cleanup_pathname:PageNameError: Invalid page name "tsd.nav.middleware.interface/branches/mascholz_refactor_image_layer"

The given page name is not valid.

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/zim/gui/pageview.py", line 5124, in do_populate_popup
    path = self.ui.notebook.resolve_path(link['href'], source=self.page)
  File "/usr/lib/python2.7/site-packages/zim/notebook.py", line 1051, in resolve_path
    name = self.cleanup_pathname(name)
  File "/usr/lib/python2.7/site-packages/zim/notebook.py", line 1171, in cleanup_pathname
    raise PageNameError, orig
PageNameError: Invalid page name "tsd.nav.middleware.interface/branches/mascholz_refactor_image_layer"

The given page name is not valid.

Local variables in innermost frame:
char: '/'
purge: False
name: u'tsd.nav.middleware.interface/branches/mascholz refactor image layer'
orig: u'tsd.nav.middleware.interface/branches/mascholz_refactor_image_layer'

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

The error is valid, but the question is how the pathname came in there in the first place.

Changed in zim:
status: New → Incomplete
Revision history for this message
Robin Lee (cheeselee) wrote :

Another occurrence on Fedora 22 with Zim 0.65:
https://bugzilla.redhat.com/show_bug.cgi?id=1313611

The text was originally copy from another program(Konsole for me). And I copy the text in Zim and paste again and then the call trace occurs.

But if I copy and paste it further another time, this call trace does not occur another time.

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.