[OPEN-ILS-DEV] help with OPAC configuration
Pseudo Admin
sayanslib at gmail.com
Tue May 22 20:50:01 EDT 2007
Hello Don!
Thanks!
here is the output when i started /openils/bin/srfsh and run
srfsh# request open-ils.storage open-ils.actor.org_tree .retrieve
Received Exception:
Name: osrfMethodException
Status: *** Call to [open-ils.actor.org_tree.retrieve] failed for session
[1179
880050.552053.11798800505500], thread trace [1]:
Can't use an undefined value as an ARRAY reference at
/openils/lib/perl5/OpenILS
/Application/Actor.pm line 1001, <STDIN> line 1.
Status: 500
------------------------------------
Request Completed Successfully
Request Time in seconds: 70.092244
------------------------------------
srfsh#
srfsh#
Looking at the error it looks like it is referring to this function of
/openils/lib/perl5/OpenILS/Application/Actor.pm at line 1001
I looked at the file and here is a copy of the portion where the error
occured:
sub get_org_tree {
my( $self, $client) = @_;
$cache = OpenSRF::Utils::Cache->new("global", 0) unless $cache;
my $tree = $cache->get_cache('orgtree');
return $tree if $tree;
line 1001>> $tree = new_editor()->search_actor_org_unit(
[
{"parent_ou" => undef },
{
flesh => 2,
flesh_fields => { aou => ['children'] },
order_by => { aou => 'name'}
}
]
)->[0];
$cache->put_cache('orgtree', $tree);
return $tree;
}
pardon me, but I really don't know what it means, and how do I go from here?
I followed the DokuWiki on Installing Prerequisites on Ubuntu
7.04<http://www.open-ils.org/dokuwiki/doku.php?id=installing_prerequisites_on_ubuntu_7.04>with
a slight modification, I opted to use
opensrf.xml on my bootstrap.conf instead of openils.xml since I couldn't
find the example file when I installed version 1.1.5. here is more info on
my system:
Evergreen Development/Testing Release
1.1.5<http://www.open-ils.org/downloads/Evergreen-ILS-1.1.5.tar.gz>
Postgresql 8.2
Ubuntu Server 7.04
Thank you once again!
Mon
Message: 4
Date: Tue, 22 May 2007 05:58:12 -0400
From: "Don McMorris" <don.mcmorris at gmail.com>
Subject: Re: [OPEN-ILS-DEV] help with OPAC configuration
To: open-ils-dev at list.georgialibraries.org
Message-ID:
<f2b02f1e0705220258t3913f6d9y822e4981e0e88e4f at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi Mon!
Would you start /openils/bin/srfsh and run the following (and paste
back the output):
srfsh# request open-ils.storage open-ils.actor.org_tree.retrieve
Note that srfsh will require a ~/.srfsh.xml file for configuration.
If you haven't already set this up, a sample configuration is at
http://www.open-ils.org/dokuwiki/doku.php?id=osrf-devel:srfsh_--_.srfsh.xml.
Version information may help also.
>Evergreen version (1.0.5.2? 1.1.5? CVS HEAD checkout 5/21/07?)
>Postgres version
>Linux distro and version
Thanks!
--Don
On 5/22/07, Pseudo Admin <sayanslib at gmail.com> wrote:
> Greetings!
>
> It seems I am on the verge of running an Open-ILS on our server but I am
> still having difficulties with OPAC configuration
>
> Could anyone help me figure out what is it that I am doing wrong
>
> Here is the result when I run
> cslibadmin at cslibff:/openils/bin$ sudo -u opensrf /openils/bin/osrf_ctl.sh
-d
> /tmp/ -p /openils/conf/bootstrap.conf -c /openils/conf/opensrf_core.xml -a
> start_all
>
> Starting OpenSRF Router
> Starting OpenSRF Perl
> * Server type: Net::Server::PreFork
> * System bootstrap
> * Starting UnixServer for open-ils.cat...
> * Starting UnixServer for open-ils.supercat...
> * Starting UnixServer for open-ils.search...
> * Starting UnixServer for open-ils.circ...
> * Starting UnixServer for open-ils.actor...
> * Starting UnixServer for open-ils.storage...
> * Starting UnixServer for open-ils.penalty...
> * Starting UnixServer for open-ils.collections...
> * Starting UnixServer for open-ils.ingest...
> * Starting UnixServer for open-ils.reporter...
> * Starting Listener for open-ils.cat...
> * Starting Listener for open-ils.supercat...
> * Starting Listener for open-ils.search.. .
> * Starting Listener for open-ils.circ...
> * Starting Listener for open-ils.actor...
> * Starting Listener for open-ils.storage...
> * Starting Listener for open-ils.penalty...
> * Starting Listener for open-ils.collections.. .
> * Starting Listener for open-ils.ingest...
> * Starting Listener for open-ils.reporter...
> * System is ready...
> Starting OpenSRF C (host=cslibff)
> Loading OpenSRF host cslibff with bootstrap config
> /openils/conf/opensrf_core.xml and config context opensrf
> * Running application opensrf.math
> * Running application opensrf.dbmath
> * Running application open-ils.auth
> * Running application open-ils.cstore
> * Running application open-ils.reporter-store
>
> then this is the result when I run
>
> cslibadmin at cslibff:/openils/bin$ sudo -u opensrf /openils/bin/autogen.sh
> ../conf/bootstrap.conf
>
> Updating fieldmapper
> Updating web_fieldmapper
> Updating OrgTree
> removing OrgTree from the cache...
> Updating OrgTree HTML
> Can't call method "opac_visible" on an undefined value at
> org_tree_html_options.pl line 28.
> Done
>
> How do I solve this problem?
>
> Thank you in advance
>
> mon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.georgialibraries.org/pipermail/open-ils-dev/attachments/20070523/b0b00203/attachment-0001.html
More information about the Open-ils-dev
mailing list