OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Automated harvesting?

Open Harvester Systems support questions and answers, bug reports, and development issues.

Moderators: jmacgreg, michael, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Automated harvesting?

Postby mica78 » Thu Feb 15, 2007 3:15 am

Is this already possible in the latest release? If so, how? I couldnt find any info in that on the documention.

Thanks,
Mika
mica78
 
Posts: 19
Joined: Wed Aug 03, 2005 3:48 am

Postby asmecher » Thu Feb 15, 2007 10:11 am

Hi Mika,

You can harvest all archives for new records using:
Code: Select all
php tools/harvest.php all from=last
Regards,
Alec Smecher
Public Knowledge Project Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

the cli harvester doesn't work for me

Postby jp.vitulli » Thu Apr 19, 2007 8:05 am

the script simply quit while trying to execute.
$archiveDao =& DAORegistry::getDAO('ArchiveDAO');
in the harvest class constructor.

I don't know why.

I am using php 5.2 under windows xp
jp.vitulli
 
Posts: 10
Joined: Wed Mar 07, 2007 8:42 am
Location: Paris

an other info

Postby jp.vitulli » Thu Apr 19, 2007 8:56 am

in fact, it seems that the load of PluginSettingsDAO fails.
what is the difference between the cli version and the web version ?
jp.vitulli
 
Posts: 10
Joined: Wed Mar 07, 2007 8:42 am
Location: Paris

Postby asmecher » Thu Apr 19, 2007 9:30 am

Hi JP,

Are you getting any error messages, either on the screen or in your log files? If a DAO is failing to load, it may indicate an out-of-memory problem (see php.ini's "memory_limit" directive, which should be at least 12M) or, if you've made modifications, a typo in the code.

Regards,
Alec Smecher
Public Knowledge Project Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

some more infos

Postby jp.vitulli » Fri Apr 20, 2007 1:17 am

no, there are absolutely no error messages.
it seems the script fails to connect to the database.
the host name, login and password are correct.
but the the DBConnection::connect() fails when attempting
$this->connected = @$this->dbconn->PConnect(...)

the web site works perfectly.

still trying...
jp.vitulli
 
Posts: 10
Joined: Wed Mar 07, 2007 8:42 am
Location: Paris

I'll try on another machine

Postby jp.vitulli » Fri Apr 20, 2007 1:29 am

I think the problem must be in the machine or the programs installed.
I'll check on another machine and tell you more.
jp.vitulli
 
Posts: 10
Joined: Wed Mar 07, 2007 8:42 am
Location: Paris


Return to Open Harvester Systems Support and Development

Who is online

Users browsing this forum: Google [Bot] and 0 guests