Re: PyNIO libgfortran problems on Ubuntu Linux 8.10

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu, 9 Apr 2009 07:43:20 -0600 (MDT)

Hi Alex,

I think you have run into a bug that we fixed after 1.3.0b1 was released.

Dave Brodrick posted a fix at:

Once you do this, you should be able to "import Nio" ("import nio"
won't give you everything you need to use Nio).


On Wed, 8 Apr 2009, Alex Zvoleff wrote:

> Mary Haley wrote:
>> I've attached 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/", line 117, in
> <module>
> os.environ["NCARG_NCARG"] = pyniopath_ncarg()
> File "/usr/lib/python2.5/site-packages/PyNIO/", line 99, in
> pyniopath_ncarg
> if os.path.exists(ncarg_dir):
> File "/usr/lib/python2.5/", 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
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Thu Apr 09 2009 - 07:43:20 MDT

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