EPrints Technical Mailing List Archive

Message: #00294


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

[EP-tech] Preservation toolkit - triggering classification


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)