[OPEN-ILS-DEV] TypeError: g.my_libs_tree is null
Jason Stephenson
jstephenson at mvlcstaff.org
Mon Apr 11 12:54:00 EDT 2016
Chris,
That looks like a successful run.
You indicated in another email that you think you fixed your problem, so
I would say you probably have.
Cheers,
Jason
On 04/11/2016 12:52 PM, Chris Rafferty wrote:
> Hi Jason,
>
> Thanks for the info, unfortunately I don't see any errors when running
> autogen.sh, here's the output I see:
>
> Updating Evergreen organization tree and IDL
>
> Updating fieldmapper
> -> /openils/var/web/opac/common/js//fmall.js
> Updating web_fieldmapper
> -> /openils/var/web/opac/common/js//fmcore.js
> Updating OrgTree
> removing OrgTree from the cache for locale hy-AM...
> removing OrgTree from the cache for locale cs-CZ...
> removing OrgTree from the cache for locale en-CA...
> removing OrgTree from the cache for locale en-US...
> removing OrgTree from the cache for locale fi-FI...
> removing OrgTree from the cache for locale fr-CA...
> removing OrgTree from the cache for locale ru-RU...
> -> /openils/var/web/opac/common/js//*/OrgTree.js
> Updating OrgTree HTML
> -> /openils/var/web/opac/extras/slimpac//*/lib_list.inc
> Updating locales selection HTML
> -> /openils/var/web/opac/extras/slimpac//locales.inc
>
> Current Evergreen cache key: fa522b
> Done
>
> Regards
> Chris
>
>
> > To: open-ils-dev at list.georgialibraries.org
> > From: jstephenson at mvlcstaff.org
> > Date: Mon, 11 Apr 2016 08:40:17 -0400
> > Subject: Re: [OPEN-ILS-DEV] TypeError: g.my_libs_tree is null
> >
> > On 04/10/2016 12:39 PM, Chris Rafferty wrote:
> > > Hi Ben,
> > >
> > > Thanks for getting back to me. We have run autogen.sh script and it
> > > appears to work, no errors displayed.
> > >
> > > I can't see any errors in the gateway.log or the osrfsys.log (these are
> > > the only log files that appear to be being written too). Should I be
> > > looking somewhere else?
> >
> > Errors from autogen.sh typically appear in the console where you have
> > run autogen.sh. One of the more common errors is that some service is
> > not running. That will typically manifest itself with a message that
> > looks like the following:
> >
> > Exception: OpenSRF::EX::Session 2016-04-11T08:38:44
> > OpenILS::Utils::Cronscript
> > /usr/local/share/perl/5.18.2/OpenILS/Utils/Cronscript.pm:276 Session
> > Error: router at private.jasondev/opensrf.settings IS NOT CONNECTED TO THE
> > NETWORK!!!
> > -> /openils/var/web/opac/common/js//fmall.js
> >
> > In that case, you should restart services, and if any fail, check the
> > logs for the specific errors causing it to fail.
> >
> > HtH,
> > Jason
> >
> >
> >
> > >
> > > Regards
> > > Chris
> > >
> > > > Date: Sun, 10 Apr 2016 09:45:22 -0400
> > > > From: ben at evergreener.net
> > > > To: open-ils-dev at list.georgialibraries.org
> > > > Subject: Re: [OPEN-ILS-DEV] TypeError: g.my_libs_tree is null
> > > >
> > > > Hi Chris,
> > > >
> > > > "TypeError: g.my_libs_tree is null" is a pretty common error message
> > > > that I've seen whenever I forget to do a proper autogen.sh / apache
> > > > restart on my Evergreen server.
> > > >
> > > > Sounds like that step didn't work as expected. So I would try that
> > > > again. And check the logs in case it fails for whatever reason.
> > > >
> > > > Also, I notice that you put (Desktop) in parenthesis after the Ubuntu
> > > > distribution in your opening explanation. The Evergreen community
> > > > only tests and officially supports the 64-bit Server edition of
> Ubuntu
> > > > LTS, so your mileage and experience may vary attempting to use
> > > > Evergreen on a Desktop edition. I know from personal experience
> > > > working with others in the past that some installations have appeared
> > > > successful but failed to run properly due to missing/different
> package
> > > > dependencies between Desktop vs. Server. Hard to say if that will
> > > > affect your functionality in this particular case, but it is
> generally
> > > > advisable to stick to more widely used Linux distributions for the
> > > > project.
> > > >
> > > > Good luck, hope this helps you move forward.
> > > >
> > > > -- Ben
> > > >
> > > > On Sun, Apr 10, 2016 at 4:43 AM, Chris Rafferty
> > > > <chris-rafferty at live.co.uk> wrote:
> > > > > Hi,
> > > > >
> > > > > I have installed release 2.10.1 from using the official
> downloads on a
> > > > > machine running ubuntu-trusty 14.04 LTS (Desktop). Following the
> > > > > instructions both the installation of opensrf and evergreen appear
> > > to work
> > > > > correctly, I can see the expected results as documented.
> > > > >
> > > > > When running the everygreen client on the same machine I get an
> error
> > > > > message after logging in: "TypeError: g.my_libs_tree is null".
> > > Pressing ok,
> > > > > the message box disappears and the area in the client interface
> called
> > > > > 'Workstation' now has a red border and it says 'please wait' in the
> > > box next
> > > > > to 'WS Name', can you please suggest what might be wrong?
> > > > >
> > > > > Regards
> > > > > Chris
> > > > >
> >
> > --
> > Jason Stephenson
> > Assistant Director for Technology Services
> > Merrimack Valley Library Consortium
> > 4 High ST, Suite 175
> > North Andover, MA 01845
> > Phone: 978-557-5891
> > Email: jstephenson at mvlcstaff.org
> >
> > Please note my new email address.
--
Jason Stephenson
Assistant Director for Technology Services
Merrimack Valley Library Consortium
4 High ST, Suite 175
North Andover, MA 01845
Phone: 978-557-5891
Email: jstephenson at mvlcstaff.org
Please note my new email address.
More information about the Open-ils-dev
mailing list