Package: transifex-client
Version: 0.5.2-1
Severity: normal

when running `tx push -t`, tx aborted wth a TypeError after the first
language file to copy:

$ tx push -t
Pushing translations for resource arandr.messagespot:
Pushing 'ru' translations (file: data/po/ru.po)
TypeError: list indices must be integers, not str

i've done some debugging, and the culprit seems to be in the area of
line 577 of txclib/project.py, where the expected and real shape of r
don't match (there's a list where the client expects a dictionary).

i've found quite a strange workaround: setting the server to https
instead of http (with appropriate changes to ~/.transifexrc) does the
trick.

(for reference, this has been discussed in
http://getsatisfaction.com/indifex/topics/transifex_client_fails_to_push_pull
with no practical results.)

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-rc6-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages transifex-client depends on:
ii  python     2.6.7-3
ii  python2.6  2.6.7-4
ii  python2.7  2.7.2-5

transifex-client recommends no packages.

transifex-client suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/pyshared/txclib/project.py (from 
transifex-client package)
(modified in the course of debugging)

Attachment: signature.asc
Description: Digital signature

Reply via email to