[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: Addition of a new po for GCompris
From:       Alexander Potashev <aspotashev () gmail ! com>
Date:       2019-01-21 11:07:56
Message-ID: CADMG6+_F6TGu7TVGokSAAd4vUgTLP2iN3xQT==eL8awGMoYRqA () mail ! gmail ! com
[Download RAW message or body]

Hi Johnny,

Please add Python version to shebang, e.g. "#!/usr/bin/python3" or
"#!/usr/bin/env python3"

пн, 21 янв. 2019 г. в 12:39, Johnny Jazeix <jazeix@gmail.com>:
>
> I used python 3 (I think it's 3.7.2). For sure, it won't work with python2.
> I guess the package are named python3-parse, ...
>
> Johnny
>
> Le lun. 21 janv. 2019   10:34, Antoni Bella Pérez <antonibella5@yahoo.com> a écrit :
>>
>> El dilluns, 21 de gener de 2019, a les 10:12:31 CET, Yuri Chornoivan va
>> escriure:
>> > Thanks. That was my mistake.
>> >
>> > It should be run as
>> >
>> > ./datasetToPo.py words.json out.po content-uk.json
>> >
>> > and as
>> >
>> >  from urllib.parse import quote
>> >
>> > does not work for me ("ImportError: No module named parse") I have commented
>> > out the corresponding lines and it works somehow.
>> >
>> > Sorry for the noise.
>> >
>> > Best regards,
>> > Yuri
>>
>>   Hi,
>>
>>   More information:
>>
>>         - Kubuntu 18.10
>>         - python --version -> Python 2.7.15+
>>         - sudo apt install python-parse python-uritools python-uritemplate
>>
>>   Output:
>> ./datasetToPo.py words.json ../../../../../../../trunk/l10n-kf5/ca/messages/
>> extragear-edu/gcompris_lang.po content-ca.json
>> Traceback (most recent call last):
>>   File "./datasetToPo.py", line 27, in <module>
>>     from urllib.parse import quote
>> ImportError: No module named parse
>>
>>   Thanks for your help.
>>
>>   Toni
>>
>>
>>


-- 
Alexander Potashev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic