Re: [Koha] Problem with Wireless Scanner and Inventory/Stocktaking Module

2014-04-02 Thread Jason Etheridge
 Yep, I can recreate bug on 3.14.1, on 3.14.5 and on master.
 So definitely you file a bug at bugs.koha-community.org .. we
 shouldn't be able to send a file to Koha that causes the inventory.pl
 script to spin out of control.

Thanks Chris!  I'll file a bug.

-- 
Jason Etheridge
| Support Manager
| Equinox Software, Inc. / The Open Source Experts
| phone: 1-877-OPEN-ILS (673-6457)
| email: ja...@esilibrary.com
| web: http://www.esilibrary.com
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Problem with Wireless Scanner and Inventory/Stocktaking Module

2014-04-02 Thread Jason Etheridge
For reference: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12025

-- 
Jason Etheridge
| Support Manager
| Equinox Software, Inc. / The Open Source Experts
| phone: 1-877-OPEN-ILS (673-6457)
| email: ja...@esilibrary.com
| web: http://www.esilibrary.com
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Problem with Wireless Scanner and Inventory/Stocktaking Module

2014-04-01 Thread Chris Cormack
* Jason Etheridge (ja...@esilibrary.com) wrote:
  Could you send me a copy of the file (offlist) and I will take a look.
 
 Chris, some additional information that I hope can help.  When I
 strace the inventory.pl script it appears to be looping on commands
 like this:
 
Yep, I can recreate bug on 3.14.1, on 3.14.5 and on master.
So definitely you file a bug at bugs.koha-community.org .. we
shouldn't be able to send a file to Koha that causes the inventory.pl
script to spin out of control.

It isn't specific to your file either, however it works fine in 3.12.12

So what I did is git bisect
And tracked it down to this commit
0313856d9a1a9c0c002da0aead8c8516b51e1c11

Which is from Bug 7684 
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7684

So if you wanted to add that information as well to the bug it might
help people fix it.

But that is certainly the commit that slows it down immensely

Chris

-- 
Chris Cormack
Catalyst IT Ltd.
+64 4 803 2238
PO Box 11-053, Manners St, Wellington 6142, New Zealand
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Problem with Wireless Scanner and Inventory/Stocktaking Module

2014-03-31 Thread Jason Etheridge
 The support team at ESI believes this could be related to the ClamAV
 antivirus software, but we don't use that particular product.

To be clear, it's the reported error HAVP: Server is down that
points to ClamAV.

Regards,

-- 
Jason Etheridge
| Support Manager
| Equinox Software, Inc. / The Open Source Experts
| phone: 1-877-OPEN-ILS (673-6457)
| email: ja...@esilibrary.com
| web: http://www.esilibrary.com
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Problem with Wireless Scanner and Inventory/Stocktaking Module

2014-03-31 Thread Chris Cormack
* Darcy Gullacher (dgullac...@rockymountaincollege.ca) wrote:
 I am a problem that has stumped me, our IT tech, and our support team. I
 recently bought a Motorola CS3000 wireless scanner for the sole purpose of
 doing inventory. Scanned barcodes are batch loaded in .txt format from the
 scanner into the Inventory module using the Use a barcode file section
 and submitted, as instructed in the manual.
 
 After several minutes of nothing happening, I receive the error message
 from the browser Could Not Read Headers. Checking the submitted barcodes
 against our catalogue something has happened, because the items 'date
 last seen' now reads 00-00-.
 
 The support team at ESI believes this could be related to the ClamAV
 antivirus software, but we don't use that particular product.
 
 Here's what we've tried so far:
 
 - Tried in Chrome, FireFox, and IE. Same results.
 - Switching internal networks to bypass the firewall. Same result.
 - I had two other libraries that are part of our local consortium run the
 barcodes. They had no success either (neither of them has a wireless
 scanner, I'm the trailblazer in this regard).
 - I tried loading the file on through my personal laptop at my home. Same
 results.
 - I've tried changing the file format from .txt to .csv. Same results.
 - I loaded a file of barcodes using our wired scanner at the circulation
 desk. Same results.
 - I've checked the file using Notepad++ to catch any hidden characters.
 Nothing look out of line.
 
 We're on version 3.14.03.000
 

Could you send me a copy of the file (offlist) and I will take a look.

Chris
-- 
Chris Cormack
Catalyst IT Ltd.
+64 4 803 2238
PO Box 11-053, Manners St, Wellington 6142, New Zealand
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Problem with Wireless Scanner and Inventory/Stocktaking Module

2014-03-31 Thread Jason Etheridge
 Could you send me a copy of the file (offlist) and I will take a look.

Chris, some additional information that I hope can help.  When I
strace the inventory.pl script it appears to be looping on commands
like this:

write(5, s\0\0\0\3select authorised_value fro..., 119) = 119
read(5, \1\0\0\1\1h\0\0\2\3def\4salt\27marc_subfield..., 16384) = 144
poll([{fd=5, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(5, Y\0\0\0\3select authorised_value, li..., 93) = 93
read(5, \1\0\0\1\3\\\0\0\2\3def\4salt\21authorised_va..., 16384) = 337
poll([{fd=5, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(5, \1\0\0\0\16, 5)  = 5
read(5, \7\0\0\1\0\0\0\2\0\0\0, 16384) = 11
poll([{fd=5, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(5, \1\0\0\0\16, 5)  = 5
read(5, \7\0\0\1\0\0\0\2\0\0\0, 16384) = 11
poll([{fd=5, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)

-- 
Jason Etheridge
| Support Manager
| Equinox Software, Inc. / The Open Source Experts
| phone: 1-877-OPEN-ILS (673-6457)
| email: ja...@esilibrary.com
| web: http://www.esilibrary.com
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha