[OPEN-ILS-DEV] reporter problems

Mike Rylander mrylander at gmail.com
Thu Oct 25 15:21:48 EDT 2007


On 10/25/07, Dan Scott <denials at gmail.com> wrote:
> Hi Bill:
>
> Apparently you have to run clark-kent.pl (reporter, get it? hah) for
> the reports to actually run.

And the easiest way to make that happen is something like

su opensrf -c 'PERL5LIB=/openils/lib/perl5/ /openils/bin/clark-kent.pl -c 4 -d'

as long as opensrf owns the report output directory.  The -c param is
the concurrency (four reports at a time in that command line) and -d
tells it to daemonize itself.  You may want to drop the concurrency to
1 if you're on a 1 or 2 core box.

Your error messages suggest that you have not created subfolders under
"my templates" and friends in which to place your reports, though.

-- 
Mike Rylander
 | VP, Research and Design
 | Equinox Software, Inc. / The Evergreen Experts
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  miker at esilibrary.com
 | web:  http://www.esilibrary.com

>
> Dan
>
> On 25/10/2007, Bill Ott <bott at grpl.org> wrote:
> >
> > > You will need to add open-ils.reporter to the <services> section in
> > > the gateway config in opensrf_core.xml.  (xpath:
> > > /config/gateway/services/service).  It's not there by default.
> > >
> >
> > I can now create wonderful reports ...which never run.  They're time
> > stamped with a run time, but never receive a complete time, and there's
> > no output produced.  The logs are pretty boring reading too, except for
> > the following.  Are the "not found" folders, file system folders, or the
> > folders that I created to hold reports?
> >
> >
> > [2007-10-25 14:33:17] open-ils.reporter
> > [INFO:23509:Event.pm:25:1193336846234814] Returning non-success event
> > object: REPORTER_OUTPUT_FOLDER_NOT_FOUND
> >
> > [2007-10-25 14:36:12] open-ils.reporter
> > [INFO:23522:Event.pm:25:11933368472348512] Returning non-success event
> > object: REPORTER_SCHEDULE_NOT_FOUND
> >
> > [2007-10-25 14:36:47] open-ils.reporter
> > [INFO:23522:Event.pm:25:1193336847234824] Returning non-success event
> > object: REPORTER_REPORT_FOLDER_NOT_FOUND
> >
> > [2007-10-25 14:36:47] open-ils.reporter
> > [INFO:23506:Event.pm:25:1193336846234816] Returning non-success event
> > object: REPORTER_TEMPLATE_FOLDER_NOT_FOUND
> >
> >
> >
> >
> >
> >
>
>
> --
> Dan Scott
> Laurentian University
>


More information about the Open-ils-dev mailing list