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:

   http://www.pyngl.ucar.edu/User_forum/Archives/2008/0127.html

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

--Mary

On Wed, 8 Apr 2009, Alex Zvoleff wrote:

> 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
>
_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
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