I have installed the xpdf support as per
http://jira.dspace.org/jira/secure/attachment/10068/xpdf-filters.html and it
was working. However since a few weeks now it no longer creates thumnails or
extracts text, but without any error messages in the console window or in
the dspace.log (even with DEBUG mode enabled).
Can anyone who is using this feature say if they have any such experience.
The output from filter-media is:
Applying Media Filters
SKIPPED: bitstream 226 (item: 1119/87) because 'pleasant hill.pdf.txt'
already exists
SKIPPED: bitstream 226 (item: 1119/87) because 'pleasant hill.pdf.jpg'
already exists
SKIPPED: bitstream 228 (item: 1119/88) because 'rhymesbury_A05.pdf.txt'
already exists
SKIPPED: bitstream 228 (item: 1119/88) because 'rhymesbury_A05.pdf.jpg'
already exists
SKIPPED: bitstream 230 (item: 1119/89) because 'rhymesbury_A10.pdf.txt'
already exists
SKIPPED: bitstream 230 (item: 1119/89) because 'rhymesbury_A10.pdf.jpg'
already exists
SKIPPED: bitstream 232 (item: 1119/90) because 'st_toolies.pdf.txt' already
exists
SKIPPED: bitstream 232 (item: 1119/90) because 'st_toolies.pdf.jpg' already
exists
FILTERED: bitstream 248 (item: 1119/91) and created 'tollgate.pdf.txt'
FILTERED: bitstream 248 (item: 1119/91) and created 'tollgate.pdf.jpg'
The last item 1119/91 is not the last item requiring thumbnail generation,
it simply stops processing anymore. The dspace log entry is:
2010-01-29 08:37:46,574 DEBUG org.dspace.app.mediafilter.XPDF2Thumbnail @
Running xpdf command: [/usr/bin/pdftoppm, -q, -f, 1, -l, 1, -r, 72,
/tmp/DSfilt6112840272955962602.pdf, /tmp/prevu1078070460043596071out]
2010-01-29 08:37:46,574 DEBUG org.dspace.app.mediafilter.XPDF2Thumbnail @
Running xpdf command: [/usr/bin/pdftoppm, -q, -f, 1, -l, 1, -r, 72,
/tmp/DSfilt6112840272955962602.pdf, /tmp/prevu1078070460043596071out]
2010-01-29 08:37:46,740 DEBUG org.dspace.app.mediafilter.XPDF2Thumbnail @
PDFTOPPM output is: /tmp/prevu1078070460043596071out-000001.ppm, exists=true
2010-01-29 08:37:46,740 DEBUG org.dspace.app.mediafilter.XPDF2Thumbnail @
PDFTOPPM output is: /tmp/prevu1078070460043596071out-000001.ppm, exists=true
2010-01-29 08:37:46,947 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query "INSERT INTO bundle ( primary_bitstream_id,name,bundle_id)
VALUES ( ?,?,?)"
2010-01-29 08:37:46,947 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query "INSERT INTO bundle ( primary_bitstream_id,name,bundle_id)
VALUES ( ?,?,?)"
2010-01-29 08:37:46,947 INFO org.dspace.content.Bundle @
anonymous::create_bundle:bundle_id=534
2010-01-29 08:37:46,947 INFO org.dspace.content.Bundle @
anonymous::create_bundle:bundle_id=534
2010-01-29 08:37:46,947 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query "SELECT bitstream.* FROM bitstream, bundle2bitstream WHERE
bundle2bitstream.bitstream_id=bitstream.bitstream_id AND
bundle2bitstream.bundle_id= ? " with parameters: 534
2010-01-29 08:37:46,947 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query "SELECT bitstream.* FROM bitstream, bundle2bitstream WHERE
bundle2bitstream.bitstream_id=bitstream.bitstream_id AND
bundle2bitstream.bundle_id= ? " with parameters: 534
2010-01-29 08:37:46,948 INFO org.dspace.content.Bundle @
anonymous::update_bundle:bundle_id=534
2010-01-29 08:37:46,948 INFO org.dspace.content.Bundle @
anonymous::update_bundle:bundle_id=534
2010-01-29 08:37:46,948 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query "update bundle set name = ? where bundle_id = ?"
2010-01-29 08:37:46,948 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query "update bundle set name = ? where bundle_id = ?"
2010-01-29 08:37:46,948 INFO org.dspace.content.Item @
anonymous::add_bundle:item_id=71,bundle_id=534
2010-01-29 08:37:46,948 INFO org.dspace.content.Item @
anonymous::add_bundle:item_id=71,bundle_id=534
2010-01-29 08:37:46,948 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query "SELECT * FROM resourcepolicy WHERE resource_type_id= ? AND
resource_id= ? " with parameters: 2,71
2010-01-29 08:37:46,948 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query "SELECT * FROM resourcepolicy WHERE resource_type_id= ? AND
resource_id= ? " with parameters: 2,71
2010-01-29 08:37:46,949 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query "INSERT INTO resourcepolicy (
action_id,resource_id,end_date,resource_type_id,start_date,policy_id,eperson_id,epersongroup_id)
VALUES ( ?,?,?,?,?,?,?,?)"
2010-01-29 08:37:46,949 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query "INSERT INTO resourcepolicy (
action_id,resource_id,end_date,resource_type_id,start_date,policy_id,eperson_id,epersongroup_id)
VALUES ( ?,?,?,?,?,?,?,?)"
2010-01-29 08:37:46,950 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query "update resourcepolicy set action_id = ?, resource_id = ?,
resource_type_id = ?, epersongroup_id = ? where policy_id = ?"
2010-01-29 08:37:46,950 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query "update resourcepolicy set action_id = ?, resource_id = ?,
resource_type_id = ?, epersongroup_id = ? where policy_id = ?"
2010-01-29 08:37:46,950 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query "INSERT INTO item2bundle ( id,item_id,bundle_id) VALUES (
?,?,?)"
2010-01-29 08:37:46,950 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query "INSERT INTO item2bundle ( id,item_id,bundle_id) VALUES (
?,?,?)"
2010-01-29 08:37:46,951 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query "update item2bundle set item_id = ?, bundle_id = ? where id =
?"
2010-01-29 08:37:46,951 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query "update item2bundle set item_id = ?, bundle_id = ? where id =
?"
2010-01-29 08:37:46,952 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query "INSERT INTO bitstream (
size_bytes,bitstream_format_id,checksum,deleted,sequence_id,checksum_algorithm,bitstream_id,source,description,name,internal_id,store_number,user_format_description)
VALUES ( ?,?,?,?,?,?,?,?,?,?,?,?,?)"
It appears that the bitstream is added but it does not actually get added
and I see no error message.
Any ideas, resource policy issues etc.
John
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech