Bug 820046 - Python client generates empty msgctxt "" when pushing
Summary: Python client generates empty msgctxt "" when pushing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: zanata-python-client
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: James Ni
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-09 01:29 UTC by Sean Flanigan
Modified: 2012-07-17 17:30 UTC (History)
4 users (show)

Fixed In Version: python client version: 1.3.7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-18 02:42:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Sean Flanigan 2012-05-09 01:29:24 UTC
Description of problem:
When downloading PO files via the web interface, messages are being generated with empty msgctxt (msgctxt "") instead of no msgctxt.  The same messages are generated without msgctxt when pulled via the python client.

Version-Release number of selected component (if applicable):
Zanata version 1.5.0 (20120405-0130).

Comment 2 Carlos Munoz 2012-05-09 06:51:48 UTC
Seems to be related to push using the python client. Both the maven client and the PO download feature from the UI use the same file generation mechanism, and they will generate whatever is stored in the server.

Managed to replicate the issue locally when pushing using the python client, but waiting for James to verify that.

Comment 3 James Ni 2012-05-09 08:06:37 UTC
Thanks Carlos,

Yes, it is a fault in python client, i can verify this issue on my side. I have modify the source code to fix this issue, after modify the source code, there is no empty msgctxt when downloading from web UI. Please use the latest source code to verify it. I will include this change in the next release.

Thanks

Comment 4 James Ni 2012-05-09 08:10:03 UTC
The fix of this issue is in commit 56134ee on git-hub

Comment 6 James Ni 2012-05-14 02:14:49 UTC
Sean,

Thanks your comment, I have made another commit to fix this issue, please see my commit on github:

https://github.com/zanata/zanata-python-client/commit/a461565d0808a5231d5f99b86a48ae5779032d14

Comment 7 Joyce Chang 2012-05-15 03:22:05 UTC
verified with python client version: 1.3.5-6-ga461

Comment 8 Fedora Update System 2012-06-13 05:38:31 UTC
zanata-python-client-1.3.7-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/zanata-python-client-1.3.7-1.fc16

Comment 9 Fedora Update System 2012-06-13 05:39:11 UTC
zanata-python-client-1.3.7-1.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/zanata-python-client-1.3.7-1.el5

Comment 10 Fedora Update System 2012-06-13 05:39:42 UTC
zanata-python-client-1.3.7-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/zanata-python-client-1.3.7-1.fc17

Comment 11 Fedora Update System 2012-06-13 05:40:16 UTC
zanata-python-client-1.3.7-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/zanata-python-client-1.3.7-1.fc15

Comment 12 Fedora Update System 2012-06-13 05:40:51 UTC
zanata-python-client-1.3.7-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/zanata-python-client-1.3.7-1.el6

Comment 13 Fedora Update System 2012-06-15 00:19:03 UTC
Package zanata-python-client-1.3.7-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing zanata-python-client-1.3.7-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-9357/zanata-python-client-1.3.7-1.fc16
then log in and leave karma (feedback).

Comment 14 Fedora Update System 2012-06-15 02:15:23 UTC
Package zanata-python-client-1.3.7-1.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing zanata-python-client-1.3.7-1.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-6156/zanata-python-client-1.3.7-1.el6
then log in and leave karma (feedback).

Comment 15 Fedora Update System 2012-07-17 17:30:31 UTC
zanata-python-client-1.3.7-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.