Zim

Fwd: [abrt] Zim-0.60-1.fc18: notebook.py:1178:cleanup_pathname:PageNameError: Invalid page name "-Hak:a1d42d710ec0478085b1bd967ef6a8e2"

Bug #1212509 reported by Robin Lee
This bug report is a duplicate of:  Bug #1192243: Buggy auto link recognition. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
New
Undecided
Unassigned

Bug Description

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

This issue is reproducible just following the instruction under "Description of problem"

Description of problem:
String -Hak:a1d42d710ec0478085b1bd967ef6a8e2 was automatically highlighted as being a URL. Right-clicking on this string didn't show expected "Remove link" menu item, but instead generated this ABRT event.

Version-Release number of selected component:
Zim-0.60-1.fc18

Additional info:
reporter: libreport-2.1.5
cmdline: /usr/bin/python /usr/bin/zim --ipc-server-main /tmp/zim-alex/zim-server-socket 30
executable: /usr/bin/zim
kernel: 3.9.5-201.fc18.x86_64
runlevel: N 5
uid: 1000

Truncated backtrace:
notebook.py:1178:cleanup_pathname:PageNameError: Invalid page name "-Hak:a1d42d710ec0478085b1bd967ef6a8e2"

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 1178, in cleanup_pathname
    raise PageNameError, orig
PageNameError: Invalid page name "-Hak:a1d42d710ec0478085b1bd967ef6a8e2"

The given page name is not valid.

Local variables in innermost frame:
purge: False
name: u'-Hak:a1d42d710ec0478085b1bd967ef6a8e2'
parts: [u'-Hak', u'a1d42d710ec0478085b1bd967ef6a8e2']
char: '\n'
part: u'-Hak'
orig: u'-Hak:a1d42d710ec0478085b1bd967ef6a8e2'

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.