On Mon, 12 May 2014, Fazeel Jaleel wrote:
Hi Sven,
Thank you for your reply. I uninstalled all and reinstall (gretl
1.9.90(Mac OS X(quart, x86 64)), but still the problem continues.
Interestingly, it produces graph for the file attached below
(Ass_2014_s1.gdt) but the second file (tuna_ass_2014s1.gretl) it
won’t produce any types of graph. for example I try produce a
scatter plot for variables SB1 and PB1 but it shows the error
message with black colour screen.Any advise on this. i highly
appreciate it.
Thanks for posting the sample files. Now I can see what the problem
is, and it's specific to opening gretl session files (with suffix
.gretl) as opposed to data files (suffix .gdt). The act of opening a
session file is changing the "present working directory" from
gretl's point of view, with the side effect that the loader for PNG
files is no longer found.
We'll make sure this is fixed in the next snapshot (and the next
release) but in the meantime here's a workaround. Is gretl installed
in the usual location of /Applications? If so, you can take the file
loaders.cache that I'm attaching to this message and put it in the
folder
/Applications/Gretl.app/Contents/Resources/lib/gdk-pixbuf-2.0/2.10.0/
In a terminal window on the Mac you would do
cp loaders.cache \
/Applications/Gretl.app/Contents/Resources/lib/gdk-pixbuf-2.0/2.10.0/
If you get "permission denied" when trying this then you'll have to
do it as administrator: prefix the command above with "sudo", as in
sudo cp ...
If Gretl.app is not under /Applications, tell me where it is and I
can send you a suitable version of loaders.cache.
Allin Cottrell