in reply to Re: svg line graphs
in thread svg line graphs

Mea Culpa. I see that now. I had skimmed through the docs on metacpan and didn't notice the subtleties -- except for the quiet mention, that you found {thanks for reading more carefully than I did} in add_data and config_methods, it kinda hid the fact of the multiple data sets. All my fault for missing it, and thanks - that looks like the perfect module for what I need.

Replies are listed 'Best First'.
Re^3: svg line graphs
by BernieC (Pilgrim) on Jan 29, 2020 at 16:22 UTC
    Another wrinkle:
    Files=5, Tests=178, 1 wallclock secs ( 0.05 usr + 0.03 sys = 0.08 C +PU) Result: FAIL Failed 1/5 test programs. 0/178 subtests failed. gmake: *** [Makefile:884: test_dynamic] Error 255 LLAP/SVG-TT-Graph-1.02.tar.gz C:\STRAWB~1\c\bin\gmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports LLAP/SVG-TT-Graph-1.02.tar.gz Stopping: 'install' failed for 'SVG::TT::Graph::XY'.
    I checked on CPAN and, indeed, there were four testers who tried to get it to run on win32 and none managed it. I can't sort out the mess from cpan-install to figure out where the problem was {but I likely wouldn't be able to fix it anyway}. sigh

    So my quest continues, i guess. Is there another package that can do what SVG::TT::Graph::XY and works with win10/64?

      It helps when posting here to have the full error, so cpanm -vvv ModuleNameHere. Can you state which version of perl you are running? The fails on the matrix for windows relate to POSIX missing tzset, which may require working around, or perhaps raising the issue against Strawberry perl to add tzset support..

        This is perl 5, version 30, subversion 1 (v5.30.1) built for MSWin32-x64-multi-thread

        cpan> install SVG::TT::Graph::XY

        LLAP/SVG-TT-Graph-1.02.tar.gz C:\STRAWB~1\c\bin\gmake.exe -- OK Running make test for LLAP/SVG-TT-Graph-1.02.tar.gz "C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::H +arness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\l +ib', 'blib\arch')" t/*.t t/01_main.t ............ ok t/02_basic.t ........... 1/85 POSIX::tzset not implemented on this arc +hitecture at blib/lib/SVG/TT/Graph/TimeSeries.pm line 582, <DATA> lin +e 593. # Looks like your test exited with 255 just after 72. t/02_basic.t ........... Dubious, test returned 255 (wstat 65280, 0xff +00) Failed 13/85 subtests t/03_methods.t ......... ok t/author-no-tabs.t ..... skipped: these tests are for testing by the a +uthor t/author-pod-syntax.t .. skipped: these tests are for testing by the a +uthor Test Summary Report ------------------- t/02_basic.t (Wstat: 65280 Tests: 72 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 85 tests but ran 72. Files=5, Tests=178, 1 wallclock secs ( 0.00 usr + 0.01 sys = 0.01 C +PU) Result: FAIL Failed 1/5 test programs. 0/178 subtests failed. gmake: *** [Makefile:884: test_dynamic] Error 255 Lockfile removed. LLAP/SVG-TT-Graph-1.02.tar.gz C:\STRAWB~1\c\bin\gmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports LLAP/SVG-TT-Graph-1.02.tar.gz Stopping: 'install' failed for 'SVG::TT::Graph::XY'. Failed during this command: LLAP/SVG-TT-Graph-1.02.tar.gz : make_test NO

        Looks like you guessed it:

        t/02_basic.t ........... 1/85 POSIX::tzset not implemented on this arc +hitecture at blib/lib/SVG/TT/Graph/TimeSeries.pm line 582, <DATA> lin +e 593. # Looks like your test exited with 255 just after 72. t/02_basic.t ........... Dubious, test returned 255 (wstat 65280, 0xff +00)
        I'll try emailing Strawberry and see if they have anything to say. Thanks!