Ethereal-dev: [Ethereal-dev] Another Debian patch: 09_idl2eth.dpatch

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

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Sat, 13 Aug 2005 09:57:23 +0200
Debian contains a patch that basically replaces this file by just doing
omniidl  -b ethereal_be $1
without any -p path argument.

The reason for that can be found at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=158909
The core point is:
-------------
On this system, PYTHONPATH is :"

If I copy the files /usr/lib/python2.1/site-packages/\
ethereal_{be,gen}.py into the current directory, everything
works fine.  I believe, that idl2eth should find the .py
files without the user having to set PYTHONPATH or copy
files.
-------------

Maybe we should try to catch that case by trying to run
omniidl  -b ethereal_be $1
and not print the explicit error message.

What do you think?

 ciao
     Joerg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.