Hi,
due to the fact that the retrieving of the contacts with KDE's Kontact
produces a high load on the zidestore server, and also crashes Kontact
occassionally I was looking for a way to retrieve the list in an other way.
For the Calendar I use wget to retrieve the calendar files via zidestore.
Afaik for the Contacts this is not working, as the vcards are retrived one by
one. So I tried to use the xmlrpc interface but without luck yet.
In the xmlrpc document i found the server.person.fetch method.
so i tried the example with python:
#!/usr/bin/env python
import xmlrpclib
server = xmlrpclib.Server('http://localhost:22000',
login='user', password='userpassword')
result = server.person.fetch(
{
'qualifier' : "name like '*'",
'sortOrderings' : ["name",],
}
)
When I start this scrip I get the following error:
Traceback (most recent call last):
File "./get_persons.sh", line 4, in ?
login='user', password='userpassword')
TypeError: __init__() got an unexpected keyword argument 'login'
another try was the xmlrpc_call tool:
xmlrpc_call http://localhost:22000 -login user -password userpassword
server.person.fetch
with the following response:
Feb 22 08:50:03 xmlrpc_call [27954]: <0x080DABFC[HandleCredentialsClient]> got
nil value from XML-RPC ...
Exception caught
Name : XmlRpcFault<0>
Reason: NoSuchAction: action not implemented
Anybody has a hint on how to get the python script or xmlrpc_call tool to do
what I want. Or the best would be a url link to the contacts which i can
retrieve with wget.
kind regards
Sebastian
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]