You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have participated at last week's "IIIF Outreach MUTEC", which was very interesting!
One information I have taken with me, that you have developed this nice METS to IIIF-manifest tool.
I have started to build/install this tool following the README with just cloning the repository and calling "./gradlew clean build".
I use an Windows environment (if somehow a Linux environment would be better, please tell me, how I can install it there - I can support Linux also).
A few smaller topics I have found out by my own (maybe you could add a hint in the documentation, please):
The cloned respository should be in a path with no "spaces" included
But now I encounter some errors, which I need some support for, please:
All this errors are during the automatically performed Unit-Tests.
13:16:51.978 [main] DEBUG de.ubleipzig.iiifproducer.doc.ResourceLoader - Loading MetsData from File C:\Daten\iiif-producer/invalid-path
java.io.FileNotFoundException: C:\Daten\iiif-producer\invalid-path (The system cannot find the file specified)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:112)
at java.base/sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:86)
at java.base/sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:184)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:654)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:150)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:860)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:824)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:246)
at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
at java.xml/javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:206)
at org.xmlbeam.io.XBFileIO.read(XBFileIO.java:80)
at de.ubleipzig.iiifproducer.doc.MetsManifestBuilder.getMetsFromFile(MetsManifestBuilder.java:54)
at de.ubleipzig.iiifproducer.doc.ResourceLoader.getMets(ResourceLoader.java:48)
<... more stack trace ...>
<... more successful Unit Tests ...>
3. Exception case B
13:16:52.020 [main] DEBUG de.ubleipzig.iiifproducer.doc.ResourceLoader - Loading MetsData from File C:\Daten\iiif-producer/invalid-path
java.io.FileNotFoundException: C:\Daten\iiif-producer\invalid-path (The system cannot find the file specified)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:112)
at java.base/sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:86)
at java.base/sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:184)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:654)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:150)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:860)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:824)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:246)
at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
at java.xml/javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:206)
at org.xmlbeam.io.XBFileIO.read(XBFileIO.java:80)
at de.ubleipzig.iiifproducer.doc.MetsManifestBuilder.getMetsFromFile(MetsManifestBuilder.java:54)
at de.ubleipzig.iiifproducer.doc.ResourceLoader.getMets(ResourceLoader.java:48)
<... more stack trace ...>
<... more successful Unit Tests ...>
3. Exception case C
13:17:38.850 [main] DEBUG de.ubleipzig.iiifproducer.doc.ResourceLoader - Loading MetsData from File C:\Daten\iiif-producer/producer/src/test/resources/ArumDomi_034678301.xml
Failures (11):
JUnit Jupiter:ArgParserTest:testOptionalArgs2()
MethodSource [className = 'de.ubleipzig.iiifproducer.producer.ArgParserTest', methodName = 'testOptionalArgs2', methodParameterTypes = '']ormTest
=> java.lang.IllegalArgumentException: Illegal character in path at index 44: https://iiif.ub.uni-leipzig.de/iiif/j2k/0000\0045\0000004595\00000001.jpx
java.base/java.net.URI.create(URI.java:883)
org.apache.commons.rdf.simple.IRIImpl.(IRIImpl.java:33)
org.apache.commons.rdf.simple.SimpleRDF.createIRI(SimpleRDF.java:82)
de.ubleipzig.iiifproducer.producer.IRIBuilder.buildServiceIRI(IRIBuilder.java:72)
de.ubleipzig.iiifproducer.producer.IIIFProducer.buildManifest(IIIFProducer.java:159)
de.ubleipzig.iiifproducer.producer.IIIFProducer.run(IIIFProducer.java:75)
de.ubleipzig.iiifproducer.producer.ArgParserTest.testOptionalArgs2(ArgParserTest.java:112)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[...]
JUnit Jupiter:ArgParserTest:testOptionalArgs()
MethodSource [className = 'de.ubleipzig.iiifproducer.producer.ArgParserTest', methodName = 'testOptionalArgs', methodParameterTypes = '']
=> java.lang.IllegalArgumentException: Illegal character in path at index 44: https://iiif.ub.uni-leipzig.de/iiif/j2k/0000\0045\0000004595\00000001.jpx
java.base/java.net.URI.create(URI.java:883)
org.apache.commons.rdf.simple.IRIImpl.(IRIImpl.java:33)
org.apache.commons.rdf.simple.SimpleRDF.createIRI(SimpleRDF.java:82)
de.ubleipzig.iiifproducer.producer.IRIBuilder.buildServiceIRI(IRIBuilder.java:72)
de.ubleipzig.iiifproducer.producer.IIIFProducer.buildManifest(IIIFProducer.java:159)
<... more stack trace ...>
**Finally:**
Test run finished after 85547 ms
[ 10 containers found ]
[ 0 containers skipped ]
[ 10 containers started ]
[ 0 containers aborted ]
[ 10 containers successful ]
[ 0 containers failed ]
[ 29 tests found ]
[ 0 tests skipped ]
[ 29 tests started ]
[ 0 tests aborted ]
[ 18 tests successful ]
[ 11 tests failed ]
The text was updated successfully, but these errors were encountered:
Hi,
I have participated at last week's "IIIF Outreach MUTEC", which was very interesting!
One information I have taken with me, that you have developed this nice METS to IIIF-manifest tool.
I have started to build/install this tool following the README with just cloning the repository and calling "./gradlew clean build".
I use an Windows environment (if somehow a Linux environment would be better, please tell me, how I can install it there - I can support Linux also).
A few smaller topics I have found out by my own (maybe you could add a hint in the documentation, please):
But now I encounter some errors, which I need some support for, please:
All this errors are during the automatically performed Unit-Tests.
1. "Unrecognized option: -q"
<... more successful Unit Tests ...>
2. Exception case A
<... more successful Unit Tests ...>
3. Exception case B
<... more successful Unit Tests ...>
3. Exception case C
13:17:38.850 [main] DEBUG de.ubleipzig.iiifproducer.doc.ResourceLoader - Loading MetsData from File C:\Daten\iiif-producer/producer/src/test/resources/ArumDomi_034678301.xml
Failures (11):
JUnit Jupiter:ArgParserTest:testOptionalArgs2()
MethodSource [className = 'de.ubleipzig.iiifproducer.producer.ArgParserTest', methodName = 'testOptionalArgs2', methodParameterTypes = '']ormTest
=> java.lang.IllegalArgumentException: Illegal character in path at index 44: https://iiif.ub.uni-leipzig.de/iiif/j2k/0000\0045\0000004595\00000001.jpx
java.base/java.net.URI.create(URI.java:883)
org.apache.commons.rdf.simple.IRIImpl.(IRIImpl.java:33)
org.apache.commons.rdf.simple.SimpleRDF.createIRI(SimpleRDF.java:82)
de.ubleipzig.iiifproducer.producer.IRIBuilder.buildServiceIRI(IRIBuilder.java:72)
de.ubleipzig.iiifproducer.producer.IIIFProducer.buildManifest(IIIFProducer.java:159)
de.ubleipzig.iiifproducer.producer.IIIFProducer.run(IIIFProducer.java:75)
de.ubleipzig.iiifproducer.producer.ArgParserTest.testOptionalArgs2(ArgParserTest.java:112)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[...]
JUnit Jupiter:ArgParserTest:testOptionalArgs()
MethodSource [className = 'de.ubleipzig.iiifproducer.producer.ArgParserTest', methodName = 'testOptionalArgs', methodParameterTypes = '']
=> java.lang.IllegalArgumentException: Illegal character in path at index 44: https://iiif.ub.uni-leipzig.de/iiif/j2k/0000\0045\0000004595\00000001.jpx
java.base/java.net.URI.create(URI.java:883)
org.apache.commons.rdf.simple.IRIImpl.(IRIImpl.java:33)
org.apache.commons.rdf.simple.SimpleRDF.createIRI(SimpleRDF.java:82)
de.ubleipzig.iiifproducer.producer.IRIBuilder.buildServiceIRI(IRIBuilder.java:72)
de.ubleipzig.iiifproducer.producer.IIIFProducer.buildManifest(IIIFProducer.java:159)
<... more stack trace ...>
Test run finished after 85547 ms
[ 10 containers found ]
[ 0 containers skipped ]
[ 10 containers started ]
[ 0 containers aborted ]
[ 10 containers successful ]
[ 0 containers failed ]
[ 29 tests found ]
[ 0 tests skipped ]
[ 29 tests started ]
[ 0 tests aborted ]
[ 18 tests successful ]
[ 11 tests failed ]
The text was updated successfully, but these errors were encountered: