I installed the OmniORBpy2.0, and use its omniidl.exe and it works fine.
Q
-----Original Message-----
From: Gilbert Ramirez [mailto:gram@xxxxxxxxxxxxxxx]
Sent: Tuesday, October 22, 2002 11:59 AM
To: Frank Singleton
Cc: Ngo, Quang; Guy Harris; ethereal-dev@xxxxxxxxxxxx
Subject: Re: [Ethereal-dev] Re: [Ethereal-users] ethereal-2002-10-17
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