lab-measurement / Lab-Measurement

Lab::Measurement allows to perform test and measurement tasks with Perl scripts.
https://www.labmeasurement.de/
Other
10 stars 12 forks source link

Fails on fedora systems ("gnuplot> set grid 1") #85

Open eserte opened 3 months ago

eserte commented 3 months ago

The test suite fails on my fedora smokers:

Name "PDL::Graphics::Gnuplot::gp_version" used only once: possible typo at t/Moose/Plot.t line 30.
PDL::Graphics::Gnuplot: ERROR: the gnuplot backend issued an error:
gnuplot> set grid 1
                  ^
         line 0: unexpected or unrecognized token: 1
 at /opt/perl-5.36.3/lib/site_perl/5.36.3/PDL/Graphics/Gnuplot.pm line 7661, <$fh> line 3.
    PDL::Graphics::Gnuplot::_checkpoint(PDL::Graphics::Gnuplot=HASH(0x407b348), "main", HASH(0x40ef808)) called at /opt/perl-5.36.3/lib/site_perl/5.36.3/PDL/Graphics/Gnuplot.pm line 3247
    PDL::Graphics::Gnuplot::plot(undef, HASH(0x3ebe370), "with", "points", HASH(0x40ef4f0), PDL=SCALAR(0x40e9df8), PDL=SCALAR(0x40ef5c8)) called at /home/cpansand/.cpan/build/2024073012/Lab-Measurement-3.902-0/blib/lib/Lab/Moose/Plot.pm line 105
    Lab::Moose::Plot::_plot(Lab::Moose::Plot=HASH(0x407b390), HASH(0x3ebe370), HASH(0x3d583d8), ARRAY(0x404bdc0), "plot") called at /home/cpansand/.cpan/build/2024073012/Lab-Measurement-3.902-0/blib/lib/Lab/Moose/Plot.pm line 117
    Lab::Moose::Plot::plot(Lab::Moose::Plot=HASH(0x407b390), "data", ARRAY(0x404bdc0)) called at /home/cpansand/.cpan/build/2024073012/Lab-Measurement-3.902-0/blib/lib/Lab/Moose/DataFile/Gnuplot.pm line 551
    Lab::Moose::DataFile::Gnuplot::_refresh_plot(undef, "index", 0, "force", 0) called at /home/cpansand/.cpan/build/2024073012/Lab-Measurement-3.902-0/blib/lib/Lab/Moose/DataFile/Gnuplot.pm line 615
    Lab::Moose::DataFile::Gnuplot::refresh_plots(undef, "refresh", "point") called at /home/cpansand/.cpan/build/2024073012/Lab-Measurement-3.902-0/blib/lib/Lab/Moose/DataFile/Gnuplot.pm line 76
    Lab::Moose::DataFile::Gnuplot::log(Lab::Moose::DataFile::Gnuplot=HASH(0x4066c90), "A", 2, "B", 4, "C", 6) called at t/Moose/Plot.t line 115
t/Moose/Plot.t .......................... 
No subtests run 

t/Moose/Sweep-Plot.t fails with a similar failure.

akhuettel commented 2 weeks ago

Confirmed, this seems to occur with gnuplot-6

huettel@kona ~ $ gnuplot

        G N U P L O T
        Version 6.0.1 patchlevel 1 (Gentoo revision r1)    last modified 2024-05-13 

        Copyright (C) 1986-1993, 1998, 2004, 2007-2024
        Thomas Williams, Colin Kelley and many others

        gnuplot home:     http://www.gnuplot.info
        faq, bugs, etc:   type "help FAQ"
        immediate help:   type "help"  (plot window: hit 'h')

        Terminal type is now x11
gnuplot> set grid 1
                  ^
         unexpected or unrecognized token: 1

gnuplot>