[omniORB] New user with Windows XP, omniORB-4.0.7 and Python2.4

Luke Deller ldeller at xplantechnology.com
Wed Mar 22 10:02:37 GMT 2006


Hi Dave,

On Tue, 2006-03-21 at 14:20 +0000, Hunt, Dave wrote:
...
> C:\omniORB-4.0.7\src\tool\omniidl\python\scripts>omniidl -v -bcxx
> -C"C:\\omniORB-4.0.7\\src\\examples\\ssl_echo" -Wbh=.h -Wbs=SK
> .cpp -Wbd=DynSK.cpp -Wba-Wbtp -Wbuse_quotes
> -I"C:\\omniORB-4.0.7\\src\\examples\\ssl_echo"
> "C:\\omniORB-4.0.7\\src\\examples\\ss
> l_echo\\echo.idl"
> 'import site' failed; use -v for traceback
> Traceback (innermost last):
>   File "<string>", line 1, in ?
>   File "C:\Python24\Lib\os.py", line 38
>     return [n for n in dir(module) if n[0] != '_']
>                 ^
> SyntaxError: invalid syntax

This error indicates that you are running a version of python prior to
2.0 which is trying to use the python library for version 2.4.

I don't use the binary distribution of omniORB so I'm not exactly sure
how it's set up, but I suspect omniidl in that distribution is using an
included ancient version of python.  Try running it without setting the
PYTHONPATH environment variable so that the ancient python version can
use its own python library.

Regards,
Luke.

**********************************************************************************************

Important Note
This email (including any attachments) contains information which is
confidential and may be subject to legal privilege.  If you are not
the intended recipient you must not use, distribute or copy this
email.  If you have received this email in error please notify the
sender immediately and delete this email. Any views expressed in this
email are not necessarily the views of XPlan Technology.

It is the duty of the recipient to virus scan and otherwise test the
information provided before loading onto any computer system.
Xplan Technology does not warrant that the
information is free of a virus or any other defect or error.
**********************************************************************************************




More information about the omniORB-list mailing list