From ggillies at redhat.com Tue Jun 12 23:15:03 2012
From: ggillies at redhat.com (Graeme Gillies)
Date: Tue, 12 Jun 2012 19:15:03 -0400
Subject: [zanata-users] translate.engineering.redhat.com Scheduled
Maintenance | 13/06/2012 - 00:00 AM UTC
Message-ID: <201206122315.q5CNF3uw030343@scripts01.intranet.prod.int.phx2.redhat.com>
***// SCHEDULED MAINTENANCE REPORT //***
Priority:
High
Scheduled Date:
13/06/2012
Scheduled Time:
00:00 AM UTC
Estimated Time Required:
30 minutes
Performed By:
ggillies
People/Groups Impacted:
all users of translate.engineering.redhat.com
Site/Services Affected:
translate.engineering.redhat.com
Impact:
translate.engineering.redhat.com and its associated services
will be unavailable during this time
Description:
The zanata instance at translate.engineering.redhat.com will
be upgraded to version 1.6
Signoff:
mschick at redhat.com
RFC#:
NA
From ggillies at redhat.com Wed Jun 13 00:33:54 2012
From: ggillies at redhat.com (Graeme Gillies)
Date: Wed, 13 Jun 2012 10:33:54 +1000
Subject: [zanata-users] translate.engineering.redhat.com Scheduled
Maintenance | 13/06/2012 - 00:00 AM UTC
In-Reply-To: <201206122315.q5CNF3uw030343@scripts01.intranet.prod.int.phx2.redhat.com>
References: <201206122315.q5CNF3uw030343@scripts01.intranet.prod.int.phx2.redhat.com>
Message-ID: <4FD7DFF2.8070208@redhat.com>
This outage is now complete.
Any problems please email eng-ops at redhat.com
Regards,
Graeme
On 06/13/2012 09:15 AM, Graeme Gillies wrote:
>
> ***// SCHEDULED MAINTENANCE REPORT //***
>
> Priority:
> High
>
> Scheduled Date:
> 13/06/2012
>
> Scheduled Time:
> 00:00 AM UTC
>
> Estimated Time Required:
> 30 minutes
>
> Performed By:
> ggillies
>
> People/Groups Impacted:
> all users of translate.engineering.redhat.com
>
> Site/Services Affected:
> translate.engineering.redhat.com
>
> Impact:
> translate.engineering.redhat.com and its associated services
> will be unavailable during this time
>
> Description:
> The zanata instance at translate.engineering.redhat.com will
> be upgraded to version 1.6
>
> Signoff:
> mschick at redhat.com
>
> RFC#:
> NA
>
> _______________________________________________
> Outage-list mailing list
> Outage-list at redhat.com
> http://post-office.corp.redhat.com/mailman/listinfo/outage-list
>
--
Graeme Gillies
Systems Administrator
Engineering Operations
Red Hat Australia
From bkearney at redhat.com Fri Jun 22 13:15:06 2012
From: bkearney at redhat.com (Bryan Kearney)
Date: Fri, 22 Jun 2012 09:15:06 -0400
Subject: [zanata-users] Can not push strings
Message-ID: <4FE46FDA.6040603@redhat.com>
I am on f7 and attempting to push strings and get this error:
bkearney at bkearney po]$ zanata list
Loading zanata project config from:
/home/bkearney/code/subscription-manager/po/zanata.xml
error: Server presented certificate that does not match host
translate.zanata.org:
Is there server SSL configged correctly?
-- bk
From alikins at redhat.com Fri Jun 22 13:39:10 2012
From: alikins at redhat.com (Adrian Likins)
Date: Fri, 22 Jun 2012 09:39:10 -0400
Subject: [zanata-users] Can not push strings
In-Reply-To: <4FE46FDA.6040603@redhat.com>
References: <4FE46FDA.6040603@redhat.com>
Message-ID: <4FE4757E.20106@redhat.com>
On 06/22/2012 09:15 AM, Bryan Kearney wrote:
> I am on f7 and attempting to push strings and get this error:
>
> bkearney at bkearney po]$ zanata list
> Loading zanata project config from:
> /home/bkearney/code/subscription-manager/po/zanata.xml
> error: Server presented certificate that does not match host
> translate.zanata.org:
>
> Is there server SSL configged correctly?
>
I fixed this error by upgrading python-httplib2 to
python-httplib2-0.7.4-4.fc17 from -testing.
But, then it starts complaining about not being
able to read my .config/zanata.ini.
[adrian at dhcp231-28 po (master *)]$ zanata po pull --srcdir ..
Loading zanata project config from:
/home/adrian/src/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.5, zanata server API version: 1.5.0
error: Please specify username and apikey in zanata.ini or with
'--username' and '--apikey' options
my (slightly redacted) .config/zanata.ini:
[servers]
internal.url = http://translate.zanata.org/zanata/
internal.username = alikins
internal.key = APIKEY
our zanata.xml:
https://translate.zanata.org/zanata/
subscription-manager
1.0.X
as
bn-IN
de-DE
es-ES
fr
gu
hi
it
ja
kn
ko
ml
mr
or
pa
pt-BR
ru
ta-IN
te
zh-Hans-CN
zh-Hant-TW
So I tried upgrading to the zanata-python-client from
-testing as well (zanata-python-client-1.3.7-1)
[adrian at dhcp231-28 po (master *)]$ zanata po pull --srcdir ..
Loading zanata project config from:
/home/adrian/src/subscription-manager/po/zanata.xml
Traceback (most recent call last):
File "/usr/bin/zanata", line 25, in
zanata.run()
File "/usr/lib/python2.6/site-packages/zanataclient/zanata.py", line
945, in run
program_name=os.path.split(sys.argv[0])[1],
File "/usr/lib/python2.6/site-packages/zanataclient/command.py", line
339, in handle_program
command(command_options, args)
File "/usr/lib/python2.6/site-packages/zanataclient/zanata.py", line
695, in po_pull
pull(command_options, args, "gettext")
File "/usr/lib/python2.6/site-packages/zanataclient/zanata.py", line
820, in pull
command.run(command_options, args, project_type)
File "/usr/lib/python2.6/site-packages/zanataclient/pullcmd.py", line
64, in run
url, project_id, version_id, project_type, project_config =
self.get_projectinfo(command_options)
File "/usr/lib/python2.6/site-packages/zanataclient/pushcmd.py", line
328, in get_projectinfo
return url, project_id, version_id, project_type, project_config
UnboundLocalError: local variable 'project_type' referenced before
assignment
So, I tried to install the version from master branch on github
(https://github.com/zanata/zanata-python-client)
Loading zanata project config from:
/home/adrian/src/subscription-manager/po/zanata.xml
Traceback (most recent call last):
File "/usr/bin/zanata", line 5, in
pkg_resources.run_script('zanata-python-client==1.3.7-1-g9eb9',
'zanata')
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 461,
in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1194,
in run_script
execfile(script_filename, namespace, namespace)
File
"/usr/lib/python2.6/site-packages/zanata_python_client-1.3.7_1_g9eb9-py2.6.egg/EGG-INFO/scripts/zanata",
line 25, in
zanata.run()
File
"/usr/lib/python2.6/site-packages/zanata_python_client-1.3.7_1_g9eb9-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_1_g9eb9-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_1_g9eb9-py2.6.egg/zanataclient/zanata.py",
line 695, in po_pull
pull(command_options, args, "gettext")
File
"/usr/lib/python2.6/site-packages/zanata_python_client-1.3.7_1_g9eb9-py2.6.egg/zanataclient/zanata.py",
line 820, in pull
command.run(command_options, args, project_type)
File
"/usr/lib/python2.6/site-packages/zanata_python_client-1.3.7_1_g9eb9-py2.6.egg/zanataclient/pullcmd.py",
line 64, in run
url, project_id, version_id, project_type, project_config =
self.get_projectinfo(command_options)
File
"/usr/lib/python2.6/site-packages/zanata_python_client-1.3.7_1_g9eb9-py2.6.egg/zanataclient/pushcmd.py",
line 328, in get_projectinfo
return url, project_id, version_id, project_type, project_config
UnboundLocalError: local variable 'project_type' referenced before
assignment
(ie, the same error)
I was able to work around it with:
zanata po pull --username alikins --apikey $APIKEYHERE --project-type
gettext --srcdir ..
zanataclient/pushcmd.py expects project_type to be defined, but it is
not in our
zanata.xml (nor the one provided directly from translate.zanata.org). Adding
a project type of 'gettext' to the zanata.xml seems to fix that error.
For reasons undetermined, it still seems to fail to read my zanata.ini
Help?
Adrian
From jni at redhat.com Sat Jun 23 15:44:57 2012
From: jni at redhat.com (James Ni)
Date: Sat, 23 Jun 2012 11:44:57 -0400 (EDT)
Subject: [zanata-users] Can not push strings
In-Reply-To: <4FE4757E.20106@redhat.com>
Message-ID: <53f307e0-dae9-4eec-a349-92fb96b7a0fa@zmail14.collab.prod.int.phx2.redhat.com>
----- Original Message -----
> On 06/22/2012 09:15 AM, Bryan Kearney wrote:
> > I am on f7 and attempting to push strings and get this error:
> >
> > bkearney at bkearney po]$ zanata list
> > Loading zanata project config from:
> > /home/bkearney/code/subscription-manager/po/zanata.xml
> > error: Server presented certificate that does not match host
> > translate.zanata.org:
> >
> > Is there server SSL configged correctly?
> >
>
> I fixed this error by upgrading python-httplib2 to
> python-httplib2-0.7.4-4.fc17 from -testing.
>
> But, then it starts complaining about not being
> able to read my .config/zanata.ini.
>
> [adrian at dhcp231-28 po (master *)]$ zanata po pull --srcdir ..
> Loading zanata project config from:
> /home/adrian/src/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.5, zanata server API version: 1.5.0
> error: Please specify username and apikey in zanata.ini or with
> '--username' and '--apikey' options
>
> my (slightly redacted) .config/zanata.ini:
> [servers]
> internal.url = http://translate.zanata.org/zanata/
> internal.username = alikins
> internal.key = APIKEY
Hi Adrian,
I notice in your zanata.ini "internal.url = http://translate.zanata.org/zanata/", it should be https. It is a slightly difference to url in zanata.xml. Please modify the zanata.ini, then the problem should be solved. I have tested 1.3.5 with https://translate.zanata.org/zanata using po push/po pull command and it is still working OK with python-httplib2-0.7.4-4.
> our zanata.xml:
>
>
> https://translate.zanata.org/zanata/
> subscription-manager
> 1.0.X
>
> as
> bn-IN
> de-DE
> es-ES
> fr
> gu
> hi
> it
> ja
> kn
> ko
> ml
> mr
> or
> pa
> pt-BR
> ru
> ta-IN
> te
> zh-Hans-CN
> zh-Hant-TW
>
>
>
>
> So I tried upgrading to the zanata-python-client from
> -testing as well (zanata-python-client-1.3.7-1)
>
> [adrian at dhcp231-28 po (master *)]$ zanata po pull --srcdir ..
> Loading zanata project config from:
> /home/adrian/src/subscription-manager/po/zanata.xml
> Traceback (most recent call last):
> File "/usr/bin/zanata", line 25, in
> zanata.run()
> File "/usr/lib/python2.6/site-packages/zanataclient/zanata.py",
> line
> 945, in run
> program_name=os.path.split(sys.argv[0])[1],
> File "/usr/lib/python2.6/site-packages/zanataclient/command.py",
> line
> 339, in handle_program
> command(command_options, args)
> File "/usr/lib/python2.6/site-packages/zanataclient/zanata.py",
> line
> 695, in po_pull
> pull(command_options, args, "gettext")
> File "/usr/lib/python2.6/site-packages/zanataclient/zanata.py",
> line
> 820, in pull
> command.run(command_options, args, project_type)
> File "/usr/lib/python2.6/site-packages/zanataclient/pullcmd.py",
> line
> 64, in run
> url, project_id, version_id, project_type, project_config =
> self.get_projectinfo(command_options)
> File "/usr/lib/python2.6/site-packages/zanataclient/pushcmd.py",
> line
> 328, in get_projectinfo
> return url, project_id, version_id, project_type, project_config
> UnboundLocalError: local variable 'project_type' referenced before
> assignment
>
>
> So, I tried to install the version from master branch on github
> (https://github.com/zanata/zanata-python-client)
>
>
> Loading zanata project config from:
> /home/adrian/src/subscription-manager/po/zanata.xml
> Traceback (most recent call last):
> File "/usr/bin/zanata", line 5, in
> pkg_resources.run_script('zanata-python-client==1.3.7-1-g9eb9',
> 'zanata')
> File "/usr/lib/python2.6/site-packages/pkg_resources.py", line
> 461,
> in run_script
> self.require(requires)[0].run_script(script_name, ns)
> File "/usr/lib/python2.6/site-packages/pkg_resources.py", line
> 1194,
> in run_script
> execfile(script_filename, namespace, namespace)
> File
> "/usr/lib/python2.6/site-packages/zanata_python_client-1.3.7_1_g9eb9-py2.6.egg/EGG-INFO/scripts/zanata",
> line 25, in
> zanata.run()
> File
> "/usr/lib/python2.6/site-packages/zanata_python_client-1.3.7_1_g9eb9-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_1_g9eb9-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_1_g9eb9-py2.6.egg/zanataclient/zanata.py",
> line 695, in po_pull
> pull(command_options, args, "gettext")
> File
> "/usr/lib/python2.6/site-packages/zanata_python_client-1.3.7_1_g9eb9-py2.6.egg/zanataclient/zanata.py",
> line 820, in pull
> command.run(command_options, args, project_type)
> File
> "/usr/lib/python2.6/site-packages/zanata_python_client-1.3.7_1_g9eb9-py2.6.egg/zanataclient/pullcmd.py",
> line 64, in run
> url, project_id, version_id, project_type, project_config =
> self.get_projectinfo(command_options)
> File
> "/usr/lib/python2.6/site-packages/zanata_python_client-1.3.7_1_g9eb9-py2.6.egg/zanataclient/pushcmd.py",
> line 328, in get_projectinfo
> return url, project_id, version_id, project_type, project_config
> UnboundLocalError: local variable 'project_type' referenced before
> assignment
>
>
> (ie, the same error)
>
> I was able to work around it with:
>
> zanata po pull --username alikins --apikey $APIKEYHERE
> --project-type
> gettext --srcdir ..
>
> zanataclient/pushcmd.py expects project_type to be defined, but it is
> not in our
> zanata.xml (nor the one provided directly from translate.zanata.org).
> Adding
> a project type of 'gettext' to the zanata.xml seems to fix that
> error.
I am sorry about that, that is a issue imported by me in 1.3.7, i have fixed the issue and push to master branch on github.
So please still using 1.3.5 now, and i will try to make a new release as soon as possible. Thanks.
> For reasons undetermined, it still seems to fail to read my
> zanata.ini
>
> Help?
>
> Adrian
>
> _______________________________________________
> zanata-users mailing list
> zanata-users at redhat.com
> https://www.redhat.com/mailman/listinfo/zanata-users
>
From jni at redhat.com Sat Jun 23 15:50:20 2012
From: jni at redhat.com (James Ni)
Date: Sat, 23 Jun 2012 11:50:20 -0400 (EDT)
Subject: [zanata-users] Can not push strings
In-Reply-To: <4FE46FDA.6040603@redhat.com>
Message-ID: <09ac1626-12d9-452f-96fc-20c1338e9427@zmail14.collab.prod.int.phx2.redhat.com>
----- Original Message -----
> I am on f7 and attempting to push strings and get this error:
>
> bkearney at bkearney po]$ zanata list
> Loading zanata project config from:
> /home/bkearney/code/subscription-manager/po/zanata.xml
> error: Server presented certificate that does not match host
> translate.zanata.org:
>
> Is there server SSL configged correctly?
>
> -- bk
Hi bryan,
As Adrian's reply, he had fixed this error by upgrading python-httplib2 to
python-httplib2-0.7.4-4.fc17 from updates-testing. Please try it. I have tested 1.3.5 python client with python-httplib2-0.7.4-4, it is still working OK. Please let me know if you have other issues. Thanks
Best Regards
James Ni
> _______________________________________________
> zanata-users mailing list
> zanata-users at redhat.com
> https://www.redhat.com/mailman/listinfo/zanata-users
>
From bkearney at redhat.com Mon Jun 25 12:14:46 2012
From: bkearney at redhat.com (Bryan Kearney)
Date: Mon, 25 Jun 2012 08:14:46 -0400
Subject: [zanata-users] Can not push strings
In-Reply-To: <09ac1626-12d9-452f-96fc-20c1338e9427@zmail14.collab.prod.int.phx2.redhat.com>
References: <09ac1626-12d9-452f-96fc-20c1338e9427@zmail14.collab.prod.int.phx2.redhat.com>
Message-ID: <4FE85636.9050200@redhat.com>
On 06/23/2012 11:50 AM, James Ni wrote:
>
>
> ----- Original Message -----
>> I am on f7 and attempting to push strings and get this error:
>>
>> bkearney at bkearney po]$ zanata list
>> Loading zanata project config from:
>> /home/bkearney/code/subscription-manager/po/zanata.xml
>> error: Server presented certificate that does not match host
>> translate.zanata.org:
>>
>> Is there server SSL configged correctly?
>>
>> -- bk
>
> Hi bryan,
>
> As Adrian's reply, he had fixed this error by upgrading python-httplib2 to
> python-httplib2-0.7.4-4.fc17 from updates-testing. Please try it. I have tested 1.3.5 python client with python-httplib2-0.7.4-4, it is still working OK. Please let me know if you have other issues. Thanks
>
ACK:
Lastest version of that library appears to be working. Applied Karma to
package in the testing repo.
-- bk
From ghynxmail at gmail.com Wed Jun 27 14:29:40 2012
From: ghynxmail at gmail.com (Gregoire Henry)
Date: Wed, 27 Jun 2012 16:29:40 +0200
Subject: [zanata-users] Help requested
Message-ID:
Hello
I'm trying to test zenata for my own project ..
I've succesfully setup zenata server on a win 2003 server
i've created a test project and added some language in it (fr,de)
I 'm trying to push some files from a test project using maven client
(1.5.0 and 1.6.0) . (test made with gettext .pot files and java
.properties files)
each push failled with the following error
C:\Projects\lefebvre\zanatatest>mvn zanata:push -B
[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building test 0.0.1-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- zanata-maven-plugin:1.5.0:push (default-cli) @ test ---
[WARNING] The POM for
org.jboss.resteasy:resteasy-jaxb-provider:jar:2.1.0.GAis missing, no
dependency information available
[INFO] Loading project config from
C:\Projects\lefebvre\zanatatest\zanata.xml
[INFO] Loading user config from C:\Projects\lefebvre\zanatatest\zanata.ini
[INFO] client API version: 1.5.0, server API version: 1.5.0
[INFO] Server: http://srvbldbrn:8380/zanata/
[INFO] Project: test
[INFO] Version: 1.0
[INFO] Username: admin
[INFO] Project type: properties
[INFO] Source language: fr
[INFO] Copy previous translations: true
[INFO] Merge type: auto
[INFO] Enable modules: false
[INFO] Include patterns:
[INFO] Exclude patterns:
[INFO] Default excludes: true
[INFO] Pushing source documents only
[INFO] Source directory (originals): C:\Projects\lefebvre\zanatatest
[INFO] Found source document: pot\analytique_entities
[INFO] pushing source doc [name=pot\analytique_entities size=596] to server
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2.465s
[INFO] Finished at: Wed Jun 27 16:11:54 CEST 2012
[INFO] Final Memory: 8M/121M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal org.zanata:zanata-maven-plugin:1.5.0:push
(default-cli) on project test: Zanata mojo exception: operation returned
400 (Bad Request): , uri:
http://srvbldbrn:8380/zanata/rest/projects/p/test/iterations/i/1.0/r,
annotations: [@javax.ws.rs.PUT(), @javax.ws.rs.Path(value=
{id})] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
C:\Projects\lefebvre\zanatatest>
Do i make something wrong ?
Is there is a relation with the warning about org.jboss.resteasy pom
missing ?
my zanata.xml file looks like
http://xxxxxxx/zanata/
test
1.0
properties
de
fr
Thanks for your help .
Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From camunoz at redhat.com Thu Jun 28 01:06:05 2012
From: camunoz at redhat.com (Carlos Munoz)
Date: Thu, 28 Jun 2012 11:06:05 +1000
Subject: [zanata-users] Help requested
In-Reply-To:
References:
Message-ID: <4FEBADFD.6060701@redhat.com>
Hi Greg,
We have looked at the problem and found an issue with the maven client
on Windows. We are working on a patch that will be available shortly.
I'll let you know the version of the client to use once we've released it.
Let us know if you encounter any other issues.
Regards,
Carlos A. Munoz
Senior Software Engineer
Engineering - Internationalisation
Red Hat
On 06/28/2012 12:29 AM, Gregoire Henry wrote:
> Hello
> I'm trying to test zenata for my own project ..
> I've succesfully setup zenata server on a win 2003 server
> i've created a test project and added some language in it (fr,de)
> I 'm trying to push some files from a test project using maven client
> (1.5.0 and 1.6.0) . (test made with gettext .pot files and java
> .properties files)
>
> each push failled with the following error
>
> C:\Projects\lefebvre\zanatatest>mvn zanata:push -B
> [INFO] Scanning for projects...
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building test 0.0.1-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- zanata-maven-plugin:1.5.0:push (default-cli) @ test ---
> [WARNING] The POM for
> org.jboss.resteasy:resteasy-jaxb-provider:jar:2.1.0.GA
> is missing, no dependency information available
> [INFO] Loading project config from
> C:\Projects\lefebvre\zanatatest\zanata.xml
> [INFO] Loading user config from C:\Projects\lefebvre\zanatatest\zanata.ini
> [INFO] client API version: 1.5.0, server API version: 1.5.0
> [INFO] Server: http://srvbldbrn:8380/zanata/
> [INFO] Project: test
> [INFO] Version: 1.0
> [INFO] Username: admin
> [INFO] Project type: properties
> [INFO] Source language: fr
> [INFO] Copy previous translations: true
> [INFO] Merge type: auto
> [INFO] Enable modules: false
> [INFO] Include patterns:
> [INFO] Exclude patterns:
> [INFO] Default excludes: true
> [INFO] Pushing source documents only
> [INFO] Source directory (originals): C:\Projects\lefebvre\zanatatest
> [INFO] Found source document: pot\analytique_entities
> [INFO] pushing source doc [name=pot\analytique_entities size=596] to server
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2.465s
> [INFO] Finished at: Wed Jun 27 16:11:54 CEST 2012
> [INFO] Final Memory: 8M/121M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.zanata:zanata-maven-plugin:1.5.0:push
> (default-cli) on project test: Zanata mojo exception: operation returned
> 400 (Bad Request): , uri:
> http://srvbldbrn:8380/zanata/rest/projects/p/test/iterations/i/1.0/r,
> annotations: [@javax.ws.rs.PUT(), @javax.ws.rs.Path(value=
> {id})] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> C:\Projects\lefebvre\zanatatest>
>
> Do i make something wrong ?
>
> Is there is a relation with the warning about org.jboss.resteasy pom
> missing ?
>
> my zanata.xml file looks like
>
>
> http://xxxxxxx/zanata/
> test
> 1.0
> properties
>
>
> de
> fr
>
>
>
>
> Thanks for your help .
>
> Greg
>
>
>
>
>
>
>
> _______________________________________________
> zanata-users mailing list
> zanata-users at redhat.com
> https://www.redhat.com/mailman/listinfo/zanata-users
From sflaniga at redhat.com Thu Jun 28 01:25:30 2012
From: sflaniga at redhat.com (Sean Flanigan)
Date: Thu, 28 Jun 2012 11:25:30 +1000
Subject: [zanata-users] Help requested
In-Reply-To:
References:
Message-ID: <4FEBB28A.1080705@redhat.com>
Hi Greg,
As Carlos said, it's because the Maven client doesn't handle backslash
characters.
I've put in https://bugzilla.redhat.com/show_bug.cgi?id=836054
If you update the client version to 1.6.1-SNAPSHOT, it should fix the
problem. Please let me know what you find.
On an unrelated note: any time you end up with "pot" as part of the
filename (eg "Found source document: pot\analytique_entities"), "pot"
will end up in the output filename too. That's usually not what you
want. If you have configured srcDir as "." (the default), you may want
srcDir to be "pot" instead.
Regards
Sean.
On 2012-06-28 00:29, Gregoire Henry wrote:
> Hello
> I'm trying to test zenata for my own project ..
> I've succesfully setup zenata server on a win 2003 server
> i've created a test project and added some language in it (fr,de)
> I 'm trying to push some files from a test project using maven client
> (1.5.0 and 1.6.0) . (test made with gettext .pot files and java
> .properties files)
>
> each push failled with the following error
>
> C:\Projects\lefebvre\zanatatest>mvn zanata:push -B
> [INFO] Scanning for projects...
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building test 0.0.1-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- zanata-maven-plugin:1.5.0:push (default-cli) @ test ---
> [WARNING] The POM for
> org.jboss.resteasy:resteasy-jaxb-provider:jar:2.1.0.GA
> is missing, no dependency information available
> [INFO] Loading project config from
> C:\Projects\lefebvre\zanatatest\zanata.xml
> [INFO] Loading user config from C:\Projects\lefebvre\zanatatest\zanata.ini
> [INFO] client API version: 1.5.0, server API version: 1.5.0
> [INFO] Server: http://srvbldbrn:8380/zanata/
> [INFO] Project: test
> [INFO] Version: 1.0
> [INFO] Username: admin
> [INFO] Project type: properties
> [INFO] Source language: fr
> [INFO] Copy previous translations: true
> [INFO] Merge type: auto
> [INFO] Enable modules: false
> [INFO] Include patterns:
> [INFO] Exclude patterns:
> [INFO] Default excludes: true
> [INFO] Pushing source documents only
> [INFO] Source directory (originals): C:\Projects\lefebvre\zanatatest
> [INFO] Found source document: pot\analytique_entities
> [INFO] pushing source doc [name=pot\analytique_entities size=596] to server
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2.465s
> [INFO] Finished at: Wed Jun 27 16:11:54 CEST 2012
> [INFO] Final Memory: 8M/121M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.zanata:zanata-maven-plugin:1.5.0:push
> (default-cli) on project test: Zanata mojo exception: operation returned
> 400 (Bad Request): , uri:
> http://srvbldbrn:8380/zanata/rest/projects/p/test/iterations/i/1.0/r,
> annotations: [@javax.ws.rs.PUT(), @javax.ws.rs.Path(value=
> {id})] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> C:\Projects\lefebvre\zanatatest>
>
> Do i make something wrong ?
>
> Is there is a relation with the warning about org.jboss.resteasy pom
> missing ?
>
> my zanata.xml file looks like
>
>
> http://xxxxxxx/zanata/
> test
> 1.0
> properties
>
>
> de
> fr
>
>
>
>
> Thanks for your help .
>
> Greg
--
Sean Flanigan
Senior Software Engineer
Engineering - Internationalisation
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pom.xml
Type: text/xml
Size: 2160 bytes
Desc: not available
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL:
From ghynxmail at gmail.com Thu Jun 28 09:31:22 2012
From: ghynxmail at gmail.com (Gregoire Henry)
Date: Thu, 28 Jun 2012 11:31:22 +0200
Subject: [zanata-users] Help requested
In-Reply-To: <4FEBB28A.1080705@redhat.com>
References:
<4FEBB28A.1080705@redhat.com>
Message-ID:
Hi Carlos and Sean
Thanks for your reply .
1.6.1-SNAPSHOT does the job , i can push my files on the server.
i've seen something strange , server doesn't accept files if i don't put
en-US in the project languages, i try to
set fr-FR in the mvn clietn
properties as french is my primary language but it still refuse the files ,
if i put en-US as availlable language in the project the file is accepted
..
[WARNING] client API version is 1.6.0-alpha-2, but server API version is
1.5.0
[INFO] Server: http://srvbldbrn:8380/zanata/
[INFO] Project: test
[INFO] Version: 1.0
[INFO] Username: admin
[INFO] Project type: properties
[INFO] Source language: fr-FR
[INFO] Copy previous translations: true
[INFO] Merge type: auto
[INFO] Enable modules: false
[INFO] Include patterns:
[INFO] Exclude patterns:
[INFO] Default excludes: true
[INFO] Pushing source documents only
[INFO] Source directory (originals): C:\Projects\lefebvre\zanatatest\pot
[INFO] Found source document: analytique_entities
[INFO] pushing source doc [name=analytique_entities size=596] to server
. 0 secs
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2.828s
[INFO] Finished at: Thu Jun 28 10:22:52 CEST 2012
[INFO] Final Memory: 9M/124M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.zanata:zanata-maven-plugin:1.6.1-SNAPSHOT:push (default-cli) on project
test: Zanata mojo exception: operation returned 403 (Forbidden): Locale
en-US is not enabled on this server. Please contact admin., uri:
http://srvbldbrn:8380/zanata/rest/projects/p/test/iterat
ions/i/1.0/r, annotations: [@javax.ws.rs.PUT(),
@javax.ws.rs.Path(value={id})] -> [Help 1]
Anyway , i'll continue my tests
Regards
2012/6/28 Sean Flanigan
> Hi Greg,
>
> As Carlos said, it's because the Maven client doesn't handle backslash
> characters.
>
> I've put in https://bugzilla.redhat.com/show_bug.cgi?id=836054
>
> If you update the client version to 1.6.1-SNAPSHOT, it should fix the
> problem. Please let me know what you find.
>
>
> On an unrelated note: any time you end up with "pot" as part of the
> filename (eg "Found source document: pot\analytique_entities"), "pot"
> will end up in the output filename too. That's usually not what you
> want. If you have configured srcDir as "." (the default), you may want
> srcDir to be "pot" instead.
>
> Regards
>
> Sean.
>
> On 2012-06-28 00:29, Gregoire Henry wrote:
> > Hello
> > I'm trying to test zenata for my own project ..
> > I've succesfully setup zenata server on a win 2003 server
> > i've created a test project and added some language in it (fr,de)
> > I 'm trying to push some files from a test project using maven client
> > (1.5.0 and 1.6.0) . (test made with gettext .pot files and java
> > .properties files)
> >
> > each push failled with the following error
> >
> > C:\Projects\lefebvre\zanatatest>mvn zanata:push -B
> > [INFO] Scanning for projects...
> > [INFO]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Building test 0.0.1-SNAPSHOT
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO]
> > [INFO] --- zanata-maven-plugin:1.5.0:push (default-cli) @ test ---
> > [WARNING] The POM for
> > org.jboss.resteasy:resteasy-jaxb-provider:jar:2.1.0.GA
> > is missing, no dependency information available
> > [INFO] Loading project config from
> > C:\Projects\lefebvre\zanatatest\zanata.xml
> > [INFO] Loading user config from
> C:\Projects\lefebvre\zanatatest\zanata.ini
> > [INFO] client API version: 1.5.0, server API version: 1.5.0
> > [INFO] Server: http://srvbldbrn:8380/zanata/
> > [INFO] Project: test
> > [INFO] Version: 1.0
> > [INFO] Username: admin
> > [INFO] Project type: properties
> > [INFO] Source language: fr
> > [INFO] Copy previous translations: true
> > [INFO] Merge type: auto
> > [INFO] Enable modules: false
> > [INFO] Include patterns:
> > [INFO] Exclude patterns:
> > [INFO] Default excludes: true
> > [INFO] Pushing source documents only
> > [INFO] Source directory (originals): C:\Projects\lefebvre\zanatatest
> > [INFO] Found source document: pot\analytique_entities
> > [INFO] pushing source doc [name=pot\analytique_entities size=596] to
> server
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 2.465s
> > [INFO] Finished at: Wed Jun 27 16:11:54 CEST 2012
> > [INFO] Final Memory: 8M/121M
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal org.zanata:zanata-maven-plugin:1.5.0:push
> > (default-cli) on project test: Zanata mojo exception: operation returned
> > 400 (Bad Request): , uri:
> > http://srvbldbrn:8380/zanata/rest/projects/p/test/iterations/i/1.0/r,
> > annotations: [@javax.ws.rs.PUT(), @javax.ws.rs.Path(value=
> > {id})] -> [Help 1]
> > [ERROR]
> > [ERROR] To see the full stack trace of the errors, re-run Maven with the
> > -e switch.
> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> > [ERROR]
> > [ERROR] For more information about the errors and possible solutions,
> > please read the following articles:
> > [ERROR] [Help 1]
> > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> > C:\Projects\lefebvre\zanatatest>
> >
> > Do i make something wrong ?
> >
> > Is there is a relation with the warning about org.jboss.resteasy pom
> > missing ?
> >
> > my zanata.xml file looks like
> >
> >
> > http://xxxxxxx/zanata/
> > test
> > 1.0
> > properties
> >
> >
> > de
> > fr
> >
> >
> >
> >
> > Thanks for your help .
> >
> > Greg
>
>
> --
> Sean Flanigan
>
> Senior Software Engineer
> Engineering - Internationalisation
> Red Hat
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From camunoz at redhat.com Fri Jun 29 01:20:57 2012
From: camunoz at redhat.com (Carlos Munoz)
Date: Fri, 29 Jun 2012 11:20:57 +1000
Subject: [zanata-users] Help requested
In-Reply-To:
References:
<4FEBB28A.1080705@redhat.com>
Message-ID: <4FED02F9.9050608@redhat.com>
Hi Greg,
Glad to hear it works now and thanks for the feedback. I've created a
bug: https://bugzilla.redhat.com/show_bug.cgi?id=836408 to track the
issue with 'en-US'. Let us know if you have any other questions or issues.
Regards,
Carlos A. Munoz
Senior Software Engineer
Engineering - Internationalisation
Red Hat
On 06/28/2012 07:31 PM, Gregoire Henry wrote:
> Hi Carlos and Sean
>
> Thanks for your reply .
>
> 1.6.1-SNAPSHOT does the job , i can push my files on the server.
>
> i've seen something strange , server doesn't accept files if i
> don't put en-US in the project languages, i try to set
> fr-FR in the mvn clietn
> properties as french is my primary language but it still refuse
> the files , if i put en-US as availlable language in the project
> the file is accepted ..
>
> [WARNING] client API version is 1.6.0-alpha-2, but server API
> version is 1.5.0 [INFO] Server: http://srvbldbrn:8380/zanata/
> [INFO] Project: test [INFO] Version: 1.0 [INFO] Username: admin
> [INFO] Project type: properties [INFO] Source language: fr-FR
> [INFO] Copy previous translations: true [INFO] Merge type: auto
> [INFO] Enable modules: false [INFO] Include patterns: [INFO]
> Exclude patterns: [INFO] Default excludes: true [INFO] Pushing
> source documents only [INFO] Source directory (originals):
> C:\Projects\lefebvre\zanatatest\pot [INFO] Found source document:
> analytique_entities [INFO] pushing source doc
> [name=analytique_entities size=596] to server . 0 secs [INFO]
> ------------------------------------------------------------------------
>
>
[INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
>
>
[INFO] Total time: 2.828s
> [INFO] Finished at: Thu Jun 28 10:22:52 CEST 2012 [INFO] Final
> Memory: 9M/124M [INFO]
> ------------------------------------------------------------------------
>
>
[ERROR] Failed to execute goal
> org.zanata:zanata-maven-plugin:1.6.1-SNAPSHOT:push (default-cli)
> on project test: Zanata mojo exception: operation returned 403
> (Forbidden): Locale en-US is not enabled on this server. Please
> contact admin., uri:
> http://srvbldbrn:8380/zanata/rest/projects/p/test/iterat
> ions/i/1.0/r, annotations: [@javax.ws.rs.PUT(),
> @javax.ws.rs.Path(value={id})] -> [Help 1]
>
>
> Anyway , i'll continue my tests
>
> Regards
>
>
>
>
> 2012/6/28 Sean Flanigan >
>
> Hi Greg,
>
> As Carlos said, it's because the Maven client doesn't handle
> backslash characters.
>
> I've put in https://bugzilla.redhat.com/show_bug.cgi?id=836054
>
> If you update the client version to 1.6.1-SNAPSHOT, it should fix
> the problem. Please let me know what you find.
>
>
> On an unrelated note: any time you end up with "pot" as part of
> the filename (eg "Found source document: pot\analytique_entities"),
> "pot" will end up in the output filename too. That's usually not
> what you want. If you have configured srcDir as "." (the default),
> you may want srcDir to be "pot" instead.
>
> Regards
>
> Sean.
>
> On 2012-06-28 00:29, Gregoire Henry wrote:
>> Hello I'm trying to test zenata for my own project .. I've
>> succesfully setup zenata server on a win 2003 server i've created
>> a test project and added some language in it (fr,de) I 'm trying
>> to push some files from a test project using maven client (1.5.0
>> and 1.6.0) . (test made with gettext .pot files and java
>> .properties files)
>>
>> each push failled with the following error
>>
>> C:\Projects\lefebvre\zanatatest>mvn zanata:push -B [INFO]
>> Scanning for projects... [INFO] [INFO]
>>
> ------------------------------------------------------------------------
>
> [INFO] Building test 0.0.1-SNAPSHOT
>> [INFO]
>>
> ------------------------------------------------------------------------
>
> [INFO]
>> [INFO] --- zanata-maven-plugin:1.5.0:push (default-cli) @ test
>> --- [WARNING] The POM for
>> org.jboss.resteasy:resteasy-jaxb-provider:jar:2.1.0.GA
>
>> is missing, no dependency information available [INFO] Loading
>> project config from C:\Projects\lefebvre\zanatatest\zanata.xml
>> [INFO] Loading user config from
> C:\Projects\lefebvre\zanatatest\zanata.ini
>> [INFO] client API version: 1.5.0, server API version: 1.5.0
>> [INFO] Server: http://srvbldbrn:8380/zanata/ [INFO] Project:
>> test [INFO] Version: 1.0 [INFO] Username: admin [INFO] Project
>> type: properties [INFO] Source language: fr [INFO] Copy previous
>> translations: true [INFO] Merge type: auto [INFO] Enable modules:
>> false [INFO] Include patterns: [INFO] Exclude patterns: [INFO]
>> Default excludes: true [INFO] Pushing source documents only
>> [INFO] Source directory (originals):
>> C:\Projects\lefebvre\zanatatest [INFO] Found source document:
>> pot\analytique_entities [INFO] pushing source doc
>> [name=pot\analytique_entities size=596]
> to server
>> [INFO]
>>
> ------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
>> [INFO]
>>
> ------------------------------------------------------------------------
>
> [INFO] Total time: 2.465s
>> [INFO] Finished at: Wed Jun 27 16:11:54 CEST 2012 [INFO] Final
>> Memory: 8M/121M [INFO]
>>
> ------------------------------------------------------------------------
>
> [ERROR] Failed to execute goal
> org.zanata:zanata-maven-plugin:1.5.0:push
>> (default-cli) on project test: Zanata mojo exception: operation
> returned
>> 400 (Bad Request): , uri:
>> http://srvbldbrn:8380/zanata/rest/projects/p/test/iterations/i/1.0/r,
>
>>
> annotations: [@javax.ws.rs.PUT(), @javax.ws.rs.Path(value=
>> {id})] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of
>> the errors, re-run Maven
> with the
>> -e switch. [ERROR] Re-run Maven using the -X switch to enable
>> full debug logging. [ERROR] [ERROR] For more information about
>> the errors and possible solutions, please read the following
>> articles: [ERROR] [Help 1]
>>
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>
> C:\Projects\lefebvre\zanatatest>
>>
>> Do i make something wrong ?
>>
>> Is there is a relation with the warning about org.jboss.resteasy
>> pom missing ?
>>
>> my zanata.xml file looks like > encoding="UTF-8" standalone="yes"?> > xmlns="http://zanata.org/namespace/config/">
>> http://xxxxxxx/zanata/ test
>> 1.0
>> properties
>>
>> de fr
>>
>>
>>
>> Thanks for your help .
>>
>> Greg
>
>
> -- Sean Flanigan
>
> Senior Software Engineer Engineering - Internationalisation Red
> Hat
>
>
>
>
> _______________________________________________ zanata-users
> mailing list zanata-users at redhat.com
> https://www.redhat.com/mailman/listinfo/zanata-users