EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #00300


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: Preservation toolkit - triggering classification


Rory,

There should be a "cron" event on the indexer (which you can find via "admin" -> "status"). Note that if you have failed droid classification events on the indexer you will need to remove all of these as the cron script calls create_unique() which won't create a new event over a failed one, this is a bug.

Cheers

Dave T
 
On 27 Mar 2012, at 22:19, Rory McNicholl wrote:

Hello all,

Having a bit of trouble getting some objects classified using the preservation toolkit in EP 3.3.6

The allow_droid_classification_control appears to be ignored (according to the screen and some grepping) so there is no button to press.

# Option to enable interface buttons to manually start classification scans, normally this process would just be controlled by a cron job.
$c->{"allow_droid_classification_control"} = 1;

I was wondering what the mentioned cron would look like? The bazaar package does not drop any scripts in bin to run, so is there a neat new way to trigger events via cron? It doesn't appear to be happening automatically.

---

Also FYI I had to patch the Droid epm. lib/plugins/EPrints/Plugin/Screen/EPMC/Droid.pm There is a move() in there that was copying just the DROID directory from tmp and none of the java-y bits within. This may be the way RHEL behaves with File::Copy::move (Maybe debian invokes it in a more mv-like way)

I fixed it by using File::Copy::Recursive::rmove

There may be a less awkward method, but that worked for me.

Cheers,

Rory

-- 
Rory McNicholl
Senior developer
Digital Archives & Repositories Team
University of London Computer Centre
Senate House
Malet Street
London
WC1E 7HU

t: +44 (0)20 7863 1344
e: r.mcnicholl@ulcc.ac.uk
w: http://www.ulcc.ac.uk/
b: http://dablog.ulcc.ac.uk/

The University of London is an exempt charity in England and Wales and a charity registered in Scotland (reg. no. SC041194)
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/