[zanata-bugs] [Bug 753719] New: Python client explodes on F16

bugzilla at redhat.com bugzilla at redhat.com
Mon Nov 14 09:47:27 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: Python client explodes on F16

https://bugzilla.redhat.com/show_bug.cgi?id=753719

           Summary: Python client explodes on F16
           Product: Zanata
           Version: 1.4.3-SNAPSHOT
          Platform: Unspecified
        OS/Version: Linux
            Status: NEW
          Severity: medium
          Priority: unspecified
         Component: Component-PythonClient
        AssignedTo: runab at redhat.com
        ReportedBy: jwulf at redhat.com
         QAContact: dchen at redhat.com
                CC: zanata-bugs at redhat.com
   Estimated Hours: 0.0
    Classification: Community
      Story Points: ---
              Type: ---


User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML,
like Gecko) Chrome/15.0.874.120 Safari/535.2

[jwulf at gaura Zanata_Topic_Bucket]$ zanata push --project-type=po
--username=admin --apikey=XXXX
Loading zanata project config from:
/tmp/scratch/Zanata/Zanata_Topic_Bucket/zanata.xml
Loading zanata user config from: /home/jwulf/.config/zanata.ini
zanata server: http://zanata-endeavour.lab.eng.bne.redhat.com:8080
zanata python client version: 1.3.1, zanata server API version: 1.4.3-SNAPSHOT
Project: Zanata-topics
Version: 1
Username: admin
Source language: en-US
Copy previous translations:True
Traceback (most recent call last):
  File "/usr/bin/zanata", line 25, in <module>
    zanata.run()
  File "/usr/lib/python2.7/site-packages/zanataclient/zanata.py", line 1223, in
run
    program_name=os.path.split(sys.argv[0])[1],
  File "/usr/lib/python2.7/site-packages/zanataclient/command.py", line 325, in
handle_program
    command(command_options, args)
  File "/usr/lib/python2.7/site-packages/zanataclient/zanata.py", line 1047, in
push
    tmlfolder = process_srcdir(command_options, command_type, project_config,
default_folder)
  File "/usr/lib/python2.7/site-packages/zanataclient/zanata.py", line 467, in
process_srcdir
    tmlfolder = check_pofile(tmlfolder, project_type)
  File "/usr/lib/python2.7/site-packages/zanataclient/zanata.py", line 447, in
check_pofile
    sub_folder = os.path.join(tmlfolder, folder_type)
UnboundLocalError: local variable 'folder_type' referenced before assignment


Reproducible: Always

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the zanata-bugs mailing list