[OPEN-ILS-DEV] reporter problems

Bill Erickson erickson at esilibrary.com
Fri Oct 26 11:00:27 EDT 2007


Dan Scott wrote:
> On 25/10/2007, *Bill Ott* <bott at grpl.org <mailto:bott at grpl.org>> wrote:
>
>
>     > One other thing...  The <reporter> config in opensrf.xml has a
>     setting
>     > called <output_base>, which defines where the output files are
>     stored
>     > on the local machine (mentioned above).  This defaults to
>     > /openils/var/reporter/output
>     >
>     > The reporting interface (in the staff client) expects the output to
>     > live at http://<host>/reporter/
>
>     Ok, now you guys are just reading my mind...
>
>     I need to go for coffee between emails, because I already looked under
>     the hood to find out how to daemonize clark-kent.pl, and just started
>     tracking down this issue after seeing the 404 looking for
>     /reporter/1,
>     when I had already seen Clark create /reporter/output/1/5/5
>
>     As an aside, /openils/var/reporter hadn't been created at install
>     either.
>       (or /openils/var/reporter/output as noted in the example
>     <output_base> )
>
>
> In working on getting the reporter going (thanks Bill and Mike for all 
> of the additional info!), I guess there are a couple of things  we can 
> do to smooth the path for others:
>
> 1) Have clark-kent.pl automatically get installed into /openils/bin 
> (at least if openils-all is a target: maybe create a new 
> openils-reporter target?)
+1 for a new install target
> 2) Add Text::CSV_XS to the list of Perl module prerequisites
> 3) Have the installer automatically create the directories listed in 
> /opensrf/default/reporter/setup/files/* (maybe hooked to the new 
> openils-reporter target)?
> 4) Document it
> 5) Create a set of generally-useful reports that could be preloaded 
> (possibly hooked to an openils-reporter-example-reports target or 
> something like that) ?
Those sound like great goals.  Do we also want to ease the default 
install by setting <output_base> to /openils/var/web/reporter instead of 
/openils/var/reporter/output?


-bill


More information about the Open-ils-dev mailing list