[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems using python-support



Le mercredi 09 août 2006 à 23:03 +0200, Andreas Tille a écrit :
> Hi,
> 
> I try to convert gnumed-client to the new Python policy using
> python-support.  You can have a look at my current packaging at
> 
>    http://people.debian.org/~tille/packages/gnumed/
> 
> In prinzipe the wrapper script /usr/bin/gnumed does the following
> 
>    python /var/lib/python-support/python2.3/Gnumed/wxpython/gnumed.py
[snip]
> You will note that
> 
>    /var/lib/python-support/python2.3/Gnumed
> 
> is not in the path but it should.  My guess is that python-support
> missed to update
> 
>    /var/lib/python-support/python2.3/.path
> 
> which only contains gtk-2.0 but not the other subdirectories
> (there are othere than Gnumed in my installation which might
> be broken as well.

As Gnumed doesn't ship a .pth file, the .path doesn't need to be
updated.

Looking closer at the code, there is nothing wrong with not having this
directory in sys.path. The failing code is:
                from Gnumed.pycommon import gmLog as _gmLog
                from Gnumed.pycommon import gmCLI as _gmCLI

The Gnumed/pycommon/ directory doesn't contain any modules named gmLog
or GmCLI. So this is an expected result :)
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
  `-  Debian GNU/Linux -- The power of freedom

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Reply to: