Closed rchovan closed 5 years ago
21:16:40.3240 /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2019-06-17 21:16:40+0200 [-] Traceback (most recent call last):
21:16:40.3259 /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2019-06-17 21:16:40+0200 [-] File "/usr/lib/enigma2/python/mytest.py", line 784, in
@arn354 sorry, I'm missing what is your point. I see that errors, but don't know how to solve it.
that codepart is really old and no change around, which language is used? https://github.com/openatv/enigma2/blame/6.3/lib/python/Components/AVSwitch.py#L540
installed language for system is english, but OpenATV is configured for Slovak language.
root@xpeedlx3:/hdd# cat /etc/enigma2/settings | grep -i lang
config.EMC.audlang1=de
config.EMC.audlang2=de
config.EMC.audlang3=de
config.EMC.epglang=de
config.EMC.sublang1=de
config.EMC.sublang2=de
config.EMC.sublang3=de
config.misc.languageselected=false
config.osd.language=sk_SK
I can confirm, that it is working, when I changed language to en_US in settings. What must be done/fixed/installed to use it in Slovak language ?
Probably something wrong in language file sk.po https://github.com/openatv/enigma2/blob/6.3/po/sk.po
21:16:40+0200 [-] File "/usr/lib/enigma2/python/Components/AVSwitch.py", line 540, in InitAVSwitch 21:16:40+0200 [-] NameError: global name 'ngettext' is not defined
ngettext("%d second", "%d seconds", i)
@Marian-SK Hi, I saw that you did some translations to Slovak language and you are Slovak too :-) . Could you please check what is wrong with sk.po ?
Try to flash new 6.3 image without restoring anything.
I test here with language sk_sk
root@gbue4k:~# cat /etc/enigma2/settings | grep -i lang config.autolanguage.audio_defaultac3=true config.autolanguage.audio_defaultddp=true config.autolanguage.audio_usecache=false config.autolanguage.subtitle_usecache=false config.EMC.audlang1=de config.EMC.audlang2=de config.EMC.audlang3=de config.EMC.epglang=de config.EMC.movieinfo.language=de config.EMC.sublang1=de config.EMC.sublang2=de config.EMC.sublang3=de config.misc.languageselected=false config.osd.language=sk_SK
it is here all ok
Another assumption - image size needed to be reduced for some models. sk.po is probably not shipped within the image for that box due to size of flash. Probably need to implement a fallback to english if a chosen language in settings backup does not exist on a new flashed image.
missed the line in the log - thx hd75hd: 21:16:35.1941 Components/Language.py:93 activateLanguage Selected language does not exist!
so that confirms the above
I tested this Slovak translation with my receiver (Octagon 4008, but only with Enigma2 6.2) and I had no problem with boot or function of Slovak translation. This translation should be updated, because of some new untranslated texts, but this is other story. :-) This should have no impact on your problem. In my opinion is your problem not directly in Slovak translation - as wrote arn354 and other users. But I can not help you in such case, because I am not developer/tester, only translator.
Hi, I have upgraded Xpeed LX3 from 6.0 to 6.3 with online flash. After upgrade enigma2 won't start. I see this in debug log: