Re: [Koha] search_for_data_inconsistencies.pl: Can't call method "get_column"

2023-10-03 Thread Michael Kuhn

Hi Jonathan

Thanks for your message! You wrote:

> Line 157 on this version is about authorised values. My guess is that
> you have a value in marc_subfield_structure.authorised_value that does
> not have an entry in the authorised_values table (column category).
>
> It can be considered as a bug for this script, and it seems (looking
> at the code) that the bug still exists in master (so please report it
> on bugzilla).

I have now opened bug 
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34974 
(search_for_data_inconsistencies.pl: Can't call method "get_column")


> 20.11.02? Did you typo the version? You should at least upgrade to the
> latest 20.11.x!

No typo, just a fact from an imperfect world...

Best wishes: Michael
--
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E m...@adminkuhn.ch · W www.adminkuhn.ch




Le dim. 1 oct. 2023 à 20:02, Michael Kuhn  a écrit :


Hi

We are using Koha 20.11.02 with MariaDB 10.3.39, running on Debian
GNU/Linux 10.

When calling the script "search_for_data_inconsistencies.pl" the only
output is the following:

$ sudo koha-shell -c "perl
/usr/share/koha/bin/maintenance/search_for_data_inconsistencies.pl"
instancename
Can't call method "get_column" on an undefined value at
/usr/share/koha/bin/maintenance/search_for_data_inconsistencies.pl line 157.

Does anyone know how to solve this problem?

Best wishes: Michael
--
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E m...@adminkuhn.ch · W www.adminkuhn.ch
___

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha



___

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] search_for_data_inconsistencies.pl: Can't call method "get_column"

2023-10-02 Thread Jonathan Druart
Hi,

Line 157 on this version is about authorised values. My guess is that
you have a value in marc_subfield_structure.authorised_value that does
not have an entry in the authorised_values table (column category).

It can be considered as a bug for this script, and it seems (looking
at the code) that the bug still exists in master (so please report it
on bugzilla).

20.11.02? Did you typo the version? You should at least upgrade to the
latest 20.11.x!

Regards,
Jonathan

Le dim. 1 oct. 2023 à 20:02, Michael Kuhn  a écrit :
>
> Hi
>
> We are using Koha 20.11.02 with MariaDB 10.3.39, running on Debian
> GNU/Linux 10.
>
> When calling the script "search_for_data_inconsistencies.pl" the only
> output is the following:
>
> $ sudo koha-shell -c "perl
> /usr/share/koha/bin/maintenance/search_for_data_inconsistencies.pl"
> instancename
> Can't call method "get_column" on an undefined value at
> /usr/share/koha/bin/maintenance/search_for_data_inconsistencies.pl line 157.
>
> Does anyone know how to solve this problem?
>
> Best wishes: Michael
> --
> Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
> Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
> T 0041 (0)61 261 55 61 · E m...@adminkuhn.ch · W www.adminkuhn.ch
> ___
>
> Koha mailing list  http://koha-community.org
> Koha@lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
___

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


[Koha] search_for_data_inconsistencies.pl: Can't call method "get_column"

2023-10-01 Thread Michael Kuhn

Hi

We are using Koha 20.11.02 with MariaDB 10.3.39, running on Debian 
GNU/Linux 10.


When calling the script "search_for_data_inconsistencies.pl" the only 
output is the following:


$ sudo koha-shell -c "perl 
/usr/share/koha/bin/maintenance/search_for_data_inconsistencies.pl" 
instancename
Can't call method "get_column" on an undefined value at 
/usr/share/koha/bin/maintenance/search_for_data_inconsistencies.pl line 157.


Does anyone know how to solve this problem?

Best wishes: Michael
--
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E m...@adminkuhn.ch · W www.adminkuhn.ch
___

Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha