[zanata-users] Getting 500 Internal server error when pushing the pot file.

Adrian Likins alikins at redhat.com
Wed Sep 19 19:43:36 UTC 2012


I seem to be running into a similar issue, though I'm consistently 
getting 503's

Things to note: this is on a new "version" (1.1.x of 
subscription-manager project)
while attempting to do the initial push to zanata

using:
zanata python client version: 1.3.7-2-g4e29
(on rhel6.3(ish))

[adrian at dhcp231-28 po (master *)]$ zanata push --project-type gettext 
--srcdir .
Loading zanata project config from: 
/home/adrian/subscription-manager/po/zanata.xml
Loading zanata user config from: /home/adrian/.config/zanata.ini
zanata server: https://translate.zanata.org/zanata
zanata python client version: 1.3.7-2-g4e29, zanata server API version: 
1.7.0
Project: subscription-manager
Version: 1.1.X
Username: alikins
Source language: en-US
Copy previous translations:True
PO directory (originals):.
Importing source documents only

Pushing the content of ./keys.pot to server:
Traceback (most recent call last):
   File "/usr/bin/zanata", line 25, in <module>
     zanata.run()
   File 
"/usr/lib/python2.6/site-packages/zanata_python_client-1.3.7_2_g4e29-py2.6.egg/zanataclient/zanata.py", 
line 945, in run
     program_name=os.path.split(sys.argv[0])[1],
   File 
"/usr/lib/python2.6/site-packages/zanata_python_client-1.3.7_2_g4e29-py2.6.egg/zanataclient/command.py", 
line 339, in handle_program
     command(command_options, args)
   File 
"/usr/lib/python2.6/site-packages/zanata_python_client-1.3.7_2_g4e29-py2.6.egg/zanataclient/zanata.py", 
line 800, in push
     command.run(command_options, args)
   File 
"/usr/lib/python2.6/site-packages/zanata_python_client-1.3.7_2_g4e29-py2.6.egg/zanataclient/pushcmd.py", 
line 483, in run
     zanatacmd.push_command(filelist, tmlfolder, project_id, version_id, 
copytrans, plural_support)
   File 
"/usr/lib/python2.6/site-packages/zanata_python_client-1.3.7_2_g4e29-py2.6.egg/zanataclient/zanatacmd.py", 
line 396, in push_command
     result = self.zanata_resource.documents.commit_template(project_id, 
iteration_id, body, copytrans)
   File 
"/usr/lib/python2.6/site-packages/zanata_python_client-1.3.7_2_g4e29-py2.6.egg/zanataclient/zanatalib/docservice.py", 
line 110, in commit_template
     raise UnavailableServiceError('Error 503', 'Service Temporarily 
Unavailable')
zanataclient.zanatalib.error.UnavailableServiceError: Error 503 - 
Service Temporarily Unavailable


On 09/11/2012 06:38 AM, Ivan Nečas wrote:
> On 09/11/2012 12:17 PM, Ivan Nečas wrote:
>
> I've tried running it with --disable-ssl-cert, and it seems it works 
> now. Only one strange thing: when I uploaded the pot file for project 
> cfse-cli version 1.1, most of the translations was reused from 
> previous version. But with cfse project, there is 0% translated, even 
> if there are many common strings.
>
> It's true, that the first successful try was run with --no-copytrans 
> option, but then I've rerun it again without this option, overriding 
> the orignal document. Any help on this?
>
>
> -- Ivan
>> Hello,
>>
>> I'm trying to upload my localization files to zanata, but getting 500 
>> or 503 errors, python client version 1.3.11 (fails alwo with 1.3.5) 
>> anyone experienced similar behavior lately?
>>
>> I was getting similar errors yesterday, today I was able to 
>> successfully push po for one project, but still failing for another 
>> (a bit larger one)
>>
>> zanata po push --srcdir .
>> Loading zanata project config from: 
>> /root/system-engine/src/locale/zanata.xml
>> Loading zanata user config from: /root/.config/zanata.ini
>> zanata server: https://translate.zanata.org/zanata
>> zanata python client version: 1.3.11, zanata server API version: 1.7.0
>> Project: cfse
>> Version: 1.1
>> Username: inecas
>> Source language: en-US
>> Reuse previous translation on server:True
>> PO directory (originals):.
>> Importing source documents only
>>
>> Pushing the content of ./app.pot to server:
>> error: Error 500 - <html><head><title>JBoss Web/2.1.12.GA-patch-03 - 
>> Error repor
>> t</title><style><!--H1 
>> {font-family:Tahoma,Arial,sans-serif;color:white;backgrou
>> nd-color:#525D76;font-size:22px;} H2 
>> {font-family:Tahoma,Arial,sans-serif;color:
>> white;background-color:#525D76;font-size:16px;} H3 
>> {font-family:Tahoma,Arial,san
>> s-serif;color:white;background-color:#525D76;font-size:14px;} BODY 
>> {font-family:
>> Tahoma,Arial,sans-serif;color:black;background-color:white;} B 
>> {font-family:Taho
>> ma,Arial,sans-serif;color:white;background-color:#525D76;} P 
>> {font-family:Tahoma
>> ,Arial,sans-serif;background:white;color:black;font-size:12px;}A 
>> {color : black;
>> }A.name {color : black;}HR {color : #525D76;}--></style> 
>> </head><body><h1>HTTP S
>> tatus 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status 
>> report</p>
>> <p><b>message</b> <u></u></p><p><b>description</b> <u>The server 
>> encountered an
>> internal error () that prevented it from fulfilling this 
>> request.</u></p><HR siz
>> e="1" noshade="noshade"><h3>JBoss 
>> Web/2.1.12.GA-patch-03</h3></body></html>
>> Please take a reference in 
>> https://github.com/zanata/zanata/wiki/Python-Client-T
>> roubleshooting
>> r
>>
>> Nothing from the TroubleShooting guide helped, I've also tried 
>> -no-copytrans option, with no success.
>>
>> -- Ivan
>
>




More information about the zanata-users mailing list