Description of problem: When I try 'tx init', it returns: Traceback (most recent call last): File "/bin/tx", line 9, in <module> from txclib import utils File "/usr/lib/python2.7/site-packages/txclib/utils.py", line 12, in <module> from txclib.web import verify_ssl File "/usr/lib/python2.7/site-packages/txclib/web.py", line 11, in <module> from pkg_resources import resource_filename, resource_string ImportError: No module named pkg_resources The solution is to install python-setuptools.noarch Version-Release number of selected component (if applicable): transifex-client-0.9-2.fc19 Steps to Reproduce: 1. Remove transifex-client and python-setuptools 2. Install transifex-client 3. Run tx init Actual results: Traceback (most recent call last): File "/bin/tx", line 9, in <module> from txclib import utils File "/usr/lib/python2.7/site-packages/txclib/utils.py", line 12, in <module> from txclib.web import verify_ssl File "/usr/lib/python2.7/site-packages/txclib/web.py", line 11, in <module> from pkg_resources import resource_filename, resource_string ImportError: No module named pkg_resources Expected results: Creating .tx folder... Transifex instance [https://www.transifex.com]: Additional info:
transifex-client-0.9-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/transifex-client-0.9-3.fc19
Package transifex-client-0.9-3.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing transifex-client-0.9-3.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-15911/transifex-client-0.9-3.fc19 then log in and leave karma (feedback).
The update wasn't fix the bug
transifex-client-0.9-4.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/transifex-client-0.9-4.fc18
transifex-client-0.9-4.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/transifex-client-0.9-4.fc19
transifex-client-0.9-4.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/transifex-client-0.9-4.el6
Package transifex-client-0.9-4.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing transifex-client-0.9-4.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-11819/transifex-client-0.9-4.el6 then log in and leave karma (feedback).
Hi, The update wasn't fix the problem. Please add the "Requires: python-setuptools" on your spec. Thank you in advance
Hi nobrakal this new version 0.9-4 have the require. %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} Name: transifex-client Version: 0.9 Release: 4%{?dist} Summary: Command line tool for Transifex translation management Group: Development/Languages License: GPLv2 URL: http://transifex.org Source: http://pypi.python.org/packages/source/t/transifex-client/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: python-setuptools BuildRequires: python-devel BuildRequires: python-setuptools
mmmm in el6 need the requires sorry.... let me fix that.. Regards!
http://pkgs.fedoraproject.org/cgit/transifex-client.git/tree/transifex-client.spec?h=el6&id=4e611c98356e5af2ce8742c93da40b84492e3bb9 Best Regards!
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} Name: transifex-client Version: 0.9 Release: 5%{?dist} Summary: Command line tool for Transifex translation management Group: Development/Languages License: GPLv2 URL: http://transifex.org Source: http://pypi.python.org/packages/source/t/transifex-client/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: python-setuptools BuildRequires: python-devel BuildRequires: python-setuptools
Works for me, thank you very much :) Regards!
transifex-client-0.9-5.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
transifex-client-0.9-4.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
transifex-client-0.9-4.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.