[Koha-bugs] [Bug 28616] New: Add libdata-printer-perl package

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 23 04:27:10 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28616

            Bug ID: 28616
           Summary: Add libdata-printer-perl package
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P5 - low
         Component: Packaging
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: mtj at kohaaloha.com
        QA Contact: testopia at bugs.koha-community.org
                CC: mtj at kohaaloha.com

On 23/06/21 4:14 am, Michael Kuhn wrote:
> Hi Himanshu
>
> > image.png
> > This is the error i am getting when I click on import Patrons module.
> > Koha version is 21.05. this is the reason I asked.
>
> Error 500 is a very unspecific HTTP message that can have many different reasons. You will have to search for the reason in the log files.
>
> However, this error has nothing to do with the (meanwhile solved) problem described in my posting "[Koha] Reoccurring DBMS auto increment issue".
>
> Just for your information: I just checked in my own demo installation ( http://koha.adminkuhn.ch:8080 ) which uses Koha 21.05 - it also gives me Error 500 when clicking Koha menu "Tools > Import patrons". In my case log file "plack-error.log" shows the following:
>
> Could not compile /usr/share/koha/intranet/cgi-bin/tools/import_borrowers.pl: Can't locate Data/Printer.pm in @INC (you may need to install the Data::Printer module) (@INC contains: /usr/share/koha/lib /usr/share/koha/installer /usr/share/koha/lib/installer /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base /var/lib/koha/sandkasten/plugins) at /usr/share/koha/lib/Koha/Patrons/Import.pm line 352.
> BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/Patrons/Import.pm line 352.
> Compilation failed in require at /usr/share/koha/intranet/cgi-bin/tools/import_borrowers.pl line 50.
> BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/tools/import_borrowers.pl line 50.
>
> Maybe this is just a new bug you found.
>
> Best wishes: Michael

hi Michael ,
this does seem to be a bug in 21.05 (at least)

the following command should fix the problem, if the libdata-printer-perl
package is not installed

  $ sudo apt install libdata-printer-perl

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list