Package: python-dogtail
Version: 0.8.2-1
Severity: important

Looking for a window with name "omaha - Gliński's Chess":

Gliński's Chess ...
activate on [icon | ]
Traceback (most recent call last):
  File "./scripts/uitest.py", line 81, in <module>
    excercise_game(game)
  File "./scripts/uitest.py", line 24, in excercise_game
    window = app.window("omaha - " + game)
  File "/usr/lib/python2.7/dist-packages/dogtail/tree.py", line 1039, in window
    result = self.findChild (predicate.IsAWindowNamed(windowName=windowName), 
recursive)
  File "/usr/lib/python2.7/dist-packages/dogtail/tree.py", line 793, in 
findChild
    result = self._fastFindChild(pred.satisfiedByNode, recursive)
  File "/usr/lib/python2.7/dist-packages/dogtail/tree.py", line 760, in 
_fastFindChild
    if pred(child): return child
  File "/usr/lib/python2.7/dist-packages/dogtail/predicate.py", line 223, in 
satisfiedByNode
    return node.roleName=='frame' and stringMatches(self.windowName, node.name)
  File "/usr/lib/python2.7/dist-packages/dogtail/predicate.py", line 13, in 
stringMatches
    return scriptName.matchedBy(reportedName)
  File "/usr/lib/python2.7/dist-packages/dogtail/i18n.py", line 172, in 
matchedBy
    return stringsMatch(self.untranslatedString, string)
  File "/usr/lib/python2.7/dist-packages/dogtail/i18n.py", line 145, in 
stringsMatch
    inString = str(inS)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0144' in position 
11: ordinal not in range(128)

Obviously, the use of class "str" here is a very bad idea...

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (500, 
'oldstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-dogtail depends on:
ii  python           2.7.5-5
ii  python-apt       0.9.1
ii  python-gi        3.8.2-1
ii  python-gi-cairo  3.8.2-1
ii  python-pyatspi   2.10.0+dfsg-1
ii  xvfb             2:1.12.4-6

Versions of packages python-dogtail recommends:
ii  imagemagick                               8:6.7.7.10-6
pn  python-celementtree | python-elementtree  <none>

python-dogtail suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to