What steps will reproduce the problem?
lingea-trd-decoder.py -d lg_grcz-2.trd > debug.txt
I attached the debug file
What is the expected output? What do you see instead?
it can only be build until the entry machen.
What version of the product are you using? On what operating system?
ubuntu 8.04
latest 0.7
Please provide any additional information below.
Husan added the workaround for a bunch of dictionaries
and I just added "and (len(stream) != 30696)" and the dictionary in the
commentary "lg_grcz-2.trd"
if (len(stream) != 13752) and (len(stream) != 21988) and (len(stream)
!= 16204) and (len(stream) != 12656) and (len(stream) != 30696) : #hack to
workaround bug in some dicts (lg_czen-eco, lg_encz-ind, lg_czgr-eco,
lg_grsk-2, lg_grcz-2.trd)
while pos < len(stream):
ok = (outInt() == 0x00) and ok
I don't know any python at all and barely knew what I was doing, but it did
work in the end.
I attached the patched version.
regards
julian