Skip to content

Instantly share code, notes, and snippets.

@bibliotechy
Last active August 29, 2015 14:01
Show Gist options
  • Save bibliotechy/a238462cd09771ee06fc to your computer and use it in GitHub Desktop.
Save bibliotechy/a238462cd09771ee06fc to your computer and use it in GitHub Desktop.
Freelib djatoka errors on install
[DEBUG] 16:22:24.726 [ i.f.d.v.ImageServlet , cacheNewImage , 471 ] Renaming cache file from /opt/freelib-djatoka/target/tmpcache/cache2025681233-1150059950550828726.jpg to /opt/freelib-djatoka/target/cache/pairtree_root/--/=w/al/te/rs/=W/10/2_/00/00/59/_9/50/image_220-256_4096-4096-4096-3517.jpg
[DEBUG] 16:22:26.411 [ g.l.a.d.o.OpenURLJP2KService , resolve , 363 ] makingTile: /opt/freelib-djatoka/target/tmpcache/cache119161953-5843240478956513048.jpg 10791 params: {"reduce": "0", "level": "-1", "region": "8192,4096,2365,3517", "rotate": "0", "scalingFactor": "1.0", "scalingDims": "220,148", "compLayer": "0" }
[DEBUG] 16:22:26.412 [ g.l.a.d.o.OpenURLJP2KService , resolve , 424 ] Getting OpenURLResponse...
[DEBUG] 16:22:26.412 [ g.l.a.d.o.OpenURLJP2KService , resolve , 464 ] OpenURL service: [ -1 | 220,148 | 8192,4096,2365,3517 | 0 ] = --/walters/W102_000059_950_image_220-148_8192-4096-2365-3517.jpg
[DEBUG] 16:22:26.412 [ g.l.a.d.o.OpenURLJP2KService , resolve , 473 ] Setting cache session data [ --/walters/W102_000059_950_image_220-148_8192-4096-2365-3517.jpg | /opt/freelib-djatoka/target/tmpcache/cache119161953-5843240478956513048.jpg ]
[DEBUG] 16:22:26.414 [ i.f.d.v.ImageServlet , doGet , 122 ] Request is handled via the IIIFRequest shim
[DEBUG] 16:22:26.415 [ i.f.d.v.ImageServlet , checkImageCache , 422 ] /opt/freelib-djatoka/target/cache/pairtree_root/--/=w/al/te/rs/=W/10/2_/00/00/59/_9/50/image_238-256_0-0-8192-7613.jpg not found in cache
[DEBUG] 16:22:26.415 [ i.f.d.v.ImageServlet , serveNewImage , 453 ] Image requested: --/walters/W102_000059_950 - /resolve?url_ver=Z39.88-2004&rft_id=--%2Fwalters%2FW102_000059_950&svc_id=info:lanl-repo/svc/getRegion&svc_val_fmt=info:ofi/fmt:kev:mtx:jpeg2000&svc.format=image/jpeg&svc.region=0,0,8192,7613&svc.scale=238,256&svc.rotate=0
[DEBUG] 16:22:26.416 [ g.l.a.d.o.OpenURLJP2KService , resolve , 280 ] Service has a valid region request: 0,0,8192,7613
[DEBUG] 16:22:26.416 [ i.f.d.v.IdentifierResolver , getImageRecord , 117 ] Translating Referent descriptor into String ID: --/walters/W102_000059_950
[DEBUG] 16:22:26.416 [ i.f.d.v.IdentifierResolver , getCachedImage , 182 ] Checking in Pairtree file system for: --/walters/W102_000059_950
[DEBUG] 16:22:26.417 [ i.f.d.v.IdentifierResolver , getCachedImage , 197 ] JP2 found in Pairtree cache: /opt/freelib-djatoka/target/images/pairtree_root/--/=w/al/te/rs/=W/10/2_/00/00/59/_9/50/--=walters=W102_000059_950
[DEBUG] 16:22:26.418 [ i.f.d.v.IdentifierResolver , getCachedImage , 207 ] ** Returning JP2 image from getCachedImage() **
[DEBUG] 16:22:26.418 [ g.l.a.d.o.OpenURLJP2KService , resolve , 289 ] Retrieving ImageRecord for: --/walters/W102_000059_950
[DEBUG] 16:22:26.418 [ g.l.a.d.o.OpenURLJP2KService , resolve , 349 ] Temp file created: /opt/freelib-djatoka/target/tmpcache/cache218139756-4908178645322772061.jpg
[DEBUG] 16:22:26.418 [ i.f.d.v.ImageServlet , cacheNewImage , 471 ] Renaming cache file from /opt/freelib-djatoka/target/tmpcache/cache119161953-5843240478956513048.jpg to /opt/freelib-djatoka/target/cache/pairtree_root/--/=w/al/te/rs/=W/10/2_/00/00/59/_9/50/image_220-148_8192-4096-2365-3517.jpg
[WARN] 16:22:26.662 [ i.f.d.v.ImageServlet , cacheNewImage , 491 ] Couldn't cache (--/walters/W102_000059_950_image_238-256_0-0-8192-7613.jpg = /opt/freelib-djatoka/target/cache/pairtree_root/--/=w/al/te/rs/=W/10/2_/00/00/59/_9/50/image_238-256_0-0-8192-7613.jpg); session lacked new image information
[INFO] 16:22:27.282 [ o.e.j.s.l.ELContextCleaner , contextDestroyed , 63 ] javax.el.BeanELResolver purged
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running info.freelibrary.djatoka.util.OSDCacheUtilFunctionalTest
[INFO] 15:15:02.397 [ i.f.d.u.OSDCacheUtilFunctionalTest , testCachingTilePaths , 116 ] Testing OpenSeadragon tile generation
[INFO] 15:15:03.999 [ i.f.d.u.OSDCacheUtilFunctionalTest , testCachingTilePaths , 127 ] 500 tiles cached
[INFO] 15:15:05.001 [ i.f.d.u.OSDCacheUtilFunctionalTest , testCachingTilePaths , 127 ] 1000 tiles cached
[INFO] 15:15:05.707 [ i.f.d.u.OSDCacheUtilFunctionalTest , testCachingTilePaths , 127 ] 1500 tiles cached
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.572 sec <<< FAILURE! - in info.freelibrary.djatoka.util.OSDCacheUtilFunctionalTest
testCachingTilePaths(info.freelibrary.djatoka.util.OSDCacheUtilFunctionalTest) Time elapsed: 4.78 sec <<< FAILURE!
java.lang.AssertionError: Couldn't create a tile for: http://localhost:8888/iiif/--%2Fwalters%2FW102_000059_950/0,0,7613,8192/238,256/0/native.jpg [response code: 500 | content type: image/jpeg]
at org.junit.Assert.fail(Assert.java:88)
at info.freelibrary.djatoka.util.OSDCacheUtilFunctionalTest.testCachingTilePaths(OSDCacheUtilFunctionalTest.java:132)
Results :
Failed tests:
OSDCacheUtilFunctionalTest.testCachingTilePaths:132 Couldn't create a tile for: http://localhost:8888/iiif/--%2Fwalters%2FW102_000059_950/0,0,7613,8192/238,256/0/native.jpg [response code: 500 | content type: image/jpeg]
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment