Issue 20 in cjklib: RuntimeError: maximum recursion depth exceeded in cmp in Linuxmint 14 ( Ubuntu 12.10 )

14 views
Skip to first unread message

cjk...@googlecode.com

unread,
Apr 10, 2013, 6:20:18 PM4/10/13
to cjklib...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 20 by liu.qi...@gmail.com: RuntimeError: maximum recursion depth
exceeded in cmp in Linuxmint 14 ( Ubuntu 12.10 )
http://code.google.com/p/cjklib/issues/detail?id=20


I'm using cjknife as a parser for converting chinese file into pinyin,

while I was on ubuntu 11.04 , it already give me the same error message but
I had managed by adding these 2 line to the file
/usr/local/lib/python2.7/dist-packages/cjklib-0.3.2-py2.7.egg/cjklib/reading/operator.py

import sys

sys.setrecursionlimit(150000000)

and it worked , but now I'm on linuxmint 14 based on Ubuntu 12.10 and when
I add theses two line to the same file, it still give me same error
message :

"
File "/usr/local/lib/python2.7/dist-packages/cjklib-0.3.2-py2.7.egg/cjklib/reading/operator.py",
line 1557, in removeApostrophes
readingEntities[1:]))

File "/usr/local/lib/python2.7/dist-packages/cjklib-0.3.2-py2.7.egg/cjklib/reading/operator.py",
line 1557, in removeApostrophes
readingEntities[1:]))

File "/usr/local/lib/python2.7/dist-packages/cjklib-0.3.2-py2.7.egg/cjklib/reading/operator.py",
line 1557, in removeApostrophes
readingEntities[1:]))

File "/usr/local/lib/python2.7/dist-packages/cjklib-0.3.2-py2.7.egg/cjklib/reading/operator.py",
line 1546, in removeApostrophes
and readingEntities[1] == self.pinyinApostrophe \
RuntimeError: maximum recursion depth exceeded in cmp

what can I do ?


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages