Re: PyNIO libgfortran problems on Ubuntu Linux 8.10

From: Alex Zvoleff <azvoleff_at_nyahnyahspammersnyahnyah>
Date: Wed, 08 Apr 2009 12:31:09 -0700

Mary Haley wrote:
> I've attached libgfortran.so.1.0.0 for you to try. This is
> the one that comes with gfortran 4.1.
Thank you for the file. That version appears to work, but only if I
"import nio" as opposed to "import Nio" (notice the case difference). Is
this the expected behavior? When I "import Nio" I get:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/PyNIO/Nio.py", line 117, in
<module>
    os.environ["NCARG_NCARG"] = pyniopath_ncarg()
  File "/usr/lib/python2.5/site-packages/PyNIO/Nio.py", line 99, in
pyniopath_ncarg
    if os.path.exists(ncarg_dir):
  File "/usr/lib/python2.5/posixpath.py", line 171, in exists
    st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found

Whereas if I "import nio" the module appears to work fine, with no errors.

-Alex
Received on Wed Apr 08 2009 - 13:31:09 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 24 2009 - 15:35:01 MDT