Description of problem: getting error while po file push /usr/lib/jvm/java [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building null 0 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- zanata-maven-plugin:1.7.4:push (default-cli) @ null --- [INFO] Please report Zanata bugs here: https://bugzilla.redhat.com/enter_bug.cgi?format=guided&product=Zanata [INFO] Loading project config from /NotBackedUp/svn/system-config-language/trunk/po/zanata.xml [INFO] Loading user config from /home/psatpute/.config/zanata.ini [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.676s [INFO] Finished at: Fri Nov 09 14:41:42 IST 2012 [INFO] Final Memory: 12M/100M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.zanata:zanata-maven-plugin:1.7.4:push (default-cli) on project null: Zanata mojo exception: Could not find JAXBContextFinder for media type: text/html;charset="iso-8859-1" -> [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 Version-Release number of selected component (if applicable): maven-3.0.4-14.fc17.noarch How reproducible: everytime Steps to Reproduce: 1. trying to push po files for system-config-language 2. mvn zanata:push -Dzanata.pushType=both 3. Actual results: error Expected results: should work properly Additional info:
The said error could be reproduced with zanata-maven-plugin version 1.7.5 . Also, the error is similar to following RH bz: Bug 805775 - confusing error: failed to upload glossary due to wrong an API key
Please run with the '-e' option and give us the stack trace. Thanks. $ mvn -e zanata:push -Dzanata.pushType=both
working with mentioned command. Thanks.
Actually -e just tells Maven to generate longer error messages, it wouldn't fix anything. I think this happened because the server was down, the Apache proxy returned 503, and the client produced an unhelpful error message.
I think we still need to improve the error handling in the case of a 503.
https://github.com/zanata/zanata-client/pull/3
Should we mark this ON_QA now?
VERIFIED with Zanata version 3.2-SNAPSHOT (20131127-0039) zanata-maven-plugin:3.1.2