[zanata-bugs] [Bug 690687] Python client should log a message for 301 redirects

bugzilla at redhat.com bugzilla at redhat.com
Tue Oct 18 03:43:02 UTC 2011


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


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

Ding-Yi Chen <dchen at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|MODIFIED                    |ASSIGNED
     Target Release|                            |---

--- Comment #3 from Ding-Yi Chen <dchen at redhat.com> 2011-10-17 23:43:00 EDT ---
Version create works, but push produced "error: Unexpected Status, failed to
push"


Test case:

ibus-chewing to fedora.zanata.org (which should be redirected to
translate.zanata.org)

Step:
1. git-clone git://github.com/definite/ibus-chewing.git
2. cd ibus-chewing/po
3. xgettext --language=C --keyword=_ --keyword=N_ --keyword=C_:1c,2
--keyword=NC_:1c,2 -s --package-name=ibus-chewing --package-version=master -o
ibus-chewing.pot ../src/*.c ../src/*.gob
4. edit zanata.xml as:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<config xmlns="http://zanata.org/namespace/config/">
    <url>https://fedora.zanata.org/zanata/</url>
    <project>ibus-chewing</project>
    <project-version>1.3.10</project-version>
    <locales>
        <locale map-from="zh_TW">zh-Hant-TW</locale>
        <locale map-from="zh_CN">zh-Hans-CN</locale>
    </locales>
</config>
5. zanata push --project-type=gettext --username=<user> --apikey=<key>
--url=https://fedora.zanata.org/zanata/

Expected:
Pushing with redirection warning.

Actual:
Pushing the content of ibus-chewing.pot to server:
warning: encountered msgctxt; not currently supported
warning: encountered msgctxt; not currently supported
warning: encountered msgctxt; not currently supported
error: Unexpected Status, failed to push

-- 
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