Re: Problems using python-support
Just to add some information directly from a GNUmed developer:
> In prinzipe the wrapper script /usr/bin/gnumed does the following
>
> python /var/lib/python-support/python2.3/Gnumed/wxpython/gnumed.py
>
> This exits with the error message
>
> CRITICAL ERROR: Cannot load GNUmed Python modules ! - Program halted.
Which is printed by the following code in GNUmed:
try:
from Gnumed.pycommon import <a GNUmed module name here>
except ImportError:
print "..."
(pycommon is a module directory inside Gnumed/ with proper __init__.py and all)
IOW, GNUmed cannot find it's modules in any of sys.path:
> /usr/share/python-support/gnumed-client/Gnumed/wxpython
> /usr/lib/python23.zip
> /usr/lib/python2.3
> /usr/lib/python2.3/plat-linux2
> /usr/lib/python2.3/lib-tk
> /usr/lib/python2.3/lib-dynload
> /usr/local/lib/python2.3/site-packages
> /usr/lib/python2.3/site-packages
> /usr/lib/python2.3/site-packages/Numeric
> /usr/lib/python2.3/site-packages/PIL
> /usr/lib/python2.3/site-packages/cairo
> /usr/lib/python2.3/site-packages/influenza
> /var/lib/python-support/python2.3
> /var/lib/python-support/python2.3/gtk-2.0
> /usr/lib/python2.3/site-packages/wx-2.4-gtk-ansi
> /usr/lib/site-python
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
Reply to: