dogtail Problem running demo script



On my machine the demo scripts work, but fail on another FC5 box in our
lab. I assume its a dependency problem?

[root ibmac18 examples]# python gedit-test-utf8-procedural-api.py
Creating logfile at /tmp/dogtail/logs/gedit-test-utf8-procedural-api_20060926-144234 ...
Detecting distribution: Red Hat/Fedora/derived distribution
GTK Accessibility Module initialized
GTK Accessibility Module initialized
Bonobo accessibility support initialized
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/dogtail/i18n.py", line 23, in safeDecode
    string = string.decode('utf-8')
  File "/usr/lib/python2.4/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xb8 in position 0: unexpected code byte
The following string is invalid and caused the above error: �|} xu�
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/dogtail/i18n.py", line 23, in safeDecode
    string = string.decode('utf-8')
  File "/usr/lib/python2.4/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa5 in position 1: unexpected code byte
The following string is invalid and caused the above error: x�



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