[zanata-bugs] [Bug 814593] "TypeError: 'unicode' object does not support item assignment" when pulling translation from server

bugzilla at redhat.com bugzilla at redhat.com
Wed May 2 06:41:34 UTC 2012


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

Joyce Chang <jochang at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jochang at redhat.com

--- Comment #2 from Joyce Chang <jochang at redhat.com> 2012-05-02 02:41:33 EDT ---
Hi james,
It didn't seem to work for me, can you look into it again or let me know where
I went wrong?
xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<config xmlns="http://zanata.org/namespace/config/">
    <url>http://zanata-empire.lab.eng.bne.redhat.com:8080/</url>
        <project>AboutFedora</project>
            <project-type>podir</project-type>
                <project-version>f13</project-version>
                    <locales>
                    <locale map-from="zh-CN">zh-Hans</locale>
                        </locales>
                        </config>

zanata.ini

zanata_1_5_auto.url=http://zanata-empire.lab.eng.bne.redhat.com:8080/
zanata_1_5_auto.username=admin
zanata_1_5_auto.key=b6d7044e9ee3b2447c28fb7c50d86d98


setup:
zanata python client version: 1.3.5-1-g0279, zanata server API version:
1.6.0-alpha-2
Project: AboutFedora
Version: f13
Username: admin


step 1:locale "zh-CN" is enabled, and user joined language group "zh-CH"
step 2:zanata push --push-trans

actual results:
error: Error 401 - This operation is not authorized, please check username and
apikey


if step 2 replaced with:zanata pull 

actual result:
Fetching the content of About_Fedora from Zanata server: 
Retrieving zh-CN translation from server:
error: Error 400 - Unsupported Extensions within this context:
comment?skeletons

Fetching the content of Article_Info from Zanata server: 
Retrieving zh-CN translation from server:
error: Error 400 - Unsupported Extensions within this context:
comment?skeletons

Fetching the content of Author_Group from Zanata server: 
Retrieving zh-CN translation from server:
error: Error 400 - Unsupported Extensions within this context:
comment?skeletons

Fetching the content of Revision_History from Zanata server: 
Retrieving zh-CN translation from server:
error: Error 400 - Unsupported Extensions within this context:
comment?skeletons

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