Trouble with .koc-files and check-ins
Hi all! I'm having some trouble after a client has registered a number of check ins in the offline client (http://millruntech.com/koha/koha-tools/koha-offline-circulation). The file looks A-1 OK, but when I upload and process it I get this for every item, regardless of whether it is on loan or not: Warning: Unable to determine patron from item barcode (71560695). Cannot check in. I have tried looking at the code, but have not been able to find any obvious errors. I have also tried to copy the relevant bits of code into a script that I run from the command line, and this seems to work. The script (offline_circ/process_koc.pl http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=offline_circ/proce...) does some tricks with forking processes and running stuff in the background that is above my level of incompetence, but since this is on a server with several dev-installs I was wondering if the background stuff might be losing sight of what installation it is working on, and not working against the correct MySQL database. Just a hunch though. Has anyone else had similar experiences or know about a solution? Regards, Magnus Enger libriotech.no
We are using the offline circ and the only time we see this error is when the item is not checked out. We are on 3.01.00.039. Susan Bennett ILS System Administrator Geauga County Public Library 440 286-6811 x 125 440 286-7419 FAX On Wed, Jul 7, 2010 at 12:28 PM, Magnus Enger <magnus@enger.priv.no> wrote:
Hi all!
I'm having some trouble after a client has registered a number of check ins in the offline client (http://millruntech.com/koha/koha-tools/koha-offline-circulation). The file looks A-1 OK, but when I upload and process it I get this for every item, regardless of whether it is on loan or not:
Warning: Unable to determine patron from item barcode (71560695). Cannot check in.
I have tried looking at the code, but have not been able to find any obvious errors. I have also tried to copy the relevant bits of code into a script that I run from the command line, and this seems to work. The script (offline_circ/process_koc.pl
http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=offline_circ/proce... ) does some tricks with forking processes and running stuff in the background that is above my level of incompetence, but since this is on a server with several dev-installs I was wondering if the background stuff might be losing sight of what installation it is working on, and not working against the correct MySQL database. Just a hunch though.
Has anyone else had similar experiences or know about a solution?
Regards, Magnus Enger libriotech.no _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Good for you! ;-) I think I found a bug related to Windows on the client and Linux on the server, which would explain my problem: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4973 I'm also seeing some erratic behaviour which I thought at first was related to the size of the .koc-file, but now I'm not so sure: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4975 Have you ever experienced anything like that? Regards, Magnus Enger libriotech.no On 7 July 2010 20:18, Susan Bennett <susan.bennett@geaugalibrary.info> wrote:
We are using the offline circ and the only time we see this error is when the item is not checked out. We are on 3.01.00.039.
Susan Bennett ILS System Administrator Geauga County Public Library 440 286-6811 x 125 440 286-7419 FAX
On Wed, Jul 7, 2010 at 12:28 PM, Magnus Enger <magnus@enger.priv.no> wrote:
Hi all!
I'm having some trouble after a client has registered a number of check ins in the offline client (http://millruntech.com/koha/koha-tools/koha-offline-circulation). The file looks A-1 OK, but when I upload and process it I get this for every item, regardless of whether it is on loan or not:
Warning: Unable to determine patron from item barcode (71560695). Cannot check in.
I have tried looking at the code, but have not been able to find any obvious errors. I have also tried to copy the relevant bits of code into a script that I run from the command line, and this seems to work. The script (offline_circ/process_koc.pl
http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=offline_circ/proce...) does some tricks with forking processes and running stuff in the background that is above my level of incompetence, but since this is on a server with several dev-installs I was wondering if the background stuff might be losing sight of what installation it is working on, and not working against the correct MySQL database. Just a hunch though.
Has anyone else had similar experiences or know about a solution?
Regards, Magnus Enger libriotech.no _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
We had been seeing the last BUG but have not seen it since our last update. When we manually checked the .koc file against Koha records after getting NaN% MOST of the time all the transactions had been processed. Susan Bennett ILS System Administrator Geauga County Public Library 440 286-6811 x 125 440 286-7419 FAX On Thu, Jul 8, 2010 at 3:07 PM, Magnus Enger <magnus@enger.priv.no> wrote:
Good for you! ;-)
I think I found a bug related to Windows on the client and Linux on the server, which would explain my problem: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4973
I'm also seeing some erratic behaviour which I thought at first was related to the size of the .koc-file, but now I'm not so sure: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4975 Have you ever experienced anything like that?
Regards, Magnus Enger libriotech.no
On 7 July 2010 20:18, Susan Bennett <susan.bennett@geaugalibrary.info> wrote:
We are using the offline circ and the only time we see this error is when the item is not checked out. We are on 3.01.00.039.
Susan Bennett ILS System Administrator Geauga County Public Library 440 286-6811 x 125 440 286-7419 FAX
On Wed, Jul 7, 2010 at 12:28 PM, Magnus Enger <magnus@enger.priv.no> wrote:
Hi all!
I'm having some trouble after a client has registered a number of check ins in the offline client (http://millruntech.com/koha/koha-tools/koha-offline-circulation). The file looks A-1 OK, but when I upload and process it I get this for every item, regardless of whether it is on loan or not:
Warning: Unable to determine patron from item barcode (71560695). Cannot check in.
I have tried looking at the code, but have not been able to find any obvious errors. I have also tried to copy the relevant bits of code into a script that I run from the command line, and this seems to work. The script (offline_circ/process_koc.pl
http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=offline_circ/proce... )
does some tricks with forking processes and running stuff in the background that is above my level of incompetence, but since this is on a server with several dev-installs I was wondering if the background stuff might be losing sight of what installation it is working on, and not working against the correct MySQL database. Just a hunch though.
Has anyone else had similar experiences or know about a solution?
Regards, Magnus Enger libriotech.no _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
I'm seeing it on 3.01.00.061. Regards, Magnus Enger libriotech.no On 8 July 2010 22:17, Susan Bennett <susan.bennett@geaugalibrary.info> wrote:
We had been seeing the last BUG but have not seen it since our last update. When we manually checked the .koc file against Koha records after getting NaN% MOST of the time all the transactions had been processed.
Susan Bennett ILS System Administrator Geauga County Public Library 440 286-6811 x 125 440 286-7419 FAX
On Thu, Jul 8, 2010 at 3:07 PM, Magnus Enger <magnus@enger.priv.no> wrote:
Good for you! ;-)
I think I found a bug related to Windows on the client and Linux on the server, which would explain my problem: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4973
I'm also seeing some erratic behaviour which I thought at first was related to the size of the .koc-file, but now I'm not so sure: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4975 Have you ever experienced anything like that?
Regards, Magnus Enger libriotech.no
On 7 July 2010 20:18, Susan Bennett <susan.bennett@geaugalibrary.info> wrote:
We are using the offline circ and the only time we see this error is when the item is not checked out. We are on 3.01.00.039.
Susan Bennett ILS System Administrator Geauga County Public Library 440 286-6811 x 125 440 286-7419 FAX
On Wed, Jul 7, 2010 at 12:28 PM, Magnus Enger <magnus@enger.priv.no> wrote:
Hi all!
I'm having some trouble after a client has registered a number of check ins in the offline client (http://millruntech.com/koha/koha-tools/koha-offline-circulation). The file looks A-1 OK, but when I upload and process it I get this for every item, regardless of whether it is on loan or not:
Warning: Unable to determine patron from item barcode (71560695). Cannot check in.
I have tried looking at the code, but have not been able to find any obvious errors. I have also tried to copy the relevant bits of code into a script that I run from the command line, and this seems to work. The script (offline_circ/process_koc.pl
http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=offline_circ/proce...) does some tricks with forking processes and running stuff in the background that is above my level of incompetence, but since this is on a server with several dev-installs I was wondering if the background stuff might be losing sight of what installation it is working on, and not working against the correct MySQL database. Just a hunch though.
Has anyone else had similar experiences or know about a solution?
Regards, Magnus Enger libriotech.no _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
My version is the LEK version so I wonder if there is a BUG fix that has not yet been transferred to the Koha community. Susan Bennett ILS System Administrator Geauga County Public Library 440 286-6811 x 125 440 286-7419 FAX On Thu, Jul 8, 2010 at 6:18 PM, Magnus Enger <magnus@enger.priv.no> wrote:
I'm seeing it on 3.01.00.061.
Regards, Magnus Enger libriotech.no
On 8 July 2010 22:17, Susan Bennett <susan.bennett@geaugalibrary.info> wrote:
We had been seeing the last BUG but have not seen it since our last update. When we manually checked the .koc file against Koha records after getting NaN% MOST of the time all the transactions had been processed.
Susan Bennett ILS System Administrator Geauga County Public Library 440 286-6811 x 125 440 286-7419 FAX
On Thu, Jul 8, 2010 at 3:07 PM, Magnus Enger <magnus@enger.priv.no> wrote:
Good for you! ;-)
I think I found a bug related to Windows on the client and Linux on the server, which would explain my problem: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4973
I'm also seeing some erratic behaviour which I thought at first was related to the size of the .koc-file, but now I'm not so sure: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4975 Have you ever experienced anything like that?
Regards, Magnus Enger libriotech.no
On 7 July 2010 20:18, Susan Bennett <susan.bennett@geaugalibrary.info> wrote:
We are using the offline circ and the only time we see this error is when the item is not checked out. We are on 3.01.00.039.
Susan Bennett ILS System Administrator Geauga County Public Library 440 286-6811 x 125 440 286-7419 FAX
On Wed, Jul 7, 2010 at 12:28 PM, Magnus Enger <magnus@enger.priv.no> wrote:
Hi all!
I'm having some trouble after a client has registered a number of check ins in the offline client (http://millruntech.com/koha/koha-tools/koha-offline-circulation).
The
file looks A-1 OK, but when I upload and process it I get this for every item, regardless of whether it is on loan or not:
Warning: Unable to determine patron from item barcode (71560695). Cannot check in.
I have tried looking at the code, but have not been able to find any obvious errors. I have also tried to copy the relevant bits of code into a script that I run from the command line, and this seems to work. The script (offline_circ/process_koc.pl
http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=offline_circ/proce... )
does some tricks with forking processes and running stuff in the background that is above my level of incompetence, but since this is on a server with several dev-installs I was wondering if the background stuff might be losing sight of what installation it is working on, and not working against the correct MySQL database. Just a hunch though.
Has anyone else had similar experiences or know about a solution?
Regards, Magnus Enger libriotech.no _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
participants (2)
-
Magnus Enger -
Susan Bennett