[OPEN-ILS-DEV] edi_fetcher.pl errors

Martha Driscoll driscoll at noblenet.org
Fri Feb 10 16:15:22 EST 2012


We are testing EDI on a 2.2-alpha1 system running on Debian 6.0.2, 
postgresql 9.0.  When edi_pusher.pl runs our test order gets to the 
vendor (Ingram).  When edi_fetcher.pl runs to retrieve the vendor 
response, we get the following error in the acq.edi_message table:

EDI Translator edi2json failed, Error 2: Uncaught exception Is this 
really UN/EDIFACT? File starts with: UNB+UNOA:0+1697978:31B+ in method 
edi2json

Does anyone know what could be going wrong here?

Here is the entry in osrfsys.log showing the EDI message being retrieved:

[2012-02-10 01:00:12] ./edi_fetcher.pl 
[INFO:30329:RemoteAccount.pm:587:] OpenILS::Utils::RemoteAccount : 
successfully retrieved
UNB+UNOA:0+1697978:31B+3075052:
31B+120126:0840+00000000000009++EANCOM'UNG+ORDRSP+1697978:31B+3075052:31B+120126
:0840+00000000000005+UN+D:96A'UNH+00000000000005+ORDRSP:D:96A:UN:EAN008'BGM+231+
62+29'DTM+137:20120125:102'RFF+ON:62'NAD+BY+20N6885::91'NAD+SU+1697978::31B'LIN+
166+2+9780060186944:EN'PIA+5+0060186941:IB'QTY+21:1'QTY+12:0'FTX+LIN++200:1B:28'
PRI+AAF:22:CA:SRP'RFF+LI:62/166'LIN+167+5+9780142437261:EN'PIA+5+0142437263:IB'Q
TY+21:1'PRI+AAF:7:CA:SRP'RFF+LI:62/167'LIN+168+5+9780152052201:EN'PIA+5+01520522
08:IB'QTY+21:3'PRI+AAF:6.95:CA:SRP'RFF+LI:62/168'LIN+169+2+:EN'PIA+5+:IB'QTY+21:
1'QTY+12:0'FTX+LIN++200:1B:28'PRI+AAF:5:CA:SRP'RFF+LI:62/169'LIN+170+5+978034547
5800:EN'PIA+5+0345475801:IB'QTY+21:1'PRI+AAF:14.95:CA:SRP'RFF+LI:62/170'UNS+S'CN
T+2:5'UNT+38+00000000000005'UNE+1+00000000000005'UNZ+1+00000000000009'

-- 
Martha Driscoll
Systems Manager
North of Boston Library Exchange
Danvers, Massachusetts
www.noblenet.org



More information about the Open-ils-dev mailing list