Hi, For anyone that is using Zanata Client version 4.2.4, we have identified an issue in that version that breaks push/pull command when working with Zanata server < 4.2.4 https://translate.zanata.org <https://translate.zanata.org/project/view/pfsense> https://fedora.zanata.org <https://translate.zanata.org/project/view/pfsense> https://translate.jboss.org
Please *downgrade to version* *4.2.1 or upgrade to version > 4.2.4* as a workaround. ---------- Forwarded message ---------- From: Alex Eng <a...@redhat.com> Date: Thu, Sep 21, 2017 at 8:05 AM Subject: Re: [zanata-users] Unable to download .po files this mornng To: Stephen beaver <sbea...@netgate.com> Stephen, Seems like a client version used is causing the issue. How did you install the zanata-cli? Try version 4.2.1 or 4.3.0-alpha-1 <https://search.maven.org/#artifactdetails%7Corg.zanata%7Czanata-cli%7C4.3.0-alpha-1%7Ctakari-jar> which I tested and it works. On Thu, Sep 21, 2017 at 8:00 AM, Stephen beaver <sbea...@netgate.com> wrote: > My Colleague Renato is a co-maintainer. > > Steve > -- > Als ik kan > > > > On Sep 20, 2017, at 5:58 PM, Alex Eng <a...@redhat.com> wrote: > > Hi Stephen, > > Are you a maintainer for this project? https://translate.zan > ata.org/project/view/pfsense > or a translator? > > On Wed, Sep 20, 2017 at 9:48 PM, Stephen Beaver <sbea...@netgate.com> > wrote: > >> zanata-cli -e -B pull >> >> ⏎ master ⬆ >> [INFO] Loading project config from zanata.xml >> [INFO] Loading user config from /Users/xxxx/.config/zanata.ini >> [INFO] Error stacktraces are turned on. >> [INFO] client API version: 4.2.4, server API version: 3.9.1 >> [WARN] client API version is 4.2.4, but server API version is 3.9.1 >> [INFO] Server: https://translate.zanata.org/ >> [INFO] Project: xxxxxxx >> [INFO] Version: 2.4 >> [INFO] Username: xxxxxx >> [INFO] Project type: gettext >> [INFO] Enable modules: false >> [INFO] Using ETag cache: true >> [INFO] Purging ETag cache beforehand: false >> [INFO] Locales to pull: [bg, me-ME, fr, bn-BD, br, bs, si, ka, mai, sk, >> sl, ga, bn-IN, ca, sq, kk, kn, or, sv, ko, anp, sw, gl, es-MX, srd, de-DE, >> ta, gu, ky, cs, pt-BR, sr-Latn, xh, es-ES, te, pa, th, es-AR, la, cy, tl, >> sr-Cyrl, pl, da, he, tr, nds, en-US, hi, ast, zh-CN, lt, hr, lv, ht, hu, >> hy, ta-IN, uk, id, mk, ml, zh-TW, zh-HK, mn, mr, af, ms, zh-Hant-TW, el, >> brx, is, eo, it, am, es, et, eu, ar, as, vi, nb, ja, ne, az, fa, pt-PT, ro, >> nl, en-GB, nn, zh-Hans-CN, fi, ru] >> [INFO] Encode tab as \t: true >> [INFO] Current directory: /Users/garga/work/pfsense/pfsense >> [INFO] Pulling target documents (translations) only >> [INFO] Target-language base directory (translations): >> src/usr/local/share/locale >> [INFO] Minimum accepted translation percentage (message based): 0% >> [INFO] Create skeletons for untranslated messages/files: false >> [INFO] Pulling 1 of 1 docs for this module from the server >> [ERROR] Operation failed: javax.ws.rs.NotFoundException: operation to [ >> https://translate.zanata.org/rest/projects/p/pfsense/iterat >> ions/i/2.4/resource?docId=pfSense&ext=gettext&ext=comment] returned 404 >> (Not Found)::<html><head><title>JBWEB000065: HTTP Status 404 - >> </title><style><!--H1 {font-family:Tahoma,Arial,sans >> -serif;color:white;background-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,sans-serif;color:white;background-color:#525D76;font-size:14px;} >> BODY >> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} >> B {font-family:Tahoma,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>JBWEB000065: HTTP Status 404 - </h1><HR size="1" >> noshade="noshade"><p><b>JBWEB000309: type</b> JBWEB000067: Status >> report</p><p><b>JBWEB000068: message</b> <u></u></p><p><b>JBWEB000069: >> description</b> <u>JBWEB000124: The requested resource is not >> available.</u></p><HR size="1" noshade="noshade"></body></html> >> To retry from the last document, please set the following option(s): >> --from-doc "pfSense" >> . >> [ERROR] Execution failed: >> java.lang.RuntimeException: javax.ws.rs.NotFoundException: operation to [ >> https://translate.zanata.org/rest/projects/p/pfsense/iterat >> ions/i/2.4/resource?docId=pfSense&ext=gettext&ext=comment] returned 404 >> (Not Found)::<html><head><title>JBWEB000065: HTTP Status 404 - >> </title><style><!--H1 {font-family:Tahoma,Arial,sans >> -serif;color:white;background-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,sans-serif;color:white;background-color:#525D76;font-size:14px;} >> BODY >> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} >> B {font-family:Tahoma,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>JBWEB000065: HTTP Status 404 - </h1><HR size="1" >> noshade="noshade"><p><b>JBWEB000309: type</b> JBWEB000067: Status >> report</p><p><b>JBWEB000068: message</b> <u></u></p><p><b>JBWEB000069: >> description</b> <u>JBWEB000124: The requested resource is not >> available.</u></p><HR size="1" noshade="noshade"></body></html> >> at org.zanata.client.commands.pull.PullCommand.run(PullCommand. >> java:280) >> at org.zanata.client.commands.ConfigurableCommand.runWithAction >> s(ConfigurableCommand.java:110) >> at org.zanata.client.commands.ArgsUtil.runCommand(ArgsUtil.java:49) >> at org.zanata.client.ZanataClient.processArgs(ZanataClient.java:182) >> at org.zanata.client.ZanataClient.main(ZanataClient.java:103) >> Caused by: javax.ws.rs.client.ResponseProcessingException: >> javax.ws.rs.NotFoundException: operation to [ >> https://translate.zanata.org/rest/projects/p/pfsense/iterat >> ions/i/2.4/resource?docId=pfSense&ext=gettext&ext=comment] returned 404 >> (Not Found)::<html><head><title>JBWEB000065: HTTP Status 404 - >> </title><style><!--H1 {font-family:Tahoma,Arial,sans >> -serif;color:white;background-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,sans-serif;color:white;background-color:#525D76;font-size:14px;} >> BODY >> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} >> B {font-family:Tahoma,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>JBWEB000065: HTTP Status 404 - </h1><HR size="1" >> noshade="noshade"><p><b>JBWEB000309: type</b> JBWEB000067: Status >> report</p><p><b>JBWEB000068: message</b> <u></u></p><p><b>JBWEB000069: >> description</b> <u>JBWEB000124: The requested resource is not >> available.</u></p><HR size="1" noshade="noshade"></body></html> >> at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.in >> voke(ClientInvocation.java:455) >> at org.jboss.resteasy.client.jaxrs.internal.ClientInvocationBui >> lder.get(ClientInvocationBuilder.java:159) >> at org.zanata.rest.client.SourceDocResourceClient.getResource(S >> ourceDocResourceClient.java:89) >> at org.zanata.client.commands.pull.PullCommand.run(PullCommand. >> java:228) >> ... 4 more >> Caused by: javax.ws.rs.NotFoundException: operation to [ >> https://translate.zanata.org/rest/projects/p/pfsense/iterat >> ions/i/2.4/resource?docId=pfSense&ext=gettext&ext=comment] returned 404 >> (Not Found)::<html><head><title>JBWEB000065: HTTP Status 404 - >> </title><style><!--H1 {font-family:Tahoma,Arial,sans >> -serif;color:white;background-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,sans-serif;color:white;background-color:#525D76;font-size:14px;} >> BODY >> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} >> B {font-family:Tahoma,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>JBWEB000065: HTTP Status 404 - </h1><HR size="1" >> noshade="noshade"><p><b>JBWEB000309: type</b> JBWEB000067: Status >> report</p><p><b>JBWEB000068: message</b> <u></u></p><p><b>JBWEB000069: >> description</b> <u>JBWEB000124: The requested resource is not >> available.</u></p><HR size="1" noshade="noshade"></body></html> >> at org.zanata.rest.client.ResponseStatusFilter.filter(ResponseS >> tatusFilter.java:75) >> at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.in >> voke(ClientInvocation.java:447) >> ... 7 more >> ~/w/p/pfsense ❯❯❯ zanata-cli -v >> >> ⏎ master ⬆ >> zanata-cli >> Client version: 4.2.4 >> Client timestamp: unknown >> Client SCM describe: unknown >> API version: 4.2.4 >> API timestamp: unknown >> API SCM describe: unknown >> >> Steve >> -- >> Stephen Beaver | +1 (512) 646-4100 <(512)%20646-4100>;239 | >> sbea...@netgate.com | www.netgate.com >> >> >> _______________________________________________ >> zanata-users mailing list >> zanata-users@redhat.com >> https://www.redhat.com/mailman/listinfo/zanata-users >> > > > > -- > > ALEX ENG > > SENIOR SOFTWARE ENGINEER, team lead > > globalisation tooling, customer platform > > Red Hat Asia-Pacific Pty Ltd <https://www.redhat.com/> > > Brisbane, Australia > > a...@redhat.com M: +61423353457 IM: aeng > <https://red.ht/sig> > > -- ALEX ENG SENIOR SOFTWARE ENGINEER, team lead globalisation tooling, customer platform Red Hat Asia-Pacific Pty Ltd <https://www.redhat.com/> Brisbane, Australia a...@redhat.com M: +61423353457 IM: aeng <https://red.ht/sig> -- ALEX ENG SENIOR SOFTWARE ENGINEER, team lead globalisation tooling, customer platform Red Hat Asia-Pacific Pty Ltd <https://www.redhat.com/> Brisbane, Australia a...@redhat.com M: +61423353457 IM: aeng <https://red.ht/sig>
_______________________________________________ zanata-users mailing list zanata-users@redhat.com https://www.redhat.com/mailman/listinfo/zanata-users