Bug 29642 - About page marks several Perl modules as missing (package installation).
Summary: About page marks several Perl modules as missing (package installation).
Status: ASSIGNED
Alias: None
Product: Koha
Classification: Unclassified
Component: Packaging (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 - low minor
Assignee: Mason James
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-04 17:19 UTC by Manos PETRIDIS
Modified: 2023-06-25 10:31 UTC (History)
5 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
ing (137.72 KB, image/png)
2022-03-16 12:14 UTC, Mason James
Details
Modules are still reported as missing in 22.05.00-1 (100.07 KB, image/png)
2022-06-05 15:34 UTC, Manos PETRIDIS
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manos PETRIDIS 2021-12-04 17:19:31 UTC
I notice that in the "Perl modules" tab at /cgi-bin/koha/about.pl some modules appear as missing, namely

Text::CSV::Unicode (0.40)	Not Installed
Selenium::Remote::Driver (1.27)	Not Installed	
Test::DBIx::Class (0.42)	Not Installed
HTTPD::Bench::ApacheBench (0.73)	Not Installed
Locale::XGettext::TT2 (0.7)	Not Installed

As my installation is a vanilla one (koha-common on Debian),
I wonder if they should have been installed by default. 

For example, I see in 
https://git.koha-community.org/Koha-community/Koha/commit/f180314f58c57ce0c6c1094fa19da88502085144
that "Selenium::Remote::Driver (1.27)" should have been included in the dependencies list years ago. 

Another example: Locale::XGettext::TT2 (0.7) is mentioned in 
https://git.koha-community.org/Koha-community/Koha/commit/3cfc2ec7bd1becef4386404fe7fc9f12740e8c97
as "new dependency" two years ago, yet it is absent from my installation, despite several upgrades since. 

What gives?
Comment 1 Jonathan Druart 2021-12-08 11:19:55 UTC Comment hidden (obsolete)
Comment 2 Jonathan Druart 2021-12-08 11:20:40 UTC
Hi Manos,

They are used for tests or benchmarking, so they are not mandatory and you can use Koha without any problems.

Locale::XGettext::TT2 is a false positive, see bug 28666.
Comment 3 Fridolin Somers 2021-12-08 21:47:12 UTC
If you have commandline access, you may use 'koha_perl_deps.pl -m' :

https://git.koha-community.org/Koha-community/Koha/src/branch/master/koha_perl_deps.pl
Comment 4 Mason James 2022-03-16 12:12:55 UTC
(In reply to Manos PETRIDIS from comment #0)
> I notice that in the "Perl modules" tab at /cgi-bin/koha/about.pl some
> modules appear as missing, namely
> 

a small update...

the dev version 21.12.00.018 (currently in master branch) now shows all modules as installed

these packages will probably be added to the stable apt repo
Comment 5 Mason James 2022-03-16 12:14:14 UTC
Created attachment 131782 [details]
ing
Comment 6 Manos PETRIDIS 2022-03-17 19:33:41 UTC
(In reply to Fridolin Somers from comment #3)
> If you have commandline access, you may use 'koha_perl_deps.pl -m' :
> 
> https://git.koha-community.org/Koha-community/Koha/src/branch/master/
> koha_perl_deps.pl

I've copied said file to my server, yet can't find an option that would install missing modules. Am I doing something wrong?
Comment 7 Fridolin Somers 2022-03-18 00:36:14 UTC
They are used for tests or benchmarking
Do you want to make developpements ?
For that use koha-testing-docker https://wiki.koha-community.org/wiki/Koha-testing-docker
Comment 8 Mason James 2022-03-18 02:01:44 UTC
(In reply to Manos PETRIDIS from comment #6)
> (In reply to Fridolin Somers from comment #3)
> > If you have commandline access, you may use 'koha_perl_deps.pl -m' :
> > 
> > https://git.koha-community.org/Koha-community/Koha/src/branch/master/
> > koha_perl_deps.pl
> 
> I've copied said file to my server, yet can't find an option that would
> install missing modules. Am I doing something wrong?

the missing modules have not yet been added to the 'koha' apt repository

they will probably be added for the 22.05 release, in May
Comment 9 Manos PETRIDIS 2022-06-05 15:34:38 UTC
Created attachment 135700 [details]
Modules are still reported as missing in 22.05.00-1

Just a note: just installed koha 22.05.00-1 and the modules are still reported as missing.
Comment 10 Marcel de Rooy 2022-09-21 13:09:09 UTC
See 31590. We do not need Text::CSV::Unicode
Comment 11 Katrin Fischer 2023-06-25 08:58:35 UTC
Can this be closed as the missing packages only relate to tests?
Comment 12 Manos PETRIDIS 2023-06-25 10:31:28 UTC
It depends Katrin on the expected audience of the page. If it is meant for programmer use during debugging, then yes the bug report may well be closed. If on the other hand it is meant to be (or can be) checked by other IT and/or administrative personnel that have no knowledge of the use in koha of each module mentioned on it, some note or differentiation should be made for them to know that these specific modules need not exist in a production koha system. As it now stands, one is alerted that something's missing from their koha installation, and the sane thing to do is for them to try and rectify this before opening any new bug report, for they don't/cannot know if the malfunction they wish to report is due to the missing modules or not. 

Best regards,
Manos PETRIDIS