[Zope] xmlrpc and ZSQL Method
Olaf Marc Zanger
olaf.zanger@soli-con.com
Sat, 5 May 2001 17:23:10 +0200
hi phil,
thanks for trying to help,
just i get the following error message . my Zsql-method uses these two
parameter names and the code is:
---------------------------
result=s.Zope.operate.xmlrpc.prd_sql_method(1, '1996-02-01') # error
if len(results)>0:
print 'found records: '
else:
print 'no records'
for record in results:
print record[0]
---------------------
Traceback (innermost last):
File "./ip-prd_get-0.0.2.py", line 33, in ?
result=s.Zope.operate.xmlrpc.prd_sql_method(1, '1996-02-01') # error
File "./xmlrpclib.py", line 547, in __call__
return self.__send(self.__name, args)
File "./xmlrpclib.py", line 630, in __request
request
File "./xmlrpclib.py", line 585, in request
return self.parse_response(h.getfile())
File "./xmlrpclib.py", line 601, in parse_response
return u.close()
File "./xmlrpclib.py", line 371, in close
raise apply(Fault, (), self._stack[0])
xmlrpclib.Fault: <Fault -2: "Unexpected Zope error value: ['fac_id_only',
'date']">
have a nice weekend
olaf
--
soli-con Engineering Zanger, Dipl.-Ing. (FH) Olaf Marc Zanger
Lorrainestrasse 23, 3013 Bern / Switzerland
fon:+41-31-332 9782, mob:+41-76-572 9782
mailto:olaf.zanger@soli-con.com, http://www.soli-con.com