[zanata-users] Stack trace on F20
Bryan Kearney
bkearney at redhat.com
Thu Jan 30 14:16:38 UTC 2014
+1 on the obsoletes. A few other comments:
1) Was an email sent to zanata users? I looked in the last few months
and I did not see a "Hey users, please go use htis new client"
2) If the source is obsoleted, then a message in the source
(https://github.com/zanata/zanata-python-client) would be nice.
I am a light user of zanata, and the client is a main way for me to
interact. So.. a proactive message when these changes occur would be nice.
Finally.. I just installed zanata-client. Some comments:
1) I had to pull down over 100 megs, most of which included java web
application frameworks. This is _WAY_ too big for a basic client. You
guys need to trim that down.
2) The new client seems to not work in the "basic" case, I needed to use:
zanata-cli pull --src-dir $PWD --trans-dir $PWD
which seems redundant.
-- bk
On 01/29/2014 09:27 PM, Sean Flanigan wrote:
>
> We really should have retired the package zanata-python-client in
> rawhide some time ago:
> https://fedoraproject.org/wiki/How_to_remove_a_package_at_end_of_life
>
> It's obviously too late for F20, but we'd better take care of it before F21.
>
>
> We should probably also ensure that zanata-client Obsoletes
> zanata-python-client:
>
> https://fedoraproject.org/wiki/Packaging:Guidelines#Renaming.2FReplacing_Existing_Packages
>
>
> On 2014-01-30 09:58, Patrick Huang wrote:
>> Hi Bryan,
>>
>> Python client is no longer supported. We have other CLI options. See http://zanata.org/help/cli/cli-install/
>> Since you are on F20 you should be able to just sudo yum install zanata-client. Then use zanata-cli pull
>>
>> Regards,
>> Patrick Huang
>> Senior Software Engineer
>> Engineering - Internationalisation
>> Red Hat
>>
>> ----- Original Message -----
>>> From: "Bryan Kearney" <bkearney at redhat.com>
>>> To: zanata-users at redhat.com
>>> Sent: Thursday, January 30, 2014 7:40:01 AM
>>> Subject: [zanata-users] Stack trace on F20
>>>
>>> I am getting this exception on F20
>>> (zanata-python-client-1.3.13-3.fc20.noarch) when trying to pull;
>>>
>>> [bkearney at bkearney po]$ zanata pull
>>> Loading zanata project config from:
>>> /home/bkearney/code/subscription-manager/po/zanata.xml
>>> Loading zanata user config from: /home/bkearney/.config/zanata.ini
>>> Traceback (most recent call last):
>>> File "/usr/bin/zanata", line 25, in <module>
>>> zanata.run()
>>> File
>>> "/usr/lib/python2.7/site-packages/zanata_python_client-1.3.12_8_g629b-py2.7.egg/zanataclient/zanata.py",
>>> line 945, in run
>>> program_name=os.path.split(sys.argv[0])[1],
>>> File
>>> "/usr/lib/python2.7/site-packages/zanata_python_client-1.3.12_8_g629b-py2.7.egg/zanataclient/command.py",
>>> line 339, in handle_program
>>> command(command_options, args)
>>> File
>>> "/usr/lib/python2.7/site-packages/zanata_python_client-1.3.12_8_g629b-py2.7.egg/zanataclient/zanata.py",
>>> line 820, in pull
>>> command.run(command_options, args, project_type)
>>> File
>>> "/usr/lib/python2.7/site-packages/zanata_python_client-1.3.12_8_g629b-py2.7.egg/zanataclient/pullcmd.py",
>>> line 67, in run
>>> zanatacmd, username, client_version, server_version =
>>> self.create_zanatacmd(url, command_options)
>>> File
>>> "/usr/lib/python2.7/site-packages/zanata_python_client-1.3.12_8_g629b-py2.7.egg/zanataclient/pushcmd.py",
>>> line 346, in create_zanatacmd
>>> server_version = zanatacmd.get_server_version(url)
>>> File
>>> "/usr/lib/python2.7/site-packages/zanata_python_client-1.3.12_8_g629b-py2.7.egg/zanataclient/zanatacmd.py",
>>> line 62, in get_server_version
>>> content = self.zanata_resource.version.get_server_version()
>>> File
>>> "/usr/lib/python2.7/site-packages/zanata_python_client-1.3.12_8_g629b-py2.7.egg/zanataclient/zanatalib/versionservice.py",
>>> line 48, in get_server_version
>>> version = json.loads(content)
>>> File "/usr/lib64/python2.7/json/__init__.py", line 338, in loads
>>> return _default_decoder.decode(s)
>>> File "/usr/lib64/python2.7/json/decoder.py", line 365, in decode
>>> obj, end = self.raw_decode(s, idx=_w(s, 0).end())
>>> File "/usr/lib64/python2.7/json/decoder.py", line 383, in raw_decode
>>> raise ValueError("No JSON object could be decoded")
>>> ValueError: No JSON object could be decoded
>>>
>>>
>>> -- bk
>>>
>>> _______________________________________________
>>> zanata-users mailing list
>>> zanata-users at redhat.com
>>> https://www.redhat.com/mailman/listinfo/zanata-users
>>>
>>
>> _______________________________________________
>> zanata-users mailing list
>> zanata-users at redhat.com
>> https://www.redhat.com/mailman/listinfo/zanata-users
>>
>
>
More information about the zanata-users
mailing list