Bug#643992: TypeError when pushing

2011-10-05 Thread Janos Guljas
Hi Christian,

According to the reply by transifex employee on thread you referred,
this bug was invoked by bug on transifex.net server. That is fixed.

Best,
Janos

On Sat, Oct 1, 2011 at 15:31, chrysn chr...@fsfe.org wrote:
 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)




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#643992: TypeError when pushing

2011-10-01 Thread chrysn
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)


signature.asc
Description: Digital signature