Ethereal-dev: Re: [Ethereal-dev] Re: [Ethereal-users] ethereal-2002-10-17

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gilbert Ramirez <gram@xxxxxxxxxxxxxxx>
Date: 22 Oct 2002 13:58:31 -0500
On Tue, 2002-10-22 at 07:42, Frank Singleton wrote:
> > 
> > On Mon, Oct 21, 2002 at 01:52:12PM -0700, Ngo, Quang wrote:
> > > It works now by uninstalling the old version.  But now I am trying to
> > > build a plugins but it gives me python errors that I can't really figure
> > > it out.  The error as:
> > >
> > > >omniidl  -pv ./ -b ethereal_be quoter.idl
> > > 'import site' failed; use -v for traceback
> > > Traceback (innermost last):
> > >   File "<string>", line 1, in ?
> > >   File "C:\Python22\Lib\os.py", line 38
> > >     return [n for n in dir(module) if n[0] != '_']
> > >                 ^
> 
> 
> Hi,
> 
> You normally get this when the version of python that
> omniidl attempts to use is different from what is installed/found.
> 

It is odd, however, that python would look in the wrong directory for
its standard modules. The python in question is looking in
C:\Python22\Lib for the standard os.py module, but the python executable
is not Python 2.2, otherwise it would have understood the "[n for n in
..]" syntax.

It's puzzling. Perhaps there's an environment, say PYTHONPATH, that is
set and python.exe is honoring?

--gilbert