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
Developer Resources:

Git: You can access our public Git Repository here. Comprehensive Git usage instructions are available on the wiki.

Bugzilla: You can access our Bugzilla report tracker here.

Search: You can use our Google Custom Search to search across our main website, the support forum, and Bugzilla.

Questions and discussion are welcome.

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: 7698
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: 7698
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: Yahoo [Bot] and 1 guest