Zim

error: bogus escape: u'\\1'

Bug #1275350 reported by Hector Z
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Expired
Undecided
Unassigned

Bug Description

(This bug refers to an older version. When it happened I ended up not reporting or writing down more details, but kept the error message anyway. Now I'm reporting them all, in batch, in the hope it still helps to fix if unfixed, or to add to regression tests.)

linux

This is zim 0.56
Python version is (2, 6, 5, 'final', 0)
Gtk version is (2, 20, 1)
Pygtk version is (2, 17, 0)
Platform is posix
No bzr version-info found

====== Traceback ======
  File "/usr/lib/pymodules/python2.6/zim/gui/__init__.py", line 826, in _action_handler
    method(*arg)
  File "/usr/lib/pymodules/python2.6/zim/gui/pageview.py", line 5448, in show_find
    self.find_bar.set_from_buffer()
  File "/usr/lib/pymodules/python2.6/zim/gui/pageview.py", line 6021, in set_from_buffer
    self.find(string, flags, highlight)
  File "/usr/lib/pymodules/python2.6/zim/gui/pageview.py", line 6056, in find
    self.on_find_entry_changed()
  File "/usr/lib/pymodules/python2.6/zim/gui/pageview.py", line 6026, in on_find_entry_changed
    ok = buffer.finder.find(string, flags=self._flags)
  File "/usr/lib/pymodules/python2.6/zim/gui/pageview.py", line 2909, in find
    self._parse_query(string, flags)
  File "/usr/lib/pymodules/python2.6/zim/gui/pageview.py", line 2932, in _parse_query
    self.regex = re.compile(string, re.U | re.I)
  File "/usr/lib/python2.6/re.py", line 190, in compile
    return _compile(pattern, flags)
  File "/usr/lib/python2.6/re.py", line 245, in _compile
    raise error, v # invalid expression
error: bogus escape: u'\\1'

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

Cannot reproduce, also non-obvious how this can happen from code review

Changed in zim:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Zim because there has been no activity for 60 days.]

Changed in zim:
status: Incomplete → Expired
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.