Re: [Zope] XML-RPC error

2000-07-09 Thread Itamar Shtull-Trauring

Sin Hang Kin wrote:

> After failing to use wxLoadSite, which report
> 
> wxloadsite.py, line 164, in onPressCopy
> AttributeError: host

I'm aware of this error, but due to lack of time haven't had time to
investigate.  Perhaps try typing the host as "http://zope:8080/" instead of
"http://zope:8080"?

> Can anyone help me with these? Moreover, it seems that it is not using the
> BasicAuthTransport which is mentationed in articles in xml.com, are there
> some changes in the xmlrpc code?

Yes, I'm using an altered xmlrpclib.py with some additional code which adds
the basic authentication.

-- 
Itamar S.T.  [EMAIL PROTECTED]
Fingerprint = D365 7BE8 B81E 2B18 6534  025E D0E7 92DB E441 411C

___
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] XML-RPC error

2000-07-09 Thread Sin Hang Kin

Hi,

After failing to use wxLoadSite, which report

wxloadsite.py, line 164, in onPressCopy
AttributeError: host


I try to test it by hand, I start up python and

>>> zs =
xmlrpclib.Server('http://localhost:8080',username='kentsin',password='passwo
rd')
>>> t = zs.objectIds()
Traceback (innermost last):
  File "", line 1, in ?
  File "wxLoadSite\xmlrpclib.py", line 550, in __call__
return self.__send(self.__name, args)
  File "wxLoadSite\xmlrpclib.py", line 644, in __request
request
  File "wxLoadSite\xmlrpclib.py", line 596, in request
headers
wxLoadSite.xmlrpclib.ProtocolError: 

I am using Win32 zope 2.2b1 on the same win98. The xmlrpc client is using
the same python with the binary zope. (I have the zope1.5.2 install in same
box).

Can anyone help me with these? Moreover, it seems that it is not using the
BasicAuthTransport which is mentationed in articles in xml.com, are there
some changes in the xmlrpc code?

Rgs,

Kent Sin
-
kentsin.weblogs.com
kentsin.imeme.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 )