[Zope] Howto ZClient
Francois Chalaoux
fchalaou@strasbourg.synthelabo.fr
Tue, 09 Nov 1999 15:47:20 +0000
Hi,
I tried to use "Using ZClient to Access Another Server" howto but I got
some difficulties :
1/ When the URL is "http://www.allocine.fr/goto.asp?RD=P0049" is present
then I got this funny error , any idea ? :
Traceback (innermost last):
File /opt/zope/Zope-2.0.1/lib/python/ZPublisher/Publish.py, line 214,
in publish_module
File /opt/zope/Zope-2.0.1/lib/python/ZPublisher/Publish.py, line 179,
in publish
File /opt/zope/Zope-2.0.1/lib/python/Zope/__init__.py, line 201, in
zpublisher_exception_hook
(Object: ElementWithAttributes)
File /opt/zope/Zope-2.0.1/lib/python/ZPublisher/Publish.py, line 165,
in publish
File /opt/zope/Zope-2.0.1/lib/python/ZPublisher/mapply.py, line 160,
in mapply
(Object: cine)
File /opt/zope/Zope-2.0.1/lib/python/ZPublisher/Publish.py, line 102,
in call_object
(Object: cine)
File /opt/zope/Zope-2.0.1/lib/python/OFS/DTMLDocument.py, line 166, in
__call__
(Object: cine)
File /opt/zope/Zope-2.0.1/lib/python/DocumentTemplate/DT_String.py,
line 502, in __call__
(Object: cine)
File /opt/zope/Zope-2.0.1/lib/python/DocumentTemplate/DT_Util.py, line
321, in eval
(Object: webclient('http://www.allocine.fr/goto.asp?RD=P0049
','chalaoux','5ginie;9'))
File <string>, line 0, in ?
File
/opt/zope/Zope-2.0.1/lib/python/Products/ExternalMethod/ExternalMethod.py,
line 246, in __call__
(Object: webclient)
(Info: (('http://www.allocine.fr/goto.asp?RD=P0049 ', 'chalaoux',
'5ginie;9'), {}, ('http://www.yahoo.com/', None, None)))
File /opt/zope/Zope-2.0.1/Extensions/webclient.py, line 8, in
webclient
File /opt/zope/Zope-2.0.1/lib/python/ZPublisher/Client.py, line 344,
in call
File /opt/zope/Zope-2.0.1/lib/python/ZPublisher/Client.py, line 225,
in __call__
(Object: goto.asp?RD=P0049 )
File /opt/zope/Zope-2.0.1/lib/python/ZPublisher/Client.py, line 240,
in handleError
(Object: goto.asp?RD=P0049 )
bci.ServerError: (see above)
2/ The others parameters in the webclient method are 'username' and
'passwd'. I am behind a proxy which ask me the first time I try to
access Internet a username and my passwd. Are these couple of parameters
the same in the method and in my proxy request, cause even with my
username and the passwd in the method I have to insert the couple?