[OPEN-ILS-DEV] method "opac_visible"

Bill Russell brussell.ls at gmail.com
Thu Nov 1 11:42:16 EDT 2007


Hi Pierre,

As Dan pointed out to me, it looks like something did not run.

Text::CSV  is installed as part of the updated step 8.

its in the package name libtext-csv-perl, which got added to the
bottom of the bulk apt-get install list.

yours,
bill


On Nov 1, 2007 11:06 AM, Pierre Nault <pierrenault at gmail.com> wrote:
> Seems to work but it give me this error message (at the end):
> LWP::UserAgent version 2.033
> XML::LibXML version 1.59
> XML::LibXSLT version 1.59
> Net::Server::PreFork version 0.94
> Cache::Memcached version 1.18
>  Class::DBI version v3.0.15
> Class::DBI::AbstractSearch version 0.07
> Template version 2.14
> DBD::Pg version 1.49
> Net::Z3950 version 0.51
> MARC::Record version 1.38
> MARC::Charset version 0.95
> MARC::File::XML version 0.87
>  Text::Aspell version 0.04
> CGI version 3.15
> DateTime::TimeZone version 0.42
> DateTime version 0.35
> DateTime::Format::ISO8601 version 0.06
> Unix::Syslog version 0.100
> GD::Graph3d version 0.63
> JavaScript::SpiderMonkey version 0.17
> Log::Log4perl version 1.07
> Email::Send version 2.183
> Text::CSV version
>
> Checking Jabber connection
> * Jabber successfully connected
> Can't locate object method "new" via package "XML::LibXML::XPathContext"
> (perhaps you forgot to load "XML::LibXML::XPathContext"?) at ./settings-
> tester.pl line 85, <DATA> line 24.
>
> I don't have this package in Ubuntu and it seems that it doesn't exist on
> CPAN to. Maybe I misinterpret the error message. Does it ring a bell ?
>
> Pierre Nault
>
> 2007/11/1, John Fink <john.fink at gmail.com>:
>
> > 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.
>
>
>
>
> --
> What do you call a cyclist who doesn't wear a helmet?  An organ donor.
> ~David Perry
>


More information about the Open-ils-dev mailing list