gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] Problem running gnumed


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Problem running gnumed
Date: Wed, 4 Sep 2002 09:55:18 +0200
User-agent: Mutt/1.3.22.1i

> address@hidden jds]$ python
> Python 2.2.1 (#1, Aug 27 2002, 10:22:32)
> [GCC 3.2 (Mandrake Linux 9.0 3.2-1mdk)] on linux-i386
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import gettext
> >>> gettext
> <module 'gettext' from '/usr/lib/python2.2/gettext.pyc'>
> >>> gettext.__dict__['install']
> <function install at 0x807304c>
> >>>
This is mighty strange. The module seems to have the function
yet it seems not to (as from the earlier exception).

Try:

python
import gettext
gettext
gettext.__dict__['install']
gettext.install('something')

This should throw an exception to the effect of:
IOError: "No translation file found for the domain: 'something'"

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]