DSpace folks,

Two questions for the community...

1. I'd like to remove a large number of thumbnail bitstreams that were 
generated for various bitstream types (JPEG, PDF, text, etc.).  I'm doing this 
to simply fall back on a generic icon view for various bitstream types and be 
more selective about which types have generated thumbnails.

In comments dating back to 2013, helix84 suggests changing the 'deleted' 
column's boolean in the table 'bitstream' to true and then running "dspace 
cleanup -v", that this will remove the associate in bundle2bitstream.

Nabble ref: 
http://dspace.2283337.n4.nabble.com/How-to-purge-remove-old-thumbnails-tp4667289p4667326.html

Unfortunately, the outcome is instead to remark that the item exists in 
bundle2bitstream and won't be removed.  Here's the exact output I receive:

./dspace cleanup -v
 - Deleting bitstream information (ID: 90841)
 - Deleting bitstream record from database (ID: 90841)
Error: ERROR: update or delete on table "bitstream" violates foreign key 
constraint "$2" on table "bundle2bitstream"
  Detail: Key (bitstream_id)=(90841) is still referenced from table 
"bundle2bitstream".

Since it is discouraged to manually remove the references in bundle2bitstream, 
are there any other suggestions?  (Using "./dspace itemupdate" will require 
prepping a substantial archival structure, one I'm currently ruling out.)

2. A second question: Thumbnail generation for TIFF images in DSpace 5, via the 
media filter, resulted in Java exceptions and were all therefore skipped.  I 
read in one document that ImageMagick and Ghostscript are the preferred 
conversion utilities in DSpace 5 and have switched to that from our default 
thumbnail settings in DSpace 5.  Is this true and have I made the right choice? 
 I would rather not change approaches just because a vague error is being 
produced.

Ref: See under "PLEASE NOTE"
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Media_Filters/5.X

 
Regards,
-Jeff

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.

Reply via email to