After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 319568 - IconLogger from logging.py does not work with python 2.3
IconLogger from logging.py does not work with python 2.3
Status: RESOLVED FIXED
Product: dogtail
Classification: Deprecated
Component: Framework
CVS HEAD
Other All
: Normal major
: ---
Assigned To: Dogtail Maintainers
Dogtail Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-10-23 23:45 UTC by Lawrence Lim
Modified: 2005-10-24 07:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Lawrence Lim 2005-10-23 23:45:20 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
Comment 1 Zack Cerza 2005-10-24 07:03:39 UTC
I fixed this in 0.4.3.