corpkit icon indicating copy to clipboard operation
corpkit copied to clipboard

make_conc_obj_from_conclines(): ValueError: too many values to unpack

Open alischinsky opened this issue 9 years ago • 3 comments

Corpkit 2.2.9 now crashes under Python2 when interrogating a corpus; it's probably something about the way it iterates over unique_results. Traceback here.

Python3 works fine.

alischinsky avatar Aug 12 '16 14:08 alischinsky

Python 2 and 3 differ in how they handle for x, y, z in iterable:, so it makes sense. I'll look into it.

interrogator avatar Aug 12 '16 14:08 interrogator

I take that back. Python3 crashes on the same line when do_concordancing=True.

alischinsky avatar Aug 12 '16 14:08 alischinsky

This was a problem for plaintext regular expression searching. What was happening is that the regular expression was matching subgroups when it shouldn't. It should be fixed by ed81040.

interrogator avatar Aug 12 '16 19:08 interrogator