Okapi plugin crashes OmegaT with valid .ts file

Issue #322 resolved
Former user created an issue

Original issue 322 created by michael.mestre2... on 2013-03-30T14:54:13.000Z:

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.

Comments (4)

  1. Former user Account Deleted

    Comment 2. originally posted by @ysavourel on 2013-03-31T13:39:31.000Z:

    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

  2. Former user Account Deleted

    Comment 3. originally posted by michael.mestre2... on 2013-03-31T14:07:35.000Z:

    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

  3. Former user Account Deleted

    Comment 4. originally posted by @ysavourel on 2013-03-31T14:22:12.000Z:

    Good. thanks for reporting the bug and following-up.
    -ys

  4. Log in to comment