dogtail-devel Re: Partially-working automatic i18n support
- From: David Malcolm <dmalcolm redhat com>
- To: Lawrence Lim <llim redhat com>
- Cc: dogtail-devel-list gnome org
- Subject: dogtail-devel Re: Partially-working automatic i18n support
- Date: Fri, 21 Oct 2005 11:10:41 -0400
On Fri, 2005-10-21 at 18:34 +1000, Lawrence Lim wrote:
> Thanks for looking into the i18n support. I tried to implement gettext
> into the gedit test case, however, the string retrieved has too many
> false positive and caused the test case to fail.
>
> Tried to include your patch and observed some errors. I will try again
> when I get home. :-)
>
>
> Lawrence
> ==========
> 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
Yes, I ran into that as well, and hacked away they IconLogger code to
make it work; "subprocess" was added in Python 2.4 and you're running
2.3 (FC3 or RHEL4, I guess).
Looks like this should be in bugzilla. For now, I recommend hacking out
the IconLogger from logging.py; it's an optional extra (or, better,
coming up with a sane patch so that it fails gracefully on Python 2.3)
[snip]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]