dogtail-devel [Bug 319568] New: IconLogger from logging.py does not work with python 2.3



Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=319568
 dogtail | Framework | Ver: CVS HEAD

           Summary: IconLogger from logging.py does not work with python 2.3
           Product: dogtail
           Version: CVS HEAD
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: Framework
        AssignedTo: dogtail-maint gnome bugs
        ReportedBy: llim redhat com
         QAContact: dogtail-maint gnome bugs
                CC: all-bugs bugzilla gnome org


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

------- You are receiving this mail because: -------
You are watching the assignee for the bug.
You are watching the QA contact.



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