-
Notifications
You must be signed in to change notification settings - Fork 252
Description
Hello Saeed
Thank you bro for your amazing app
These dictionaries from this link are Quickdic dictionaries v6:
https://github.com/rdoeffinger/Dictionary/releases
pyicu installed
This was the error:
↓↓↓↓
unhandled exception:
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pyglossary/ui/ui_cmd_interactive.py", line 1123, in main
succeed = ui_cmd.UI.run(self, **self.getRunKeywordArgs())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pyglossary/ui/ui_cmd.py", line 346, in run
finalOutputFile = self.glos.convert(
^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pyglossary/glossary_v2.py", line 1267, in convert
return self.convertV2(args)
^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pyglossary/glossary_v2.py", line 1216, in convertV2
sort = self._convertPrepare(
^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pyglossary/glossary_v2.py", line 1179, in _convertPrepare
self._read(
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pyglossary/glossary_v2.py", line 789, in _read
self._openReader(reader, filenameUC)
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pyglossary/glossary_v2.py", line 709, in _openReader
openResult = reader.open(filename)
^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pyglossary/plugins/quickdic6/reader.py", line 46, in open
self._dic = self.quickdic_from_path(self._filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pyglossary/plugins/quickdic6/reader.py", line 56, in quickdic_from_path
return cls.quickdic_from_fp(fp)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pyglossary/plugins/quickdic6/reader.py", line 71, in quickdic_from_fp
indices = read_list(fp, read_entry_index)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pyglossary/plugins/quickdic6/read_funcs.py", line 99, in read_list
entries.append(fun(fp))
^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pyglossary/plugins/quickdic6/read_funcs.py", line 150, in read_entry_index
stop_list = read_hashset(fp)
^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pyglossary/plugins/quickdic6/read_funcs.py", line 82, in read_hashset
data.append(read_string(fp))
^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pyglossary/plugins/quickdic6/read_funcs.py", line 63, in read_string
return mutf8.decode_modified_utf8(fp.read(length))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pyglossary/plugin_lib/mutf8.py", line 47, in decode_modified_utf8
raise UnicodeDecodeError(
UnicodeDecodeError: 'mutf-8' codec can't decode byte 0x00 in position 4: Embedded NULL byte in input.
Traceback locals:
s = b'\x02tut\x00\x06Pluralt\x00\x06secondt\x00\x04thatt\x00\x03etct\x00...
len(s) = 29696
s_out = ['\x02', 't', 'u', 't']
s_len = 29696
s_ix = 5
b1 = 0