[Kde-bindings] [Bug 105084] Python DCOP query issues with non-ASCII characters

Hugo Haas hugo at larve.net
Wed May 4 22:23:18 UTC 2005

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

------- Additional Comments From hugo larve net  2005-05-05 00:23 -------
If I add:

query = query.decode('utf-8')

I get an unknown method error:

hugo jibboom /tmp% python test.py é
SELECT count(*) FROM tags WHERE url LIKE "%é%"
<type 'unicode'>
Traceback (most recent call last):
  File "test.py", line 9, in ?
    print pydcop.anyAppCalled("amarok").collection.query(query )
  File "/usr/lib/python2.3/site-packages/pydcop.py", line 90, in __call__
    return pcop.dcop_call( self.appname, self.objname, self.name, args )
RuntimeError: DCOP: Unknown method.

I'll attach the updated test.py.

More information about the Kde-bindings mailing list