Issue 22 in cjklib: Crash with CFDICT

7 views
Skip to first unread message

cjk...@googlecode.com

unread,
Sep 25, 2013, 7:15:58 AM9/25/13
to cjklib...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 22 by dore...@gmail.com: Crash with CFDICT
http://code.google.com/p/cjklib/issues/detail?id=22

What steps will reproduce the problem?
This code
from cjklib.dictionary import *

d = CFDICT()
result = d.getFor(u'哪儿')

What is the expected output? What do you see instead?
I get this error instead of the translation:
File "C:\Python27\lib\site-packages\cjklib-0.3.2-py2.7.egg\cjklib\dictionary\format.py",
line
151, in format
for idx, entity in enumerate(reading.split(' ')):
AttributeError: 'NoneType' object has no attribute 'split'

What version of the product are you using? On what operating system?
0.3.2
Windows XP


Please provide any additional information below.

--
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