I don’t believe I’ve ever heard it called an incantation before.

The sources I have been running from had some mixed information it seems.  I 
started with just going to the directory where action_trigger_runner.pl is 
located.

First I ran it as su: action_trigger_runner.pl –process-hooks –run-pending

That was when I got the first error, it was: can't locate 
openils/utils/fieldmapper.pm in @inc

I ended up adding: use lib /openils/lib/perl5 to the perl script before running 
it again.

That’s when things got interesting for me.  I ran it again and it produced 
nothing for about an hour.  No new prompt, or anything.  I finally interrupted 
it and went looking for advice again.

I noticed there was a debug output trigger and ran it again:

action_trigger_runner.pl --debug-stdout

And it displayed the help information.  This is more or less a looping event at 
this point.  Running either process-hooks or run-pending actions led to no 
output, running the debug results in help output.

Hopefully that was the information you were looking for.  Sorry for the 
disjointed write up.

Thanks,
Geoff Sams
Roanoke Public Library
817-491-2691

From: [email protected] 
[mailto:[email protected]] On Behalf Of David Busby
Sent: Wednesday, September 12, 2012 2:17 AM
To: Evergreen Development Discussion List
Subject: Re: [OPEN-ILS-DEV] Action/Trigger Setup 2.0.10


Geoff,
Can you please share examples of your incantation?

/ djb
On Sep 11, 2012 2:31 PM, "Geoff Sams" 
<[email protected]<mailto:[email protected]>> wrote:
Okay, I am having some trouble with this, and unfortunately I have limited 
experience with the innards of this system.  I won’t lie, I’m a novice at this 
at best.

I am trying to setup action/trigger events for the first time in our system and 
having very little luck with this.  I have the staff client administration side 
of things handled, it is the server side that is killing me right now.

Currently, I am trying to run the perl script just once to make certain that it 
works and I keep getting the help output or nothing at all.  When I attempt to 
run the script with --debug-stdout I get the help output and nothing else, if I 
try to run it with osrf-config I get the help file, and if I try either 
process-hooks or run-pending I get nothing at all.

At first I had to go in and add openils/lib/perl5 to the file so that it could 
find fieldmapper.pm<http://fieldmapper.pm> and once I got that working, this 
was all the result I’ve gotten.  As much digging as I’ve had to do over the 
past few days just to get this far, I was hoping some kind soul would be able 
to point me in a better direction.

Thanks,
Geoff Sams
Roanoke Public Library
817-491-2691<tel:817-491-2691>

Reply via email to