You are here: Foswiki>Tasks Web>Item14909 (29 May 2020, TimothyLegge)Edit Attach

Item14909: Failed to use FoswikiPmFunctionTests

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches:
Reported By: TimothyLegge
Waiting For:
Last Change By: TimothyLegge
Another one

        FormattingTests::test_ampersand_querystring
*** Failed to use FoswikiPmFunctionsTests: couldn't find diagnostic data in /usr/share/perl5/core_perl/pods/perldiag.pod /home/tim/foswiki/core/lib /home/tim/foswiki/core/lib/CPAN/lib /home/tim/foswiki/core/lib /home/tim/foswiki/core/bin /home/tim/foswiki/core/test/unit /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 /home/tim/foswiki/core/lib/CPAN/lib /home/tim/foswiki/core/test/unit /home/tim/foswiki/core/test/unit/CommentPlugin /home/tim/foswiki/core/test/unit/EditRowPlugin /home/tim/foswiki/core/test/unit/EditTablePlugin /home/tim/foswiki/core/test/unit/EmptyPlugin /home/tim/foswiki/core/test/unit/HistoryPlugin /home/tim/foswiki/core/test/unit/HomePagePlugin /home/tim/foswiki/core/test/unit/InterwikiPlugin /home/tim/foswiki/core/test/unit/MailerContrib /home/tim/foswiki/core/test/unit/PlainFileStoreContrib /home/tim/foswiki/core/test/unit/PreferencesPlugin /home/tim/foswiki/core/test/unit/PubLinkFixupPlugin /home/tim/foswiki/core/test/unit/RCSStoreContrib /home/tim/foswiki/core/test/unit/RenderListPlugin /home/tim/foswiki/core/test/unit/SpreadSheetPlugin /home/tim/foswiki/core/test/unit/SubscribePlugin /home/tim/foswiki/core/test/unit/TablePlugin /home/tim/foswiki/core/test/unit/TopicUserMappingContrib /home/tim/foswiki/core/test/unit/TWikiCompatibilityPlugin /home/tim/foswiki/core/test/unit/TwistyPlugin /home/tim/foswiki/core/test/unit/WysiwygPlugin /home/tim/foswiki/core/test/unit/UnitTestContrib ../bin/TestRunner.pl at /usr/share/perl5/core_perl/diagnostics.pm line 259, <POD_DIAG> line 711.
 at /home/tim/foswiki/core/test/unit/FoswikiTestCase.pm line 45, <POD_DIAG> line 711.
        FoswikiTestCase::__ANON__("couldn't find diagnostic data in /usr/share/perl5/core_perl/p"...) called at /usr/share/perl5/core_perl/diagnostics.pm line 259
        require diagnostics.pm called at /home/tim/foswiki/core/test/unit/FoswikiPmFunctionsTests.pm line 6
        FoswikiPmFunctionsTests::BEGIN() called at /usr/share/perl5/core_perl/diagnostics.pm line 0
        eval {...} called at /usr/share/perl5/core_perl/diagnostics.pm line 0
        require FoswikiPmFunctionsTests.pm called at (eval 698797) line 1
        eval 'require FoswikiPmFunctionsTests; 1;' called at /home/tim/foswiki/core/lib/Unit/TestRunner.pm line 83
        Unit::TestRunner::start(Unit::TestRunner=HASH(0x55cb58f08a38), "FoswikiSuite.pm") called at ../bin/TestRunner.pl line 143
Compilation failed in require at /home/tim/foswiki/core/test/unit/FoswikiPmFunctionsTests.pm line 6.
 at /home/tim/foswiki/core/test/unit/FoswikiTestCase.pm line 45.
        FoswikiTestCase::__ANON__("couldn't find diagnostic data in /usr/share/perl5/core_perl/p"...) called at /home/tim/foswiki/core/test/unit/FoswikiPmFunctionsTests.pm line 6
        FoswikiPmFunctionsTests::BEGIN() called at /home/tim/foswiki/core/test/unit/FoswikiPmFunctionsTests.pm line 6
        eval {...} called at /home/tim/foswiki/core/test/unit/FoswikiPmFunctionsTests.pm line 6
        require FoswikiPmFunctionsTests.pm called at (eval 698797) line 1
        eval 'require FoswikiPmFunctionsTests; 1;' called at /home/tim/foswiki/core/lib/Unit/TestRunner.pm line 83
        Unit::TestRunner::start(Unit::TestRunner=HASH(0x55cb58f08a38), "FoswikiSuite.pm") called at ../bin/TestRunner.pl line 143
BEGIN failed--compilation aborted at /home/tim/foswiki/core/test/unit/FoswikiPmFunctionsTests.pm line 6.
 at /home/tim/foswiki/core/test/unit/FoswikiTestCase.pm line 45.
        FoswikiTestCase::__ANON__("couldn't find diagnostic data in /usr/share/perl5/core_perl/p"...) called at /home/tim/foswiki/core/test/unit/FoswikiPmFunctionsTests.pm line 6
        require FoswikiPmFunctionsTests.pm called at (eval 698797) line 1
        eval 'require FoswikiPmFunctionsTests; 1;' called at /home/tim/foswiki/core/lib/Unit/TestRunner.pm line 83
        Unit::TestRunner::start(Unit::TestRunner=HASH(0x55cb58f08a38), "FoswikiSuite.pm") called at ../bin/TestRunner.pl line 143
Compilation failed in require at (eval 698797) line 1.
 at /home/tim/foswiki/core/test/unit/FoswikiTestCase.pm line 45.
        FoswikiTestCase::__ANON__("couldn't find diagnostic data in /usr/share/perl5/core_perl/p"...) called at (eval 698797) line 1
        eval 'require FoswikiPmFunctionsTests; 1;' called at /home/tim/foswiki/core/lib/Unit/TestRunner.pm line 83
        Unit::TestRunner::start(Unit::TestRunner=HASH(0x55cb58f08a38), "FoswikiSuite.pm") called at ../bin/TestRunner.pl line 143
Running FuncTests

-- TimothyLegge - 28 May 2020

Doesn't fail for me .... Anybody else?

-- MichaelDaum - 28 May 2020

Found it:

perl -e 'use diagnostics;'
couldn't find diagnostic data in /usr/share/perl5/core_perl/pods/perldiag.pod /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 -e at /usr/share/perl5/core_perl/diagnostics.pm line 259, <POD_DIAG> line 711.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

install perl-doc (alpine):

apk add perl-doc
(1/1) Installing perl-doc (5.30.2-r0)
OK: 540 MiB in 400 packages
localhost:~# exit
localhost:~/foswiki/core/test/unit$ perl -e 'use diagnostics;'
localhost:~/foswiki/core/test/unit$ 

-- TimothyLegge - 28 May 2020

If this fixed the bug in your case, could we flag this as a no-action-required?

-- MichaelDaum - 29 May 2020
 
Topic revision: r5 - 29 May 2020, TimothyLegge - This page was cached on 05 Jun 2020 - 13:47.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy