zim-wiki team mailing list archive
-
zim-wiki team
-
Mailing list archive
-
Message #02377
Searching for single quotes
Hi,
I opened my note book and search for the sentence:
"If you don't mind me asking" (without the quotes)
and I got from Z59, xUbuntu 12.04
***START************************************
Looks like you found a bug
Assertion Error:
This is zim 0.59
Python version is sys.version_info(major=2, minor=7, micro=3, releaselevel='final', serial=0)
Gtk version is (2, 24, 10)
Pygtk version is (2, 24, 0)
Platform is posix
Zim revision is:
branch: pyzim-trunk
revision: 636 pardus@xxxxxxxx-20130123210740-rquhot1l1yzx9w0i
date: 2013-01-23 22:07:40 +0100
======= Traceback =======
File "/usr/lib/pymodules/python2.7/zim/gui/searchdialog.py", line 89, in _search
self.results_treeview.search(string)
File "/usr/lib/pymodules/python2.7/zim/gui/searchdialog.py", line 173, in search
self.query = Query(query)
File "/usr/lib/pymodules/python2.7/zim/search.py", line 125, in __init__
self.root = self._parse_query(string)
File "/usr/lib/pymodules/python2.7/zim/search.py", line 129, in _parse_query
words = split_quoted_strings(string, unescape=False)
File "/usr/lib/pymodules/python2.7/zim/parsing.py", line 41, in split_quoted_strings
assert not string
AssertionError:
***END************************************
If I search for:
"mind me asking" (without the quotes) it works. It looks like a problem with the '
If I search for:
"If you don\'t mind me asking" (without the quotes) same error. Can't escape the single quote. How do I search for the quotes (single and double)?
--
Thanks
http://www.foto-biz.com
The Business Of Being A Photographer -- Lightroom Q&A
Follow ups