[OPEN-ILS-DEV] Checkout error

Bill Ott bott at grpl.org
Wed Apr 25 09:23:25 EDT 2007



Mike Rylander said the following on 04/25/2007 09:14 AM:
> On 4/25/07, Bill Ott <bott at grpl.org> wrote:
>> Mike Rylander said the following on 04/25/2007 08:35 AM:
>> > On 4/24/07, Bill Ott <bott at grpl.org> wrote:
>> >> I've got items, I've got patrons.  I can catalog, search, place 
>> holds...
>> >>
>> >> What I can't do is circulate items.  On checkout, I get a failure 
>> when
>> >> checking a circ duration?
>> >>
>
> Part of the duration calculation is a set of example exceptions that
> look for specific profile groups (in this case, Staff, Trustee and
> Outreach) and give them a different max fine level and, for Outreach,
> a different duration.
>
> By default, the Trustee and Outreach groups don't exist in the
> database.  However, the backed circ/hold JS scripts are the ones that
> PINES uses (in the 1.0 branch of CVS) and so will have plenty of code
> that won't work on a freshly installed EG.  My suggestion would be to
> move to a 1.1 version -- the dependencies haven't changed much, so you
> should be able to upgrade fairly easily -- as we've cleaned out (or at
> least moved) many of the PINES-specific things in CVS.

For the impatient:
  I just added a Trustee and Outreach group.  Ran autogen, and all is well.


>
> Short of a full upgrade, you could copy the backend javascript from a
> 1.1 tarball or from CVS head into place.  There shouldn't be any
> problem with that.  This has a problem of it's own, which is what Dan
> ran into.  There is a syntax error in one of the scripts in CVS which
> Bill (Erickson) is fixing that as I type, so your best bet is probably
> just to grab CVS in an hour or so and copy the files into place.
> Approximately:
>
> cp -R ~/cvs/ILS/Open-ILS/src/javascript/backend/* /openils/var/
>
> Let us know how that goes!
>
> --miker
>
>> >
>> > The error is in a script that calculates the circulation duration
>> > depending on the combination of patron, item, title, phase of the
>> > moon, etc.
>> >
>> > Which version of EG are you building (there are different sets of
>> > backend javascript in different versions)?
>> >
>>
>>    1.0.4.1
>>
>>
>> >>
>> >> *** Call to [open-ils.circ.checkout] failed for session
>> >> [1177467817.093568.117746781720667], thread trace [1]:\n  * ! 
>> EXCEPTION
>> >> ! * \nTYPE: OpenSRF::EX::ERROR\nMess: System ERROR \nMess: Circ 
>> Duration
>> >> Script Died: Error: TypeError: parent has no properties at line 155:
>> >> (null)\nLoc.: 185 OpenSRF::Application \nLoc.:
>> >> /openils/lib/perl5/OpenSRF/Application.pm \nTime: Tue Apr 24 22:23:37
>> >> 2007\n\n","statusCode":500}
>> >>
>> >>
>> >
>> >
>>
>
>


More information about the Open-ils-dev mailing list