Re: [Zope] Client.py
"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 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Client.py
See collector item #1480 http://classic.zope.org:8080/Collector/1480/view - Original Message - From: "Bak @ kedai" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: August 08, 2000 11:08 PM Subject: [Zope] Client.py 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 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
re: [Zope] Client.py
bak wrote: 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 There's a bug in Client.py. Change line 212 of lib/python/ZPublisher/Client.py from this: h.connect((self.host, self.port)) to this: h.connect(self.host, self.port) I believe this is already fixed in Zope CVS. -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )