Hi Karen
Thanks for your reports.
I've updated ferret and pyferret in Debian unstable to 7.1.1 (and
7.1.1.beta respectively). The bugs you describe appear to be
fixed.
When these have seen a bit more testing, I will try to push them
to "stretch-backports" for Debian 9 users.
Best regards
Alastair
On 25/05/2017 20:35, karen guihou
wrote:
Hi Alastair
Thank you for your work, it is good to see Ferret
integrated into debian.
However, I couldn't make it work :)
I have a debian unstable (9.0) and I have installed
python3-ferret Version: 7.0.0-2
I get an error using the lib in python3 because it uses
xrange, which has been removed in python3
Python 3.5.3 (default, Jan 19
2017, 14:11:04)
[GCC 6.3.0 20170118] on linux
Type "help", "copyright", "credits" or
"license" for more information.
>>> import pyferret
>>> pyferret.start(quiet=True)
True
>>> (errval, errmsg) =
pyferret.run('use file.nc')
>>> sstdict = pyferret.getdata('h',
False)
Traceback (most recent call last):
File "<stdin>", line 1, in
<module>
File
"/usr/lib/python3/dist-packages/pyferret/datamethods.py",
line 320, in getdata
for k in
xrange(libpyferret.MAX_FERRET_NDIM):
NameError: name 'xrange' is not defined
dpkg -L python3-ferret|grep
/usr/lib/python3/dist-packages/pyferret/datamethods.py
/usr/lib/python3/dist-packages/pyferret/datamethods.py
Also, when I
launch pyferret3 by itself (not into
python), whatever I do, it crashes after 2
prompt lines. I don't get any error, I don't
find any log, it just closes.
% /usr/bin/pyferret3
NOAA/PMEL TMAP
PyFERRET v7 (opt)
Debian - 6/30/16
25-May-17 16:28
yes?
yes?
%
If there is
anything I can do to help (open a bug
report, test, etc..) let me know.
Cheers
--
Alastair McKinstry, <alastair@xxxxxxxx>, <mckinstry@xxxxxxxxxx>, https://diaspora.sceal.ie/u/amckinstry
Misentropy: doubting that the Universe is becoming more disordered.
|