Time |
Nick |
Message |
08:06 |
|
ahazaril joined #evergreen |
08:50 |
ahazaril |
Hi! I'm trying to do Batch MARC Import in Evergreen 3.11 RC on my test server |
08:51 |
ahazaril |
but it seems error like this: |
08:51 |
ahazaril |
ERROR TypeError: r.id is not a function |
08:51 |
ahazaril |
at Object.next (5959.1f96455ba4311aeb.js:1:14565) |
08:51 |
ahazaril |
at De.next (main.a07a83aabf044c34.js:3:39334) |
08:51 |
ahazaril |
at Re._next (main.a07a83aabf044c34.js:3:39003) |
08:51 |
ahazaril |
at Re.next (main.a07a83aabf044c34.js:3:38689) |
08:51 |
ahazaril |
at x.dispatchResponse (main.a07a83aabf044c34.js:3:14786) |
08:51 |
ahazaril |
at OpenSRF.Request.onresponse (main.a07a83aabf044c34.js:3:14057) |
08:51 |
ahazaril |
at OpenSRF.Stack.handle_message (opensrf.js:748:28) |
08:51 |
ahazaril |
at OpenSRF.Stack.push (opensrf.js:693:23) |
08:51 |
ahazaril |
at OpenSRF.websocketConnection.onmessage (opensrf.js:388:23) |
08:51 |
ahazaril |
at socket.onmessage [as __zone_symbol__ON_PROPERTYmessage] (opensrf_ws.j |
08:51 |
ahazaril |
Vandelay file uploaded OK with key f114583e2c27f43954f487556c7816fe |
09:09 |
|
ahazaril joined #evergreen |
11:45 |
jeffdavis |
ahazaril: those look like errors in the browser console, are there any related error messages in the server logs? |
12:07 |
ahazaril |
which log file i need to view jeffdavis? |
12:10 |
ahazaril |
i found the error |
12:10 |
ahazaril |
[2023-05-27 16:02:29] /usr/sbin/apache2 [INFO:23551:Vandelay.pm:119:16851877862355123] uploaded MARC batch with key 9ca01a23c7f3ebdc36b213bea6c32596 |
12:10 |
ahazaril |
[2023-05-28 00:02:29] open-ils.vandelay [INFO:23904:Application.pm:159:16852033283274518] CALL: open-ils.vandelay open-ils.vandelay.bib.process_spool a5de9d7abb619c9fac2287e833daa4d9, 9ca01a23c7f3ebdc36b213bea6c32596, 1, , , 2, , 1 |
12:10 |
ahazaril |
open-ils.auth 2023-05-27 16:02:29 [INFO:23447:osrf_application.c:1084:16852033283274518] CALL: open-ils.auth open-ils.auth.session.retrieve "a5de9d7abb619c9fac2287e833daa4d9",1 |
12:10 |
ahazaril |
open-ils.auth 2023-05-27 16:02:29 [INFO:23447:oils_event.c:46:16852033283274518] Creating new event: SUCCESS |
12:10 |
ahazaril |
open-ils.auth 2023-05-27 16:02:29 [INFO:23447:osrf_app_session.c:1181:16852033283274518] [open-ils.auth] sent 910 bytes of data to opensrfprivate.localhost/open-ils.vandelay_drone_at_localhost_23904 |
12:10 |
ahazaril |
open-ils.auth 2023-05-27 16:02:29 [INFO:23447:osrf_stack.c:163:16852033283274518] Message processing duration 0.000393 |
12:10 |
ahazaril |
open-ils.cstore 2023-05-28 00:02:29 [INFO:23491:osrf_app_session.c:1181:16852033283274518] [open-ils.cstore] sent 194 bytes of data to opensrfprivate.localhost/open-ils.vandelay_drone_at_localhost_23904 |
12:10 |
ahazaril |
open-ils.cstore 2023-05-28 00:02:29 [INFO:23491:osrf_stack.c:163:16852033283274518] Message processing duration 0.000097 |
12:10 |
ahazaril |
[2023-05-28 00:02:29] open-ils.vandelay [INFO:23904:CStoreEditor.pm:155:16852033283274518] editor[1|1] request en-US open-ils.cstore.transaction.begin [] |
12:10 |
ahazaril |
open-ils.cstore 2023-05-28 00:02:29 [INFO:23491:osrf_app_session.c:1181:16852033283274518] [open-ils.cstore] sent 401 bytes of data to opensrfprivate.localhost/open-ils.vandelay_drone_at_localhost_23904 |
12:10 |
ahazaril |
open-ils.cstore 2023-05-28 00:02:29 [INFO:23491:osrf_stack.c:163:16852033283274518] Message processing duration 0.000329 |
12:10 |
ahazaril |
[2023-05-28 00:02:29] open-ils.vandelay [INFO:23904:CStoreEditor.pm:155:16852033283274518] editor[1|1] request en-US open-ils.cstore.set_audit_info ["a5de9d7abb619c9fac2287e833daa4d9",1,"2"] |
12:10 |
ahazaril |
open-ils.cstore 2023-05-28 00:02:29 [INFO:23491:osrf_application.c:1084:16852033283274518] CALL: open-ils.cstore open-ils.cstore.set_audit_info "a5de9d7abb619c9fac2287e833daa4d9",1,"2" |
12:10 |
ahazaril |
open-ils.cstore 2023-05-28 00:02:29 [INFO:23491:osrf_app_session.c:1181:16852033283274518] [open-ils.cstore] sent 189 bytes of data to opensrfprivate.localhost/open-ils.vandelay_drone_at_localhost_23904 |
12:10 |
ahazaril |
open-ils.cstore 2023-05-28 00:02:29 [INFO:23491:osrf_stack.c:163:16852033283274518] Message processing duration 0.000299 |
12:10 |
ahazaril |
[2023-05-28 00:02:29] open-ils.vandelay [INFO:23904:CStoreEditor.pm:155:16852033283274518] editor[1|1] request en-US open-ils.cstore.direct.vandelay.bib_queue.retrieve 1 |
12:10 |
ahazaril |
open-ils.cstore 2023-05-28 00:02:29 [INFO:23491:osrf_application.c:1084:16852033283274518] CALL: open-ils.cstore open-ils.cstore.direct.vandelay.bib_queue.retrieve 1 |
12:10 |
ahazaril |
open-ils.cstore 2023-05-28 00:02:29 [INFO:23491:osrf_app_session.c:1181:16852033283274518] [open-ils.cstore] sent 431 bytes of data to opensrfprivate.localhost/open-ils.vandelay_drone_at_localhost_23904 |
12:10 |
ahazaril |
This is the error: |
12:10 |
ahazaril |
[2023-05-28 00:02:29] open-ils.vandelay [ERR :23904:Vandelay.pm:272:16852033283274518] unable to read MARC file /tmp/9ca01a23c7f3ebdc36b213bea6c32596.mrc |
12:15 |
jeffdavis |
ah ok, the issue is probably that your /tmp folder isn't readable by the opensrf user - there's a note in the docs somewhere about this, give me a sec to find it |
12:21 |
jeffdavis |
ahazaril: in your opensrf.xml file, change <importer>/tmp</importer> to a folder that the opensrf user can read, such as <importer>/openils/var/tmp</importer> - make sure that whatever folder you use actually exists, then restart EG and see if that works |
12:22 |
jeffdavis |
This is a known issue but there doesn't seem to be a bug report about it, I'll create a bug report in Launchpad |
12:27 |
ahazaril |
tq so much jeffdavis, i try to fix now |
12:32 |
ahazaril |
thanks god, i be able to import. thank you so much jeffdavis. before this, i encounter this problems also, but i thought this problem has been solved due to new version of EG. |
12:32 |
jeffdavis |
Glad that worked! Yeah, I'm surprised it hasn't been fixed yet, we must have overlooked it. |
12:33 |
ahazaril |
hahaha its ok, i forgot also to report a bug in Launchpad before |
12:34 |
jeffdavis |
I've reported it now, bug 2021402 |
12:34 |
pinesol |
Launchpad bug 2021402 in Evergreen "Default Vandelay import folder is not readable by opensrf" [Undecided,New] https://launchpad.net/bugs/2021402 |
12:36 |
jeffdavis |
Hope the rest of your testing goes well! :) |
12:36 |
ahazaril |
tq so much pinesol! |
12:36 |
ahazaril |
tq jeffdavis! |