"Bak @ kedai" wrote:
hi all has anybody successfully used Client.py that ships with Zope-2.2.0? i can't seem to run it. even on the command line. i've searched the mailing list, but to no avail
this is what i did: python Client.py http://www.zope.org
and here's the traceback. Traceback (innermost last): File "Client.py", line 639, in ? main() File "Client.py", line 632, in main headers, body = apply(f,(),kw) File "Client.py", line 221, in __call__ raise NotAvailable, RemoteException( bci.NotAvailable: argument 1: expected read-only character buffer, tuple found (File: http://www.zope.org Line: []) None None for None
what did i do wrong? can i use Client.py from Zope-2.1.x?
tia
heres a confirmation. i get the same error with various combos on the Client.py but if it helps the monitor works fine. to use the monitor: 1. modify your /ZopeDir/access so that it has a user superuser and a clear text password. easiest way is to edit it by hand. restart Zope. . 2. switch dirs to /ZopeDir/ZServer/medusa/ and run python monitor_client.py host monitor_port it will prompt for a password. the password you give it should match the one in the access file for the superuser. Kapil