Closed prolife86 closed 1 year ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
We made some changes to how we install XMLTV and are probably missing some packages now.
Can you do docker exec tvheadend apk add perl-datetime-format-strptime
and test again? If there's more than one package missing it would be helpful to find out before we try and push a new build.
Everything in red here is what was removed (due to different build requirements), so if you continue to get errors after installing perl-datetime-format-strptime
see if any of the modules are present there.
Unfortunately, we've only got a couple of users of the image on the team so, we can't catch every use case in testing.
Thank you for the very fast response!
Ran: "docker exec TVHeadEnd apk add perl-datetime-format-strptime"
Result: fetch http://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz (1/40) Installing perl-module-runtime (0.016-r5) (2/40) Installing perl-module-implementation (0.09-r4) (3/40) Installing perl-params-validate (1.31-r1) (4/40) Installing perl-sub-quote (2.006008-r0) (5/40) Installing perl-devel-stacktrace (2.04-r4) (6/40) Installing perl-role-tiny (2.002004-r1) (7/40) Installing perl-mro-compat (0.15-r1) (8/40) Installing perl-test-fatal (0.017-r0) (9/40) Installing perl-eval-closure (0.14-r3) (10/40) Installing perl-specio (0.48-r0) (11/40) Installing perl-dist-checkconflicts (0.11-r3) (12/40) Installing perl-class-inspector (1.36-r2) (13/40) Installing perl-file-sharedir (1.118-r0) (14/40) Installing perl-sub-identify (0.14-r9) (15/40) Installing perl-sub-exporter-progressive (0.001013-r3) (16/40) Installing perl-b-hooks-endofscope (0.26-r1) (17/40) Installing perl-package-stash (0.40-r0) (18/40) Installing perl-namespace-clean (0.27-r3) (19/40) Installing perl-namespace-autoclean (0.29-r2) (20/40) Installing perl-importer (0.026-r1) (21/40) Installing perl-term-table (0.016-r1) (22/40) Installing perl-scope-guard (0.21-r3) (23/40) Installing perl-sub-info (0.002-r3) (24/40) Installing perl-module-pluggable (5.2-r3) (25/40) Installing perl-test2-suite (0.000155-r0) (26/40) Installing perl-test-simple (1.302195-r0) (27/40) Installing perl-test-without-module (0.21-r0) (28/40) Installing perl-class-data-inheritable (0.09-r0) (29/40) Installing perl-exception-class (1.45-r0) (30/40) Installing perl-ipc-run3 (0.048-r3) (31/40) Installing perl-test2-plugin-nowarnings (0.09-r1) (32/40) Installing perl-params-validationcompiler (0.31-r0) (33/40) Installing perl-datetime-locale (1.38-r1) (34/40) Installing perl-class-singleton (1.6-r0) (35/40) Installing perl-datetime-timezone (2.60-r0) (36/40) Installing perl-datetime (1.59-r1) (37/40) Installing perl-sub-install (0.929-r1) (38/40) Installing perl-params-util (1.102-r3) (39/40) Installing perl-package-deprecationmanager (0.18-r0) (40/40) Installing perl-datetime-format-strptime (1.79-r0) Executing busybox-1.36.0-r9.trigger OK: 376 MiB in 262 packages
After that: "docker exec TVHeadEnd tv_merge -i /data/WG/guide.xml -m /data/grab/guide.xml -o /config/data/guide_merged.xml"
Result: Writing : 782 channels 77660 programmes
Looks like it is working again! :) Thank you!
Unfortunately, we've only got a couple of users of the image on the team so, we can't catch every use case in testing.
Completely understandable, very happy with the wotk you guys do!
OK cool. For the moment you should be good (if you update you'll have to reinstall the package), but I'll push a PR to add it to the image. If you find anything else missing, please let me know.
Thank you very much, no worries, I'll reach out if I find other things.
Hi, I think I've found a variant of this same issue. Until this most recent change there was an internal XMLTV grabber for Schedules Direct JSON API. In these latest builds it has vanished. Can it be reinstated please?
Thanks, Guy
Please open a new issue and provide full details of the problem you're having so we can look into it.
Is there an existing issue for this?
Current Behavior
Perl is missing modules for TVmerge:
When running: "tv_merge -i /data/WG/guide.xml -m /data/grab/guide.xml -o /config/data/guide_merged.xml"
I get an error:
Can't locate DateTime/Format/Strptime.pm in @INC (you may need to install the DateTime::Format::Strptime module) (@INC contains: /usr/local/lib/perl5/site_perl /usr/local/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl) at /usr/bin/tv_merge line 336. BEGIN failed--compilation aborted at /usr/bin/tv_merge line 336.
Expected Behavior
Used to be working fine, cannot pinpoint when this exactly stared occurring.
Steps To Reproduce
Run tv_merge with two XML's, it will fail, as the "DateTime::Format::Strptime module" is missing from the docker container.
Environment
CPU architecture
x86-64
Docker creation
Container logs