GNOME Bugzilla – Bug 319568
IconLogger from logging.py does not work with python 2.3
Last modified: 2005-10-24 07:03:39 UTC
Please describe the problem: Unable to use dogtail because IconLogger from logging.py does not work with python 2.3. Steps to reproduce: 1. run any of the testcases in the EXAMPLES dir 2. 3. Actual results: > Detecting distribution: Red Hat/Fedora/derived distribution > Traceback (most recent call last): > File "./evolution-test-composing-html.py", line 11, in ? > from dogtail.apps.wrappers.evolution import * > File "/usr/lib/python2.3/site- > packages/dogtail/apps/wrappers/evolution.py", line 7, in ? > from dogtail.tree import * > File "/usr/lib/python2.3/site-packages/dogtail/tree.py", line 69, in ? > from utils import doDelay > File "/usr/lib/python2.3/site-packages/dogtail/utils.py", line 16, > in ? > from logging import debugLogger as logger > File "/usr/lib/python2.3/site-packages/dogtail/logging.py", line 207, > in ? > debugLogger = DebugLogger() > File "/usr/lib/python2.3/site-packages/dogtail/logging.py", line 195, > in __init__ > self.iconLogger = IconLogger() > File "/usr/lib/python2.3/site-packages/dogtail/logging.py", line 155, > in __init__ > from trayicon import TrayIcon > File "/usr/lib/python2.3/site-packages/dogtail/trayicon.py", line 22, > in ? > import subprocess > ImportError: No module named subprocess Expected results: able to run test case to completion Does this happen every time? yes Other information: As mentioned by Dave, the work around is to take out the IconLogger from logging.py
I fixed this in 0.4.3.