I wrote a simple script to pack Data.fs on a regular basis. It is very
simple, actually, just
(a little bit harder than that, but I did it)

   Now I am trying to achieve the same with XML-RPC. No luck. How can I
pass "days" parameter?

   server = xmlrpclib.Server("http://my.zope", BasicAuthTransport(login, password))

   server.Control_Panel.Database.manage_pack(3) does not work - Zope
returns an error abou invalid value,

   server.Control_Panel.Database.manage_pack(days=3) does not run at all -
args expected to be a list, not a hash...

Oleg.            (All opinions are mine and not of my employer)
    Oleg Broytmann      Foundation for Effective Policies      [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to