Thread
:
Troubles with python and gconf
View Single Post
pycage
2009-03-12 , 08:32
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#
4
Some installations of pymaemo are broken, and the gconf module cannot be imported at all.
For these cases I've written a simple workaround gconf module replacement using gconftool-2, which can be used if "import gnome.gconf" fails:
Code:
try: import gnome.gconf as gconf except: import gconftool as gconf
It's not feature-complete, though, but good enough for basic tasks.
https://garage.maemo.org/plugins/scm...ox&view=markup
Quote & Reply
|
The Following User Says Thank You to pycage For This Useful Post:
jolouis
pycage
View Public Profile
Send a private message to pycage
Find all posts by pycage