software error while batch editing records
Hi I tried to batch edit 10000 records in a demo instance by appying a modification template The job is stuck, and this page gave me a sofware error : /cgi-bin/koha/admin/background_jobs.pl?op=view&id=2 Software error: Template process failed: undef error - unexpected end of string while parsing JSON string, at character offset 65535 (before "(end of string)") at .../Koha/BackgroundJob.pm line 182. I suspect this is a bug... Is it yet reported ? Is Koha supposed to be able to batch edit thousands of records? -- Mathieu Saby
Excerpts from Mathieu Saby's message of 2022-01-02 12:52:34 +0100:
Template process failed: undef error - unexpected end of string while parsing JSON string, at character offset 65535 (before "(end of string)") at .../Koha/BackgroundJob.pm line 182.
That 65535 (0xffff in hex) is pretty suspicious. Sounds like a buffer size limit/overrun bug, but I have not looked at the code. -- My object is to save the world, while still leading a pleasant life. --Ashleigh Brilliant
Hi I forgot to mention : I used this demo instance https://kpro.tamil.fr/ Version Koha : 20.11.02.001 Regards, M. Saby Le dim. 2 janv. 2022 à 13:34, Mark Alexander <marka@pobox.com> a écrit :
Excerpts from Mathieu Saby's message of 2022-01-02 12:52:34 +0100:
Template process failed: undef error - unexpected end of string while parsing JSON string, at character offset 65535 (before "(end of string)") at .../Koha/BackgroundJob.pm line 182.
That 65535 (0xffff in hex) is pretty suspicious. Sounds like a buffer size limit/overrun bug, but I have not looked at the code.
-- My object is to save the world, while still leading a pleasant life. --Ashleigh Brilliant
-- Mathieu Saby
Hi, Looks like it may be : https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29386 background jobs table data field is a TEXT which is too small Integrated in 20.11.12 Best regards, Le 02/01/2022 à 22:24, Mathieu Saby a écrit :
Hi I forgot to mention : I used this demo instance https://kpro.tamil.fr/ Version Koha : 20.11.02.001 Regards, M. Saby
Le dim. 2 janv. 2022 à 13:34, Mark Alexander <marka@pobox.com> a écrit :
Excerpts from Mathieu Saby's message of 2022-01-02 12:52:34 +0100:
Template process failed: undef error - unexpected end of string while parsing JSON string, at character offset 65535 (before "(end of string)") at .../Koha/BackgroundJob.pm line 182.
That 65535 (0xffff in hex) is pretty suspicious. Sounds like a buffer size limit/overrun bug, but I have not looked at the code.
-- My object is to save the world, while still leading a pleasant life. --Ashleigh Brilliant
-- Fridolin SOMERS <fridolin.somers@biblibre.com> Software and system maintainer 🦄 BibLibre, France
Oh yes! So it is resolved ;-) M. Saby Le lun. 3 janv. 2022 à 09:34, Fridolin SOMERS <fridolin.somers@biblibre.com> a écrit :
Hi,
Looks like it may be : https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29386 background jobs table data field is a TEXT which is too small
Integrated in 20.11.12
Best regards,
Le 02/01/2022 à 22:24, Mathieu Saby a écrit :
Hi I forgot to mention : I used this demo instance https://kpro.tamil.fr/ Version Koha : 20.11.02.001 Regards, M. Saby
Le dim. 2 janv. 2022 à 13:34, Mark Alexander <marka@pobox.com> a écrit :
Excerpts from Mathieu Saby's message of 2022-01-02 12:52:34 +0100:
Template process failed: undef error - unexpected end of string while parsing JSON string, at character offset 65535 (before "(end of string)") at .../Koha/BackgroundJob.pm line 182.
That 65535 (0xffff in hex) is pretty suspicious. Sounds like a buffer size limit/overrun bug, but I have not looked at the code.
-- My object is to save the world, while still leading a pleasant life. --Ashleigh Brilliant
-- Fridolin SOMERS <fridolin.somers@biblibre.com> Software and system maintainer 🦄 BibLibre, France _______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
-- Mathieu Saby
participants (3)
-
Fridolin SOMERS -
Mark Alexander -
Mathieu Saby