Ticket #976 (assigned defect)

Opened 11 years ago

Last modified 11 years ago

(DI-3-3) OAI Harvesting script not compatible with python2.5 installation on Glue

Reported by: spascoe Owned by: sdonegan
Priority: critical Milestone: NDG3
Component: discovery Version:
Keywords: Cc:

Description

/usr/local/bin/python has been replaced on glue. The script /usr/local/WSClients/oai_ingest.py doesn't work with the new installation because of missing modules. This script is run from user badc's crontab to ingest harvested records.

Quick fix

Replace /usr/local/bin/python with /usr/local/bin/python2.4 in the crontab file.

Long-term fix

The modules cElementTree and PyGreSQL (pgdb) need to be installed in /usr/local/bin/python. Also oai_ingest.py needs changing to import elementtree differently as it isn't in ndgUtils any more. I don't know where oai_ingest.py is on the SVN.

Change History

comment:1 Changed 11 years ago by sdonegan

  • Status changed from new to assigned

I've updated the crontab on glue to run python2.4 as an intermediate measure.

I think I've found the oai_ingest script on svn:  svn+ssh://sdonegan@proj.badc.rl.ac.uk/svn/ndg/TI01-discovery/trunk/ingestAutomation/OAIBatch/oai_ingest.py

comment:2 Changed 11 years ago by sdonegan

  • Summary changed from OAI Harvesting script not compatible with python2.5 installation on Glue to (DI-3-3) OAI Harvesting script not compatible with python2.5 installation on Glue
  • Milestone changed from NDG2 Cleanup to NDG3

Will check and address this in updated ingest scripts

Note: See TracTickets for help on using tickets.