[OPEN-ILS-DEV] method "opac_visible"

John Fink john.fink at gmail.com
Thu Nov 1 10:33:20 EDT 2007


Okay, make that:

 sudo -u opensrf env PERL5LIB=/openils/lib/perl5/ perl ./settings-tester.pl

instead. :)

jf

On 11/1/07, John Fink <john.fink at gmail.com> wrote:
>
> Pierre,
>
> Try running the settings-tester.pl like this:
>
>  env PERL5LIB=/openils/lib/perl5/ perl ./settings-tester.pl
>
> the env statement will tell perl to look in the /openils/lib/perl5
> directory for libraries, where it should pick up the OpenSRF and other
> modules.
>
> Hope that helps.
>
> jf
>
> On 11/1/07, Pierre Nault <pierrenault at gmail.com> wrote:
> >
> > Hi,
> >
> >     I verified with the troubleshooting document: everything was OK with
> > the drivers. I downloaded the settings-tester.pl and tried to run it in
> > the /openils/ directory (there is no instructions how and where to run the
> > script, so I did perl settings-tester.pl) it give me that:
> > Can't locate OpenSRF/Transport/SlimJabber/Client.pm in @INC (@INC
> > contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8
> > /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
> > /usr/local/lib/site_perl .) at settings-tester.pl line 35.
> > BEGIN failed--compilation aborted at settings-tester.pl line 35.
> >
> > So the problem is still there. I'm a newbie (ultra green I should say)
> > with perl, so If someone could give me some instructions with the perl
> > script, I'm ready to try it.
> >
> > Thanks again,
> >
> > Pierre Nault
> >
> >
> > 2007/10/31, Dan Scott <denials at gmail.com >:
> > >
> > > On 31/10/2007, Pierre Nault <pierrenault at gmail.com> wrote:
> > > >
> > > > Hi all,
> > > >
> > > >       Re-installing Evergreen on another Ubuntu 7.10 machine with
> > > > OpenSRF 0.9. Didn't have any problems with ejabberd server (like the
> > > > other one). I'm at the end of the installation process (new step 26), where
> > > > I build up the javascript files for the OPAC. When I do this command :
> > > > sudo -u opensrf ./autogen.sh /openils/conf/opensrf_core.xml
> > > >
> > > > I get that response :
> > > > Updating fieldmapper
> > > > Updating web_fieldmapper
> > > > Updating OrgTree
> > > > removing OrgTree from the cache...
> > > > Updating OrgTree HTML (4 minutes of waiting)
> > > > Can't call method "opac_visible" on an undefined value at
> > > > org_tree_html_options.pl line 28.
> > > > Done
> > > >
> > > > The OrgTree.js generated from the command is almost empty:
> > > > var _l = [];
> > > > globalOrgTypes = [];
> > > >
> > > > And the OPAC is not working at all...
> > > >
> > > > Does anyone have any ideas ?
> > > >
> > > > Thanks !
> > > >
> > > > Pierre Nault
> > > >
> > >
> > > Hi Pierre:
> > >
> > > Please try the following troubleshooting document to start with:
> > > http://open-ils.org/dokuwiki/doku.php?id=troubleshooting:problems_compiling_evergreen
> > >
> > > Let us know if that helps resolve your problem. If not, it would be
> > > interesting if you could try out the new "settings tester" script at http://svn.open-ils.org/trac/ILS/browser/trunk/Open-ILS/src/support-scripts/settings-tester.pl
> > > to see if that will help us identify the problem.
> > >
> > > --
> > > Dan Scott
> > > Laurentian University
> >
> >
> >
> >
> > --
> > What do you call a cyclist who doesn't wear a helmet?  An organ
> > donor.  ~David Perry
> >
>
>
>
> --
> http://libgrunt.blogspot.com -- library culture and technology.
>



-- 
http://libgrunt.blogspot.com -- library culture and technology.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.georgialibraries.org/pipermail/open-ils-dev/attachments/20071101/70867a4a/attachment.html


More information about the Open-ils-dev mailing list