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/ 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....


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/ 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/ 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  ------------------------------------

 National Institute of Standards and Technology
 Synchrotron Science Group at NSLS-II
 Building 743, Room 114
 Upton NY, 11973

Ifeffit mailing list

Reply via email to