[OPEN-ILS-DEV] Action/Trigger Setup 2.0.10

Geoff Sams GSams at roanoketexas.com
Wed Sep 12 20:06:18 EDT 2012


I may not be able to, but if I get a block of time tomorrow I will try.  I really appreciate the help, I’m currently running through installation of a virtual dev server for whatever insight it might give me.

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

From: open-ils-dev-bounces at list.georgialibraries.org [mailto:open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of Peters, Michael
Sent: Wednesday, September 12, 2012 6:35 PM
To: Evergreen Development Discussion List
Subject: Re: [OPEN-ILS-DEV] Action/Trigger Setup 2.0.10

That’s very unfortunate.  I’d be happy to set up an hour or so to go over what I can with you.  Can you jump into the #evergreen IRC tomorrow and send me a PM?  mrpeters-isl is my nick.

We will get you going, one way or another.

Sincerely,
Michael Peters
Indiana State Library MIS | Inspire.IN.gov Helpdesk | Evergreen Indiana Helpdesk
Office: 317.234.2128
Email - mrpeters at library.in.gov<mailto:mrpeters at library.in.gov>

From: open-ils-dev-bounces at list.georgialibraries.org<mailto:open-ils-dev-bounces at list.georgialibraries.org> [mailto:open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of Geoff Sams
Sent: Wednesday, September 12, 2012 4:09 PM
To: Evergreen Development Discussion List
Subject: Re: [OPEN-ILS-DEV] Action/Trigger Setup 2.0.10

I was afraid that was the next step, and that is unfortunately not an option.  I will take a crack at it from a different angle and see what I can come up with.  Thanks for all the help!

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

From: open-ils-dev-bounces at list.georgialibraries.org<mailto:open-ils-dev-bounces at list.georgialibraries.org> [mailto:open-ils-dev-bounces at list.georgialibraries.org]<mailto:[mailto:open-ils-dev-bounces at list.georgialibraries.org]> On Behalf Of Peters, Michael
Sent: Wednesday, September 12, 2012 3:05 PM
To: Evergreen Development Discussion List
Subject: Re: [OPEN-ILS-DEV] Action/Trigger Setup 2.0.10

Geoff,

At this point, I would contact whoever you contracted with to upgrade your servers the last time.  Something sure seems misconfigured, and I’d imagine they’d be the best bet in troubleshooting.

Sincerely,
Michael Peters
Indiana State Library MIS | Inspire.IN.gov Helpdesk | Evergreen Indiana Helpdesk
office - 317.234.2128
email - mrpeters at library.in.gov<mailto:mrpeters at library.in.gov>

From: open-ils-dev-bounces at list.georgialibraries.org<mailto:open-ils-dev-bounces at list.georgialibraries.org> [mailto:open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of Geoff Sams
Sent: Wednesday, September 12, 2012 4:01 PM
To: Evergreen Development Discussion List
Subject: Re: [OPEN-ILS-DEV] Action/Trigger Setup 2.0.10

Yes, the information is there.  I guess I’m not exactly off on this after all.  I will keep digging to see if I might have missed something else.

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

From: open-ils-dev-bounces at list.georgialibraries.org<mailto:open-ils-dev-bounces at list.georgialibraries.org> [mailto:open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of Peters, Michael
Sent: Wednesday, September 12, 2012 1:45 PM
To: Evergreen Development Discussion List
Subject: Re: [OPEN-ILS-DEV] Action/Trigger Setup 2.0.10

Well, does opensrf have those environment variables?  Root might have, but opensrf has to as well.

Sincerely,
Michael Peters
Indiana State Library MIS | Inspire.IN.gov Helpdesk | Evergreen Indiana Helpdesk
office - 317.234.2128
email - mrpeters at library.in.gov<mailto:mrpeters at library.in.gov>

From: open-ils-dev-bounces at list.georgialibraries.org<mailto:open-ils-dev-bounces at list.georgialibraries.org> [mailto:open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of Geoff Sams
Sent: Wednesday, September 12, 2012 2:35 PM
To: Evergreen Development Discussion List
Subject: Re: [OPEN-ILS-DEV] Action/Trigger Setup 2.0.10

I was running as root, trying as opensrf appears to have the same issue however.

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

From: open-ils-dev-bounces at list.georgialibraries.org<mailto:open-ils-dev-bounces at list.georgialibraries.org> [mailto:open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of Peters, Michael
Sent: Wednesday, September 12, 2012 1:14 PM
To: Evergreen Development Discussion List
Subject: Re: [OPEN-ILS-DEV] Action/Trigger Setup 2.0.10

You are running all of this as the opensrf user, right?

Sincerely,
Michael Peters
Indiana State Library MIS | Inspire.IN.gov Helpdesk | Evergreen Indiana Helpdesk
office - 317.234.2128
email - mrpeters at library.in.gov<mailto:mrpeters at library.in.gov>

From: open-ils-dev-bounces at list.georgialibraries.org<mailto:open-ils-dev-bounces at list.georgialibraries.org> [mailto:open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of Geoff Sams
Sent: Wednesday, September 12, 2012 2:04 PM
To: Evergreen Development Discussion List
Subject: Re: [OPEN-ILS-DEV] Action/Trigger Setup 2.0.10

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: open-ils-dev-bounces at list.georgialibraries.org<mailto:open-ils-dev-bounces at list.georgialibraries.org> [mailto:open-ils-dev-bounces at list.georgialibraries.org] 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" <GSams at roanoketexas.com<mailto:GSams at roanoketexas.com>> 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>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20120913/37c527f7/attachment-0001.htm>


More information about the Open-ils-dev mailing list