| Paste number 61727: | acq.log |
| Pasted by: | dbs |
| When: | 1 year, 4 weeks ago |
| Share: | Tweet this! | http://paste.lisp.org/+1BMN |
| Channel: | #openils-evergreen |
| Paste contents: |
Use of uninitialized value in join or string at /openils/lib/perl5/OpenSRF/Application.pm line 102. **** ** content() isn't there. Please create me somewhere (like in OpenSRF::DomainObject::oilsMethodException)! ** Error at OpenILS::Utils::CStoreEditor (/openils/lib/perl5/OpenILS/Utils/CStoreEditor.pm), line 314 ** Call Stack (5 deep): ** Error::subs (/usr/share/perl5/Error.pm), line 416 ** Error::subs (/usr/share/perl5/Error.pm), line 408 ** OpenILS::Utils::CStoreEditor (/openils/lib/perl5/OpenILS/Utils/CStoreEditor.pm), line 322 ** OpenILS::Utils::CStoreEditor (/openils/lib/perl5/OpenILS/Utils/CStoreEditor.pm), line 627 ** Error::subs (/usr/share/perl5/Error.pm), line 416 ** Object type was OpenSRF::DomainObject::oilsMethodException **** Caught error from 'run' method: Can't call method "id" without a package or object reference at /openils/lib/perl5/OpenILS/Utils/CStoreEditor.pm line 675. Use of uninitialized value in join or string at /openils/lib/perl5/OpenSRF/Application.pm line 102. Use of uninitialized value in join or string at /openils/lib/perl5/OpenSRF/Application.pm line 102. Use of uninitialized value in join or string at /openils/lib/perl5/OpenSRF/Application.pm line 102. Use of uninitialized value in join or string at /openils/lib/perl5/OpenSRF/Application.pm line 102. Use of uninitialized value in join or string at /openils/lib/perl5/OpenSRF/Application.pm line 102. Use of uninitialized value in concatenation (.) or string at /openils/lib/perl5/OpenILS/Utils/CStoreEditor.pm line 108. Use of uninitialized value in concatenation (.) or string at /openils/lib/perl5/OpenILS/Application/AppUtils.pm line 333. Use of uninitialized value in concatenation (.) or string at /openils/lib/perl5/OpenILS/Application/AppUtils.pm line 142. Use of uninitialized value in concatenation (.) or string at /openils/lib/perl5/OpenILS/Application/AppUtils.pm line 339. Use of uninitialized value in join or string at /openils/lib/perl5/OpenSRF/Application.pm line 102. Use of uninitialized value in numeric eq (==) at /openils/lib/perl5/OpenILS/Application/Acq/Picklist.pm line 66. Use of uninitialized value in numeric eq (==) at /openils/lib/perl5/OpenILS/Application/Acq/Picklist.pm line 66. Use of uninitialized value in join or string at /openils/lib/perl5/OpenSRF/Application.pm line 102. Use of uninitialized value in join or string at /openils/lib/perl5/OpenSRF/Application.pm line 102. Use of uninitialized value in join or string at /openils/lib/perl5/OpenSRF/Application.pm line 102.
Annotations for this paste:
| Annotation number 4: | python debugging |
| Pasted by: | djfiander |
| When: | 1 year, 4 weeks ago |
| Share: | Tweet this! | http://paste.lisp.org/+1BMN#4 |
| Paste contents: |
POST Headers=
Content-Length: '1521'
Accept-Language: 'en-us,en;q=0.5'
Accept-Encoding: 'gzip,deflate'
X-Opensrf-Multipart: 'true'
Keep-Alive: '300'
Host: 'localhost:5000'
Accept: 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
User-Agent: 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14'
Accept-Charset: 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
Connection: 'keep-alive'
Cookie: 'financials.autoUserLoginId=admin; OFBiz.Visitor=10000; partymgr.autoUserLoginId=admin; oilsweb=25ea304fec2c57a097f09c025fb1f743e30f77e14c670a43cabcefd1d18ece4c; _session_id=e3a5b9b47b645124ea6efac2a077e152'
Pragma: 'no-cache'
Cache-Control: 'no-cache'
Referer: 'http://localhost:5000/oils/acq/picklist/view/2'
X-Opensrf-Service: 'open-ils.acq'
Content-Type: 'application/x-www-form-urlencoded'
X-Opensrf-Thread: '0.081480539201456151212629362479'
POST Request='osrf-msg=%5B%7B%22__c%22%3A%22osrfMessage%22%2C%22__p%22%3A%7B%22threadTrace%22%3A9%2C%22type%22%3A%22REQUEST%22%2C%22payload%22%3A%7B%22__c%22%3A%22osrfMethod%22%2C%22__p%22%3A%7B%22method%22%3A%22open-ils.acq.lineitem.update%22%2C%22params%22%3A%5B%228ffa5d71a5b432e392b3dc70fa356d08%22%2C%7B%22__c%22%3A%22jub%22%2C%22__p%22%3A%5Bnull%2Cnull%2Cnull%2C28%2C3%2C2%2Cnull%2Cnull%2C%222008-03-05T12%3A16%3A47-0500%22%2C%222008-03-05T12%3A16%3A47-0500%22%2Cnull%2C28365%2C%22native-evergreen-catalog%22%2C6%2Cnull%2C%22approved%22%2C%5B%7B%22__c%22%3A%22acqlia%22%2C%22__p%22%3A%5Bnull%2Cnull%2Cnull%2C968%2C28%2C%22lineitem_marc_attr_definition%22%2C%22title%22%2C%22Laurel+and+Hardy+comedy+classics%2C+vol.1+Metro-Goldwyn-Mayer+%3B+produced+by+Hal+Roach.+%22%5D%7D%2C%7B%22__c%22%3A%22acqlia%22%2C%22__p%22%3A%5Bnull%2Cnull%2Cnull%2C969%2C28%2C%22lineitem_marc_attr_definition%22%2C%22pagination%22%2C%221+videocassette+%2884+min.%29+%3A%22%5D%7D%2C%7B%22__c%22%3A%22acqlia%22%2C%22__p%22%3A%5Bnull%2Cnull%2Cnull%2C970%2C28%2C%22lineitem_marc_attr_definition%22%2C%22price%22%2C%22%2419.95%22%5D%7D%2C%7B%22__c%22%3A%22acqlia%22%2C%22__p%22%3A%5Bnull%2Cnull%2Cnull%2C971%2C28%2C%22lineitem_marc_attr_definition%22%2C%22publisher%22%2C%22Nostalgia+Merchant%2C%22%5D%7D%2C%7B%22__c%22%3A%22acqlia%22%2C%22__p%22%3A%5Bnull%2Cnull%2Cnull%2C972%2C28%2C%22lineitem_marc_attr_definition%22%2C%22pubdate%22%2C%22%5B198-%5D%2C+c1933.%22%5D%7D%5D%5D%7D%5D%7D%7D%2C%22locale%22%3A%22en-us%22%7D%7D%5D'
| Annotation number 3: | Code |
| Pasted by: | djfiander |
| When: | 1 year, 4 weeks ago |
| Share: | Tweet this! | http://paste.lisp.org/+1BMN#3 |
| Paste contents: |
All I'm doing is calling this new function that I've created in Lineitems.js:
setState: function(newState, oncomplete) {
this.lineitem.state(newState);
this.update(oncomplete);
},
and here's the call:
li.setState("approved", approveStore);
| Annotation number 2: | My original request |
| Pasted by: | djfiander |
| When: | 1 year, 4 weeks ago |
| Share: | Tweet this! | http://paste.lisp.org/+1BMN#2 |
| Paste contents: |
As reported by firbug.
osrf-msg [{"__c":"osrfMessage","__p":{"threadTrace":8,"type":"REQUEST","payload":{"__c":"osrfMethod","__p":{"method":"open-ils.acq.lineitem.update","params":["8ffa5d71a5b432e392b3dc70fa356d08",{"__c":"jub","__p":[null,null,null,30,3,2,1,2,"2008-03-05T12:16:47-0500","2008-03-05T12:16:47-0500",null,116671,"native-evergreen-catalog",10,null,"approved",[{"__c":"acqlia","__p":[null,null,null,9716,30,"lineitem_marc_attr_definition","title","Comedy improvisation : exercises & techniques for young actors / by Delton T. Horn."]},{"__c":"acqlia","__p":[null,null,null,9717,30,"lineitem_marc_attr_definition","author","Horn, Delton T."]},{"__c":"acqlia","__p":[null,null,null,9718,30,"lineitem_marc_attr_definition","pagination","134 p. :"]},{"__c":"acqlia","__p":[null,null,null,9719,30,"lineitem_marc_attr_definition","price","$15.00"]},{"__c":"acqlia","__p":[null,null,null,9720,30,"lineitem_marc_attr_definition","publisher","Meriwether Pub. Ltd.,"]},{"__c":"acqlia","__p":[null,null,null,9721,30,"lineitem_marc_attr_definition","pubdate","c1991."]},{"__c":"acqlia","__p":[null,null,null,9722,30,"lineitem_marc_attr_definition","edition","1st ed."]},{"__c":"acqlia","__p":[null,null,null,9723,30,"lineitem_marc_attr_definition","isbn","0916260690"]}]]}]}},"locale":"en-us"}}]| Annotation number 1: | gateway.log |
| Pasted by: | dbs |
| When: | 1 year, 4 weeks ago |
| Share: | Tweet this! | http://paste.lisp.org/+1BMN#1 |
| Paste contents: |
dbs@acq:~$ tail -n 2000 /openils/var/log/gateway.log | grep open-ils.acq.lineitem.update
[{"__c":"osrfMessage","__p":{"threadTrace":"1","payload":{"__c":"osrfResult","__p":{"status":"OK","content":{"__c":"OpenILS_Application","__p":{"api_level":1,"stream":0,"object_hint":"OpenILS_Application_Acq_Picklist","package":"OpenILS::Application::Acq::Picklist","remote":0,"api_name":"open-ils.acq.lineitem.update","server_class":"open-ils.acq","signature":{"params":[{"desc":"Authentication token","type":"string"},{"desc":"lineitem object update","type":"object"}],"desc":"Update a lineitem","return":{"desc":"1 on success, Event on error"}},"method":"update_lineitem","argc":0}},"statusCode":200}},"type":"RESULT","locale":"en-US"}}]
dbs@acq:~$ tail -n 2000 /openils/var/log/gateway.log | grep -C 5 open-ils.acq.lineitem.update
osrf_json_gw 2008-06-04 03:37:06 [DEBG:31808:osrf_app_session.c:639:1212315928318080] AppSession in queue_wait with timeout 60
osrf_json_gw 2008-06-04 03:37:06 [DEBG:31808:osrf_stack.c:24:1212315928318080] Received message from transport code from osrf@acq.open-ils.org/open-ils.acq_drone_at_acq.open-ils.org_30197
osrf_json_gw 2008-06-04 03:37:06 [DEBG:31808:osrf_stack.c:51:1212315928318080] Transport handler received new message
from osrf@acq.open-ils.org/open-ils.acq_drone_at_acq.open-ils.org_30197 to gateway@acq.open-ils.org/1212315928_acq_1212315928.025327_31808 with body
[{"__c":"osrfMessage","__p":{"threadTrace":"1","payload":{"__c":"osrfResult","__p":{"status":"OK","content":{"__c":"OpenILS_Application","__p":{"api_level":1,"stream":0,"object_hint":"OpenILS_Application_Acq_Picklist","package":"OpenILS::Application::Acq::Picklist","remote":0,"api_name":"open-ils.acq.lineitem.update","server_class":"open-ils.acq","signature":{"params":[{"desc":"Authentication token","type":"string"},{"desc":"lineitem object update","type":"object"}],"desc":"Update a lineitem","return":{"desc":"1 on success, Event on error"}},"method":"update_lineitem","argc":0}},"statusCode":200}},"type":"RESULT","locale":"en-US"}}]
osrf_json_gw 2008-06-04 03:37:06 [DEBG:31808:osrf_stack.c:77:1212315928318080] Session [1212565026.648902.121256502631808] found or built
osrf_json_gw 2008-06-04 03:37:06 [DEBG:31808:osrf_stack.c:84:1212315928318080] We received 1 messages from osrf@acq.open-ils.org/open-ils.acq_drone_at_acq.open-ils.org_30197
osrf_json_gw 2008-06-04 03:37:06 [DEBG:31808:osrf_stack.c:136:1212315928318080] passing message 1 / session 1212565026.648902.121256502631808 to app handler
osrf_json_gw 2008-06-04 03:37:06 [DEBG:31808:osrf_app_session.c:53:1212315928318080] App Session pushing request [1] onto request queue