computerline1z / okapi

Automatically exported from code.google.com/p/okapi
0 stars 0 forks source link

Okapi plugin crashes OmegaT with valid .ts file #322

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am trying to open a QTLinguist .ts file with OmegaT + Okapi plugin. However,
when I import the .ts file, I get an error message (and a crash):

"Failed to load specific project!
java.io.IOException: [file path]/[file name].ts
java.lang.IllegalArgumentException: Property
org.codehaus.stax2.reportPrologWhitespace is not supported"

I am using OmegaT 2.6.3 with the Okapi plugin version 0.2 on Linux (Ubuntu
12.04).
The Java version is OpenJDK Runtime Environment (IcedTea6 1.12.3)
(6b27-1.12.3-0ubuntu1~12.04.1)

Copying woodstox-core-lgpl-4.1.4.jar and stax2-api-3.1.1.jar from the Okapi 
tools distribution into the Okapi plugin directory of OmegaT didn't solve the 
problem.

Original issue reported on code.google.com by michael....@gmail.com on 30 Mar 2013 at 2:54

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by yves.sav...@gmail.com on 30 Mar 2013 at 3:33

GoogleCodeExporter commented 9 years ago
I've made some modification in the plug-in.
Could you check if it is now working for you?
The snapshot is here:
http://okapi.opentag.com/snapshots/
and the file: okapi-pluginForOmegaT_all-platforms_0.21-SNAPSHOT.zip
Thanks,
-ys

Original comment by yves.sav...@gmail.com on 31 Mar 2013 at 1:39

GoogleCodeExporter commented 9 years ago
Hey Yves,

This is wonderful - it is now working perfectly well.
I also checked that the generated output is still valid and can be imported by 
QTLinguist, and this works as well. As expected, the structure is preserved.

What could I do to thank you ?
Best regards,
Michael

Original comment by michael....@gmail.com on 31 Mar 2013 at 2:07

GoogleCodeExporter commented 9 years ago
Good. thanks for reporting the bug and following-up.
-ys

Original comment by yves.sav...@gmail.com on 31 Mar 2013 at 2:22