kbatsuren / wiktra

Wiktra - Python tool of Wiktionary Transliteration modules for 514 languages and its 102 different scripts (orthographies)
GNU General Public License v2.0
27 stars 5 forks source link

Missing transliteration modules #12

Open skalyan91 opened 3 years ago

skalyan91 commented 3 years ago

If I try to transliterate Georgian text (e.g. wiktrapy -l geo -t მხედრული), I get the following error (abbreviating somewhat):

File "lupa/_lupa.pyx", line 280, in lupa._lupa.LuaRuntime.execute
  File "lupa/_lupa.pyx", line 1297, in lupa._lupa.run_lua
  File "lupa/_lupa.pyx", line 1306, in lupa._lupa.call_lua
  File "lupa/_lupa.pyx", line 1332, in lupa._lupa.execute_lua_call
  File "lupa/_lupa.pyx", line 1268, in lupa._lupa.raise_lua_error
lupa._lupa.LuaError: [string "<python>"]:1: module 'wikt.translit.Geor-translit' not found:
    no field package.preload['wikt.translit.Geor-translit']
    no file '/var/www/.local/lib/python3.9/site-packages/wiktra/wikt/translit/Geor-translit.lua'
    no file '/var/www/.local/lib/python3.9/site-packages/wiktra/wikt/wikt/translit/Geor-translit.lua'
    no file '/var/www/.local/lib/python3.9/site-packages/wiktra/wikt/translit/wikt/translit/Geor-translit.lua'
    no file '/var/www/.local/lib/python3.9/site-packages/wiktra/wikt/data/wikt/translit/Geor-translit.lua'
    no file '/var/www/.local/lib/python3.9/site-packages/wiktra/wikt/data/translit/wikt/translit/Geor-translit.lua'
    no file '/usr/local/lib/lua/5.3/wikt/translit/Geor-translit.so'
    no file '/usr/local/lib/lua/5.3/loadall.so'
    no file './wikt/translit/Geor-translit.so'
    no file '/usr/local/lib/lua/5.3/wikt.so'
    no file '/usr/local/lib/lua/5.3/loadall.so'
    no file './wikt.so'
skalyan91 commented 3 years ago

I get a similar error when I try to transliterate Kharoshthi.

skalyan91 commented 3 years ago

Also Korean.

kbatsuren commented 3 years ago

I sincerely apologize for the horribly late reply. It is an error because wiktra was not installed properly. Are you using macOS? I will let you know soon.

skalyan91 commented 3 years ago

I am using Ubuntu 20.04.