Hide Forgot
Description of problem: push and pull failed to work with zanata version 3.0.3 (The production servers). Version-Release number of selected component (if applicable): Client: zanata-client-2.2.0-3 Server: Zanata version 3.0.3 (20130919-2218). How reproducible: Always Steps to Reproduce: 1. Assume you already have a gettext project on translate.zanata.org and working zanata.xml and zanata.ini 2. zanata push -s . -t . Actual results: Error message: Exception in thread "main" java.lang.NoClassDefFoundError: org/fedorahosted/tennera/jgettext/catalog/parse/MessageStreamParser at org.zanata.adapter.po.PoReader2.createParser(PoReader2.java:278) at org.zanata.adapter.po.PoReader2.extractTemplate(PoReader2.java:200) at org.zanata.client.commands.push.AbstractGettextPushStrategy.loadSrcDoc(AbstractGettextPushStrategy.java:82) at org.zanata.client.commands.push.PushCommand.pushCurrentModule(PushCommand.java:375) at org.zanata.client.commands.push.PushCommand.run(PushCommand.java:205) at org.zanata.client.commands.ArgsUtil.process(ArgsUtil.java:83) at org.zanata.client.ZanataClient.processArgs(ZanataClient.java:150) at org.zanata.client.ZanataClient.main(ZanataClient.java:45) Caused by: java.lang.ClassNotFoundException: org.fedorahosted.tennera.jgettext.catalog.parse.MessageStreamParser at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 8 more Expected results: Work successfully. Additional info: maven client work with same configuration
I tested with https://translate.zanata.org/zanata/iteration/view/ibus-libpinyin/1.5.91 It works fine.
Hmm, after investigation. It turns out that I build the jgettext-0.13-3 by myself. Reinstalling jgettext-0.13-2 seems fixed this problem.