-
Notifications
You must be signed in to change notification settings - Fork 0
Biblissima Report #1
Description
Here is the bug report in details :
Environment :
- Kickstart VM (from the ova file) running on local Virtualbox (I reset the root password of Ubuntu, in order to open/edit protected files)
- Host : Mac OS 10.8.3
- Browser on host : last version of Firefox (19.0.2)
- When I browse local collections (ex : Manuscripts provided by Stanford University Libraries : Manuscript fragment of the Gospels and Canonical Epistles, glossed) :
the "Simple image" tab is ok, I can see the image when I click on a folio item
the "Gallery view" tab is ok, thumbnails display well...
=> but when I double-click on a thumbnail : the image viewer opens in a pop-up but no image appears (infinite gif loader), though there is no HTTP error code (http://localhost:8080/dms/sc/Stanford/kq131cs7229/images/kq131cs7229_05_0032_xlarge.jp2?w=500 --> HTTP status code : 200 OK)
in "Zoom image" tab, nothing happens (no request sent, no error)
same behaviour in "RDF Data" tab
- When I try to import a collection (I ran the test with a zip file containing a few jpeg images of a manuscript from The Digital Walters) :
When I click on "Generate" button to submit the form, no validation/error message appears on the interface, but in Firebug console :
- PUT request seems ok (HTTP response = http://localhost:8080/dms/sc/ingested/TDW)
- there is a JS error in "dms/js/import.js" :
ReferenceError: request is not defined
http://localhost:8080/dms/js/import.js
Line 47
Then I checked the folder "/usr/local/SHARED_CANVAS_HOME/collections/ingested" :
- a new directory has been created (TDW), with some sub-folders ("/rdf" and "/rdf/sequences") and some n-triples files (Manifest.nt, ImageAnnotations.nt, OriginalSequence.nt)
In the Browse section, when I click on "Manuscripts ingested into local machine" :
- a JS alert pops up : InvalidDatatype: The datatype http://purl.org/dc/terms/W3CDTF can't be recognised
- and the message "Error loading this manifest" appears in menu (but loading is ok in console, no http error)
So I tried to edit "Manifest.nt" in my TDW folder (removing all triples containing "http://purl.org/dc/terms/W3CDTF" as object)
- after that, the above error messages disappeared and the title of the manifest displays well in the menu
- but when I click on the menu link : 500 Error : http://localhost:8080/dms/sc/ingested/TDW/sequences/optimized/OriginalSequence.json
Error detailed In Tomcat logs (catalina.out) :
Mar 21, 2013 11:20:55 PM com.sun.jersey.spi.container.ContainerResponse mapMappableContainerException
SEVERE: The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
com.hp.hpl.jena.shared.JenaException: Cannot convert node http://localhost:8080/dms/sc/ingested/TDW/sequences/OriginalSequence to RDFList
com.hp.hpl.jena.rdf.model.impl.RDFListImpl$1.wrap(RDFListImpl.java:81)
com.hp.hpl.jena.enhanced.EnhNode.convertTo(EnhNode.java:155)
com.hp.hpl.jena.enhanced.EnhNode.convertTo(EnhNode.java:34)
com.hp.hpl.jena.enhanced.Polymorphic.asInternal(Polymorphic.java:66)
com.hp.hpl.jena.enhanced.EnhNode.as(EnhNode.java:110)
edu.stanford.dmstech.vm.uriresolvers.OptimizedManuscriptPageList.extractSingleRDFListFromModel(OptimizedManuscriptPageList.java:84)
edu.stanford.dmstech.vm.uriresolvers.OptimizedManuscriptPageList.resultFromModel(OptimizedManuscriptPageList.java:57)
edu.stanford.dmstech.vm.uriresolvers.OptimizedManuscriptPageList.getCombinedSequenceAndImages(OptimizedManuscriptPageList.java:43)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
PS :
I set debug mode in these two files :
- DEBUG in /usr/local/apache-tomcat-7.0.27/webapps/djatoka/WEB-INF/classes/log4j.properties
- DEBUG in /usr/local/adore-djatoka-1.1/bin/log4j.properties
... but I can't see any error messages (except the above-mentioned "SEVERE" one) in "/usr/local/SHARED_CANVAS_HOME/logs/logs.txt" nor "/usr/local/apache-tomcat-7.0.27/logs/catalina.out" nor "/djakota.log".