I am getting this error.  I found this recipe to fix it:

from xmlrpclib import Marshaller
from decimal import Decimal

def dump_decimal(self, value, write):
     write("<value><double>")
     write(str(value))
     write("</double></value>\n")

Marshaller.dispatch[Decimal] = dump_decimal

That seems to be for Python 2. I am running Python 3.5 (I know but I am stuck there for the moment). I tried changing the import to "from xmlrpcl.client import Marshaller" which didn't raise an error but the problem still persists. Do I need to do something different for Python 3?

TIA.

--
D'Arcy J.M. Cain
Vybe Networks Inc.
A unit of Excelsior Solutions Corporation - Propelling Business Forward
http://www.VybeNetworks.com/
IM:da...@vybenetworks.com VoIP: sip:da...@vybenetworks.com


Attachment: OpenPGP_signature
Description: OpenPGP digital signature

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to