[OPEN-ILS-GENERAL] Error receiving serial issuances

Dan Wells dbw2 at calvin.edu
Mon Jun 17 10:10:29 EDT 2013


Hello Beth,

In this case, your problem is being caused by the '"x", "01"' in your pattern.  This subfield is for a "calendar change" meaning the volume should increment at a certain month (or day, or season), but your serial is not a monthly, and has no month in the caption.  If you remove the '"x", "01"', you should be able to receive as expected (with (I think) no need to delete and recreate any of the issuances).

So, the caption/pattern has a minor problem, but this is one (of many) cases where the code should be more forgiving, especially since I only see one sensible way to interpret the caption/pattern in this case.  Please do file a bug for this case (or add a 'me too' if a bug exists for this already).  Also, if you used the caption/pattern wizard to create this caption, mention that in the bug report, since we need to be especially careful to avoid generating bad caption/patterns whenever we can.

Thanks,
Dan

-- 
*********************************************************************************
Daniel Wells, Library Programmer Analyst dbw2 at calvin.edu
Hekman Library at Calvin College
616.526.7133


>>> On 6/13/2013 at 11:09 AM, Beth Willis <willis at noblenet.org> wrote:

> For some time, some of our libraries have reported sporadic errors when 
> receiving serial issuances.   In the past, I often was able to eliminate 
> the errors by editing faulty holding codes.  But, in the most recent 
> cases, I don't see any problem with the holding codes.
> 
> For example, I have a report from a library of two titles that they 
> cannot receive.  Both are annual publications.  I created a test 
> subscription for one of the titles using the same caption and pattern 
> code that the library used.  I then generated 6 expected issuances. 
> When I tried to receive an issuance, I  got the same database error as 
> reported by the library.
> 
> We use the Serial Control View for receiving.  As of today, we are on 
> v.2.3.7.
> 
> Subscription details:
> 
> Caption/Pattern:
> 
> ["2","0","8","1","a","Vol.","i","(year)","w","a","x","01"]
> 
> Generated 6 expected issances as follows:
> 
> Holding Codes:
> ["4","1","8","1.2","a",63,"i",2012,"x","AUTOGEN"]
> ["4","1","8","1.3","a",64,"i",2013,"x","AUTOGEN"]
> ["4","1","8","1.4","a",65,"i",2014,"x","AUTOGEN"]
> ["4","1","8","1.5","a",66,"i",2015,"x","AUTOGEN"]
> ["4","1","8","1.6","a",67,"i",2016,"x","AUTOGEN"]
> ["4","1","8","1.7","a",68,"i",2017,"x","AUTOGEN"]
> 
> 
> ERROR MESSAGES:
> 
> I received this error today (v.2.3.7)
> 
> FIXME:  If you encounter this alert, please inform your IT/ILS helpdesk 
> staff or your friendly Evergreen developers.
> 
> Thu Jun 13 2013 11:01:07 GMT-0400 (Eastern Daylight Time)
> 
> cmd_receive_items failed!
> 
> BAD_PARAMS
> Invalid parameters were encountered in a method
> 
> 
> I received the following error last week while we were still on v.2.2.8:
> 
> 
> Network or server failure.  Please check your Internet connection to 
> evergreen.noblenet.org and choose Retry Network.  If you need to enter 
> Offline Mode, choose Ignore Errors in this and subsequent dialogs.  If 
> you believe this error is due to a bug in Evergreen and not network 
> problems, please contact your help desk or friendly Evergreen 
> administrators, and give them this information:
> method=open-ils.serial.receive_items
> params=["0091d3e98ea1fd83ae651ddad3f4bd9c",[{"__c":"sitem","__p":[113706,{"_
> _c":"au","__p":[null,null,null,null,null,null,null,null,null,null,null,"t",nu
> ll,"f",null,1,0,0,"2012-05-14T15:46:39-0400","0.00",null,"1979-01-22T00:00:00-0500"
> ,null,null,"2015-05-14T15:46:39-0400","System 
> Account","Administrator",1,1,1,null,"identification",null,"none",null,"t",1,
> null,"8cbb514d32e37b43ef310752c90b5cb3",null,null,1,null,1,null,"t",1,"noble"
> ,null,"f","2012-05-15T10:13:34-0400",null,"f"]},{"__c":"au","__p":[null,null,nul
> l,null,null,null,null,null,null,null,null,"t",null,"f",null,1,0,0,"2012-05-14T1
> 5:46:39-0400","0.00",null,"1979-01-22T00:00:00-0500",null,null,"2015-05-14T15:46:39-
> 0400","System 
> Account","Administrator",1,1,1,null,"identification",null,"none",null,"t",1,
> null,"8cbb514d32e37b43ef310752c90b5cb3",null,null,1,null,1,null,"t",1,"noble"
> ,null,"f","2012-05-15T10:13:34-0400",null,"f"]},"2013-06-04T11:28:35-0400","2013-06-0
> 4T11:28:35-0400",{"__c":"siss","__p":[120364,{"__c":"au","__p":[null,null,null
> ,null,null,null,null,null,null,null,null,"t",null,"f",null,1,0,0,"2012-05-14T15
> :46:39-0400","0.00",null,"1979-01-22T00:00:00-0500",null,null,"2015-05-14T15:46:39-0
> 400","System 
> Account","Administrator",1,1,1,null,"identification",null,"none",null,"t",1,
> null,"8cbb514d32e37b43ef310752c90b5cb3",null,null,1,null,1,null,"t",1,"noble"
> ,null,"f","2012-05-15T10:13:34-0400",null,"f"]},{"__c":"au","__p":[null,null,nul
> l,null,null,null,null,null,null,null,null,"t",null,"f",null,1,0,0,"2012-05-14T1
> 5:46:39-0400","0.00",null,"1979-01-22T00:00:00-0500",null,null,"2015-05-14T15:46:39-
> 0400","System 
> Account","Administrator",1,1,1,null,"identification",null,"none",null,"t",1,
> null,"8cbb514d32e37b43ef310752c90b5cb3",null,null,1,null,1,null,"t",1,"noble"
> ,null,"f","2012-05-15T10:13:34-0400",null,"f"]},"2013-06-04T11:28:35-0400","2013-06-0
> 4T11:28:35-0400",{"__c":"ssub","__p":[3836,37,"2012-01-01T00:00:00-0500",null,209
> 0279,null]},6748,"Vol.63(2012)","2012-01-01T00:00:00-0500","[\"4\",\"1\",\"8\",\
> "1.2\",\"a\",63,\"i\",2012,\"x\",\"AUTOGEN\"]","basic",null]},{"__c":"sstr","
> __p":[4133,4061,"adult"]},"",null,"2012-01-01T00:00:00-0500",null,"Expected",[],
> "f"]}],{},{},{}]
> THROWN:
> {"payload":[],"debug":"osrfMethodException :  *** Call to 
> [open-ils.serial.receive_items] failed for session 
> [1370361124.578537.13703611245542], thread trace [1]:\nCan't calculate 
> date change for 10000 Vol. (year) a 01 at 
> /usr/local/share/perl/5.10.1/OpenILS/Utils/MFHD/Holding.pm line 
> 471.\n\n","status":500}
> STATUS:
> 
> If more information is needed, please let me know.
> 
> Thanks in advance for any insights into this problem.
> Beth
> -- 
> Beth Willis
> Digital & Catalog Librarian
> NOBLE, Inc.
> 26 Cherry Hill Drive
> Danvers, MA 01923


More information about the Open-ils-general mailing list