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

Sean Flanigan sflaniga at redhat.com
Wed Sep 12 00:56:36 UTC 2012


Hi Ivan,

Unfortunately, copyTrans is somewhat expensive, so it only runs when a
document is first created for a specific project version, and only if
you don't specify --no-copytrans on that first try.

However, in Zanata 1.7 it is also possible for project maintainers to
invoke copyTrans manually from the project version page, using the "Copy
Translations" action on the right.

Note: there is a bug[1] in 1.7.1 which means the options you choose in
the Copy Translations dialog will be ignored.  That shouldn't affect
your project much, because it appears you haven't changed the filenames
between 1.0 and 1.1.  For you, the bug just means that copyTrans might
find some similar strings in other projects/files and re-use as fuzzy,
whether you ask it to or not.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=856413

Regards

Sean.

On 2012-09-11 20:38, 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
> 
> 


-- 
Sean Flanigan

Senior Software Engineer
Engineering - Internationalisation
Red Hat

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/zanata-users/attachments/20120912/db18f9f2/attachment.sig>


More information about the zanata-users mailing list