Problems with gnuplot from marcports

Marcelo Chiapparini marcelo.chiapparini at gmail.com
Wed Jan 5 09:22:01 PST 2011


Hello,

I've just solved the problem with the file not found. The file was edited
with TextEdit in plain text mode. TextEdit added an "txt" extension to the
file, so, the file qhdmmint.gplt was saved as qhdmmint.gplt.txt in the disk.
This was why gnuplot didn't find it! Now, erasing the "txt" and moving
qhdmmint.gplt.txt to qhdmmint.gplt I got my graph normally. The weird thing
is that qhdmmint.gplt.txt appeared without the "txt"extension in Finder,
that was why I was confused with the names...

Thanks a lot for all the responsive feedback

Regards

Marcelo



2011/1/5 Jason Swails <jason.swails at gmail.com>

> Does it work if you just specify the script with gnuplot on the CL?
>
> gnuplot qhdmmint.gplt
>
> The nice thing about the aqua terminal is that the window should stick
> around.
>
> Good luck,
> Jason
>
>
> On Wed, Jan 5, 2011 at 10:05 AM, Marcelo Chiapparini <
> marcelo.chiapparini at gmail.com> wrote:
>
>> Hi Jean-Francois, thanks for the reply,
>>
>> using the full path the error message is the same:
>>
>> Yggdrasill2:cbpf marcelo$ gnuplot
>>
>> G N U P L O T
>>  Version 4.4 patchlevel 2
>> last modified Wed Sep 22 12:10:34 PDT 2010
>> System: Darwin 10.5.0
>>
>> Copyright (C) 1986-1993, 1998, 2004, 2007-2010
>> Thomas Williams, Colin Kelley and many others
>>
>> gnuplot home:     http://www.gnuplot.info
>> faq, bugs, etc:   type "help seeking-assistance"
>>  immediate help:   type "help"
>> plot window:      hit 'h'
>>
>> Terminal type set to 'aqua'
>> gnuplot> load
>> "/Users/marcelo/Dropbox/trabalho/pesquisa/materia-nuclear/t-finita/cbpf/qhdmmint.gplt"
>>
>>                          ^
>>          Cannot open load file
>> '/Users/marcelo/Dropbox/trabalho/pesquisa/materia-nuclear/t-finita/cbpf/qhdmmint.gplt'
>>          util.c: No such file or directory
>>
>>
>> May be a environmental variable issue, I don't know...
>>
>> Thanks
>>
>> Marcelo
>>
>>
>>
>>
>> 2011/1/5 Jean-Francois Gobin <jf at gobinjf.be>
>>
>> Marcelo,
>>>
>>> Could you try loading the script using the full path?
>>>
>>> Thanks,
>>> J.
>>>
>>>
>>> On Wed, Jan 5, 2011 at 11:41 AM, Marcelo Chiapparini <
>>> marcelo.chiapparini at gmail.com> wrote:
>>>
>>>> Hello,
>>>>
>>>> I've just bought a new iMac, running OS X 10.6. I am using it at home.
>>>> In order to maintain compatibility with files created at work, under Linux,
>>>> I want to install gnuplot on my Imac. So, I am using MacPorts, which I've
>>>> found a very helpful and clever project (thank you guys!).
>>>>
>>>> So, I followed the instructions from the MacPorts site, and installed
>>>> macports, xcode (the latest version available) and gnuplot. Everything went
>>>> fine. Gnuplot works well from the command line. The problems appears when I
>>>> try to load and script. When I call gnuplot from the directory of the
>>>> scritp, I get the following:
>>>>
>>>> Yggdrasill2:cbpf marcelo$ gnuplot
>>>>
>>>> G N U P L O T
>>>> Version 4.4 patchlevel 2
>>>>  last modified Wed Sep 22 12:10:34 PDT 2010
>>>> System: Darwin 10.5.0
>>>>
>>>>  Copyright (C) 1986-1993, 1998, 2004, 2007-2010
>>>> Thomas Williams, Colin Kelley and many others
>>>>
>>>> gnuplot home:     http://www.gnuplot.info
>>>> faq, bugs, etc:   type "help seeking-assistance"
>>>>  immediate help:   type "help"
>>>> plot window:      hit 'h'
>>>>
>>>> Terminal type set to 'aqua'
>>>>
>>>> gnuplot> load "qhdmmint.gplt"
>>>>                              ^
>>>>          Cannot open load file 'qhdmmint.gplt'
>>>>          util.c: No such file or directory
>>>>
>>>>
>>>> The file qhdmmint.gplt is in the directory from which I called gnuplot,
>>>> so I don't understand the error... I've googled the internet, with no
>>>> success. Any help will be very welcome,
>>>>
>>>> Regards
>>>>
>>>> Marcelo
>>>>
>>>>
>>>> _______________________________________________
>>>> macports-users mailing list
>>>>
>>>> macports-users at lists.macosforge.org
>>>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>>
>>
>
>
> --
> Jason M. Swails
> Quantum Theory Project,
> University of Florida
> Ph.D. Graduate Student
> 352-392-4032
>



-- 
Marcelo Chiapparini
http://sites.google.com/site/marcelochiapparini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110105/f112abf7/attachment.html>


More information about the macports-users mailing list