Still puzzling. I sort of understand what you are seeing, but it makes little sense, isn't consistent with my understanding of how package loading in perl works, and certainly is not something I have seen before. Try putting use Graphics::GnuplotIF; somewhere near the top of lib/Demeter/Plot/Gnuplot.pm. Doesn't much matter where. After line 57 would be fine. If that works -- great! Both of my suggestions do no harm, so I'll just commit them to github.... B On 03/30/2018 12:49 PM, Al Kwiatkowski wrote:
Hm, we're getting somewhere. Putting the 'use Carp;' line now has dathena come up, but delivering this error:
Use of uninitialized value in subroutine entry at /usr/local/lib/i386-linux-gnu/perl/5.24.1/Demeter/Plot/Gnuplot.pm line 29.
and when you exit, it pops up a dialogue box with this error:
Use of uninitialized value in stat at /usr/local/lib/i386-linux-gnu/perl/5.24.1/Demeter/Plot/Gnuplot.pm line 270.
The program seems to behave ok otherwise, but I don't know what operations would have problems with an uninitialized gnuplot module variable or subroutine. Why would it have issues initializing in the first place (or not finding the Carp module)?
Thanks for the help so far!
-- Bruce Ravel ------------------------------------ bravel@bnl.gov National Institute of Standards and Technology Synchrotron Science Group at NSLS-II Building 743, Room 114 Upton NY, 11973 Homepage: http://bruceravel.github.io/home/ Beamline: https://www.bnl.gov/ps/beamlines/beamline.php?r=6-BM Software: https://github.com/bruceravel Demeter: http://bruceravel.github.io/demeter/