Error when importing file
Hi, I try to import an MARC file in koha and job failed. I search the log file intranet-error.log and found this error: [Fri May 05 08:50:43.696999 2023] [cgi:error] [pid 7720] [client ::1:42966] AH01215: Found = in conditional, should be == at /usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl line 93.: /usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl, referer: http://localhost:8080/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_... Can you please let me know if this is a configuration error or a system error? Thanks -- Tiago Rodrigo Marçal Murakami Bibliotecário
Looks like a bug in v22.11.05 to me. Here's line 93 of tools/ manage-marc-import.pl: $overlay_framework = undef if $overlay_framework = '_USE_ORIG'; I think the second '=' should be 'eq'. Same file in the master branch looks the same too. On Fri, May 5, 2023 at 5:56 AM Tiago Murakami <trmurakami@gmail.com> wrote:
Hi,
I try to import an MARC file in koha and job failed.
I search the log file intranet-error.log and found this error:
[Fri May 05 08:50:43.696999 2023] [cgi:error] [pid 7720] [client ::1:42966] AH01215: Found = in conditional, should be == at /usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl line 93.: /usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl, referer: http://localhost:8080/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_...
Can you please let me know if this is a configuration error or a system error?
Thanks
-- Tiago Rodrigo Marçal Murakami Bibliotecário _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
-- Michael Hafen Washington County School District Technology Department Systems Analyst
Hi, We've also hit the same problem and trying to solve the issue. If we can, I'll share here. Mengü Yazıcıoğlu Devinim On 5.05.2023 19:36, Michael Hafen wrote:
Looks like a bug in v22.11.05 to me. Here's line 93 of tools/manage-marc-import.pl <http://manage-marc-import.pl>:
$overlay_framework = undef if $overlay_framework = '_USE_ORIG';
I think the second '=' should be 'eq'. Same file in the master branch looks the same too.
On Fri, May 5, 2023 at 5:56 AM Tiago Murakami <trmurakami@gmail.com <mailto:trmurakami@gmail.com>> wrote:
Hi,
I try to import an MARC file in koha and job failed.
I search the log file intranet-error.log and found this error:
[Fri May 05 08:50:43.696999 2023] [cgi:error] [pid 7720] [client ::1:42966] AH01215: Found = in conditional, should be == at /usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl <http://manage-marc-import.pl> line 93.: /usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl <http://manage-marc-import.pl>, referer: http://localhost:8080/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_...
Can you please let me know if this is a configuration error or a system error?
Thanks
-- Tiago Rodrigo Marçal Murakami Bibliotecário _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org <mailto:Koha-devel@lists.koha-community.org> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
-- Michael Hafen Washington County School District Technology Department Systems Analyst
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
Hi Changing line 93 to $overlay_framework = undef if ($overlay_framework == '_USE_ORIG'); will solve the issue Mengü Yazıcıoğlu Devinim On 5.05.2023 22:35, Mengu Yazicioglu wrote:
Hi,
We've also hit the same problem and trying to solve the issue.
If we can, I'll share here.
Mengü Yazıcıoğlu Devinim On 5.05.2023 19:36, Michael Hafen wrote:
Looks like a bug in v22.11.05 to me. Here's line 93 of tools/manage-marc-import.pl <http://manage-marc-import.pl>:
$overlay_framework = undef if $overlay_framework = '_USE_ORIG';
I think the second '=' should be 'eq'. Same file in the master branch looks the same too.
On Fri, May 5, 2023 at 5:56 AM Tiago Murakami <trmurakami@gmail.com <mailto:trmurakami@gmail.com>> wrote:
Hi,
I try to import an MARC file in koha and job failed.
I search the log file intranet-error.log and found this error:
[Fri May 05 08:50:43.696999 2023] [cgi:error] [pid 7720] [client ::1:42966] AH01215: Found = in conditional, should be == at /usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl <http://manage-marc-import.pl> line 93.: /usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl <http://manage-marc-import.pl>, referer: http://localhost:8080/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_...
Can you please let me know if this is a configuration error or a system error?
Thanks
-- Tiago Rodrigo Marçal Murakami Bibliotecário _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org <mailto:Koha-devel@lists.koha-community.org> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
-- Michael Hafen Washington County School District Technology Department Systems Analyst
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website :https://www.koha-community.org/ git :https://git.koha-community.org/ bugs :https://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
I try, but I had a new error: [Fri May 05 17:13:40.418662 2023] [cgi:error] [pid 12480] [client ::1:33606] AH01215: Argument "_USE_ORIG_" isn't numeric in numeric eq (==) at /usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl line 93.: /usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl, referer: http://localhost:8080/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_... Thanks in advance Tiago Murakami On Fri, May 5, 2023 at 4:49 PM Mengu Yazicioglu <mengu@devinim.com.tr> wrote:
Hi
Changing line 93 to $overlay_framework = undef if ($overlay_framework == '_USE_ORIG');
will solve the issue
Mengü Yazıcıoğlu Devinim
On 5.05.2023 22:35, Mengu Yazicioglu wrote:
Hi,
We've also hit the same problem and trying to solve the issue.
If we can, I'll share here.
Mengü Yazıcıoğlu Devinim
On 5.05.2023 19:36, Michael Hafen wrote:
Looks like a bug in v22.11.05 to me. Here's line 93 of tools/ manage-marc-import.pl:
$overlay_framework = undef if $overlay_framework = '_USE_ORIG';
I think the second '=' should be 'eq'. Same file in the master branch looks the same too.
On Fri, May 5, 2023 at 5:56 AM Tiago Murakami <trmurakami@gmail.com> wrote:
Hi,
I try to import an MARC file in koha and job failed.
I search the log file intranet-error.log and found this error:
[Fri May 05 08:50:43.696999 2023] [cgi:error] [pid 7720] [client ::1:42966] AH01215: Found = in conditional, should be == at /usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl line 93.: /usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl, referer: http://localhost:8080/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_...
Can you please let me know if this is a configuration error or a system error?
Thanks
-- Tiago Rodrigo Marçal Murakami Bibliotecário _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
-- Michael Hafen Washington County School District Technology Department Systems Analyst
_______________________________________________ Koha-devel mailing listKoha-devel@lists.koha-community.orghttps://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing listKoha-devel@lists.koha-community.orghttps://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
-- Tiago Murakami
Hi, It worked for us but didn't go much detail. I opened a bug for this. Maybe it is better to continue there. https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33692 Mengü Yazıcıoğlu Devinim On 5.05.2023 23:18, Tiago Murakami wrote:
I try, but I had a new error:
[Fri May 05 17:13:40.418662 2023] [cgi:error] [pid 12480] [client ::1:33606] AH01215: Argument "_USE_ORIG_" isn't numeric in numeric eq (==) at /usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl <http://manage-marc-import.pl> line 93.: /usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl <http://manage-marc-import.pl>, referer: http://localhost:8080/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_...
Thanks in advance
Tiago Murakami
On Fri, May 5, 2023 at 4:49 PM Mengu Yazicioglu <mengu@devinim.com.tr <mailto:mengu@devinim.com.tr>> wrote:
Hi
Changing line 93 to $overlay_framework = undef if ($overlay_framework == '_USE_ORIG');
will solve the issue
Mengü Yazıcıoğlu Devinim
On 5.05.2023 22:35, Mengu Yazicioglu wrote:
Hi,
We've also hit the same problem and trying to solve the issue.
If we can, I'll share here.
Mengü Yazıcıoğlu Devinim On 5.05.2023 19:36, Michael Hafen wrote:
Looks like a bug in v22.11.05 to me. Here's line 93 of tools/manage-marc-import.pl <http://manage-marc-import.pl>:
$overlay_framework = undef if $overlay_framework = '_USE_ORIG';
I think the second '=' should be 'eq'. Same file in the master branch looks the same too.
On Fri, May 5, 2023 at 5:56 AM Tiago Murakami <trmurakami@gmail.com <mailto:trmurakami@gmail.com>> wrote:
Hi,
I try to import an MARC file in koha and job failed.
I search the log file intranet-error.log and found this error:
[Fri May 05 08:50:43.696999 2023] [cgi:error] [pid 7720] [client ::1:42966] AH01215: Found = in conditional, should be == at /usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl <http://manage-marc-import.pl> line 93.: /usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl <http://manage-marc-import.pl>, referer: http://localhost:8080/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_...
Can you please let me know if this is a configuration error or a system error?
Thanks
-- Tiago Rodrigo Marçal Murakami Bibliotecário _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org <mailto:Koha-devel@lists.koha-community.org> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
-- Michael Hafen Washington County School District Technology Department Systems Analyst
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org <mailto:Koha-devel@lists.koha-community.org> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website :https://www.koha-community.org/ git :https://git.koha-community.org/ bugs :https://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org <mailto:Koha-devel@lists.koha-community.org> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website :https://www.koha-community.org/ git :https://git.koha-community.org/ bugs :https://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org <mailto:Koha-devel@lists.koha-community.org> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
-- Tiago Murakami
[Fri May 05 17:13:40.418662 2023] [cgi:error] [pid 12480] [client ::1:33606] AH01215: Argument "_USE_ORIG_" isn't numeric in numeric eq (==) at /usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl line 93.: /usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl, referer: http://localhost:8080/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_... You've got an underscore at the end of _USE_ORIG (from what I can see, you've used '_USE_ORIG_' instead of '_USE_ORIG').
participants (4)
-
David Nind -
Mengu Yazicioglu -
Michael Hafen -
Tiago Murakami