openlibrary/bookreader — Issue #14: Cover image fails for Magic-Mouse-2010-12
Author: EdwardBetts
Created: 2011-10-28 23:29:51+00:00
State: open

http://www.archive.org/download/Magic-Mouse-2010-12/page/cover_thumb.jpg redirects to http://ia600309.us.archive.org/BookReader/BookReaderPreview.php?id=Magic-Mouse-2010-12&itemPath=%2F31%2Fitems%2FMagic-Mouse-2010-12&server=ia600309.us.archive.org&page=cover_thumb.jpg and returns this:

Error serving request:
Image error: Problem processing image - command failed:
unzip -p '/31/items/Magic-Mouse-2010-12/Magic-Mouse-Teardown_jp2.zip' 'Magic-Mouse-Teardown_jp2/Magic-Mouse-Teardown_0000.jp2' | /petabox/sw/bin/kdu_expand -no_seek -quiet -reduce 5 -rotate 0 -region {0.000000,0.000000},{1.000000,1.000000} -i /dev/stdin -o /tmp/stdout.bmp | (bmptopnm 2>/dev/null) | pnmtojpeg -quality 75

Debugging information:
#0 /var/www/BookReader/BookReaderImages.inc.php(488): BookReaderImages->BRfatal('Problem process...')
#1 /var/www/BookReader/BookReaderImages.inc.php(208): BookReaderImages->serveRequest(Array)
#2 /var/www/BookReader/BookReaderPreview.php(46): BookReaderImages->serveLookupRequest(Array)
#3 {main}

Maybe the region needs to be quoted:

-region '{0.000000,0.000000},{1.000000,1.000000}'