-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to resolve relative URI #24
Comments
It appears that TimedTextVerifier.getCWDAsUri() is failing on Win platform, which hasn't been tested yet (by me). In the mean time, you may try using an absolute URI as a workaround, e.g., file:///C:/My%20Documents/prova.xml etc |
If you are able to build ttv from sources, you might try changing TimeTextVerifier:getCWDAsUri() as follows: return new URI("file://" + new File(".").getCanonicalPath().replace(File.separatorChar, '/') + File.separatorChar); to return new URI("file://" + new File(".").getCanonicalPath().replace(File.separatorChar, '/') + '/'); I haven't verified this quick fix yet. |
mmmhhh, this absolute URi is not clear for me. I have my prova.xml file on C:\Temp I tried various ways: but with no luck ... what should be the exact command ? Thanks From: Glenn Adams It appears that TimedTextVerifier.getCWDAsUri() is failing on Win platform, which hasn't been tested yet (by me). In the mean time, you may try using an absolute URI as a workaround, e.g., file:///C:/My%20Documents/prova.xml etc — |
ok thanks, in the meantime it seems to work as: the result is: Thanks From: Glenn Adams If you are able to build ttv from sources, you might try changing TimeTextVerifier:getCWDAsUri() as follows: return new URI("file://" + new File(".").getCanonicalPath().replace(File.separatorChar, '/') + File.separatorChar); to return new URI("file://" + new File(".").getCanonicalPath().replace(File.separatorChar, '/') + '/'); I haven't verified this quick fix yet. — |
On Thu, Aug 1, 2013 at 10:05 AM, Claudio1060 notifications@github.comwrote:
Could you check to see if the following also works? I'm just curious to file:///C:/Users/claudio/prova3.xml BTW, on the http://localhost/ ... that was intended to be a template of a |
Yes, it works. Thanks for the clarification on http://localhost ... Claudio From: Glenn Adams On Thu, Aug 1, 2013 at 10:05 AM, Claudio1060 notifications@github.comwrote:
Could you check to see if the following also works? I'm just curious to file:///C:/Users/claudio/prova3.xml BTW, on the http://localhost/ ... that was intended to be a template of a |
Hi Glenn, may be you can explain me this error ? The file SD_prova.ttml is attached. Thanks From: Glenn Adams On Thu, Aug 1, 2013 at 10:05 AM, Claudio1060 notifications@github.comwrote:
Could you check to see if the following also works? I'm just curious to file:///C:/Users/claudio/prova3.xml BTW, on the http://localhost/ ... that was intended to be a template of a |
Sounds like a separate bug. Could you email me the file you are encountering this in? I didn't see an attached file. |
I've attached again, this time compressed to zip file. From: Glenn Adams Sounds like a separate bug. Could you email me the file you are encountering this in? I didn't see an attached file. — |
For some reason, your attachments aren't making it through. Please email me directly at "glenn at skynav.com". Or you can upload the attachment to gist.github.com then add a link to it in a new comment to this issue. |
This issue (and the problem seen with your test file SD_Prova.ttml) has been fixed in Release 1.0.0a2. |
Hi Glenn, This is the output: From: Glenn Adams Could you run this again with the --debug-exceptions flag and send me the full console output? Thanks, G. On Mon, Aug 5, 2013 at 2:06 AM, Claudio-Ampersand S.a.s. claudio.orsini@ampersoftware.it wrote: Hi Glenn, [I]:Verifying resource presence and encoding phase (1)... [E]:{file://D/_aa/SD_prova.ttml}: D [I]:Failed, with 1 error. From: Glenn Adams This issue (and the problem seen with your test file SD_Prova.ttml) has been fixed in Release 1.0.0a2. — |
I uploaded a new Alpha 3 release today which should clear up the problem on On Thu, Aug 29, 2013 at 7:08 AM, Claudio1060 notifications@github.comwrote:
|
when I try to launch ttv:
java -jar ttv-bin-1.0.0a1.jar --verbose prova.xml
I receive that error:
Timed Text Verifier (TTV) [1.0.0a1] Copyright 2013 Skynav, Inc.
[I]:Verifying {prova.xml}.
[I]:Verifying resource presence and encoding phase (1)...
[E]:{prova.xml}: Unable to resolve relative URI: {prova.xml}
[I]:Failed, with 1 error.
[I]:Failed 1 resources.
My environment is:
Windows Vista Ultimate SP2
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing)
Any help will be appreciated
Thanks
The text was updated successfully, but these errors were encountered: