Problem coercing to Unicode

From: Eric Parent <ericp.75_at_nyahnyahspammersnyahnyah>
Date: Fri, 20 Mar 2009 11:16:02 -0400

Hi all,

I installed the following packages:
- "PyNIO-1.3.0b1.linux-i686.-gcc412-2.5"
- "PyNGL-1.3.0b1.linux-i686-gcc412-2.5"

I am running under Kubuntu 8.08, with Python 2.5.2.

I try to launch the "nio_demo.py" script in order to see everything is
going on properly but get this:
-----------------------------------------------------------
Traceback (most recent call last):
  File "nio_demo.py", line 2, in <module>
    import Nio
  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
-----------------------------------------------------------

Anyone ever got that? Anybody knows how to fix it? I know a little
about Python programming but since these scripts are distributed, I
guess this shouldn't happen.

Regards,

- Eric

email: ericp <dot/> 75 <at/> gmail <dot/> com
_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Fri Mar 20 2009 - 09:16:02 MDT

This archive was generated by hypermail 2.2.0 : Tue Apr 07 2009 - 10:04:30 MDT