I think you should contact the author of pysimplesoap. I do not believe it supports py3 We can fix it our side but should really be fixed upstream
On Wednesday, 5 February 2020 05:59:37 UTC-8, Maurice Waka wrote: > > I also tried this link > https://github.com/pysimplesoap/pysimplesoap/tree/master/pysimplesoap > > with the same error. > > Regards > On Saturday, July 27, 2019 at 9:29:36 PM UTC+3, Massimo Di Pierro wrote: >> >> web2py ships with old version of pysimplesoap in >> web2py/gluon/contrib/pysimplesoap >> >> try replace it with >> >> https://github.com/pysimplesoap/pysimplesoap/tree/master/pysimplesoap >> >> If it works for you we can make it official >> >> On Friday, 26 July 2019 23:26:45 UTC-7, Maurizio Maccioni wrote: >>> >>> Hi Marcello, >>> >>> I'm facing the same error right now. I quite new in web2py framework. >>> Did you figure it out? >>> >>> Thanks >>> >>> Il giorno lunedì 28 maggio 2018 04:59:16 UTC+2, Marcello ha scritto: >>>> >>>> Hello, >>>> >>>> I'm trying to create a Soap server with Python3 and web2py. >>>> Tested with the example from manual,I put in a controller: >>>> >>>> @service.soap('MyAdd', returns={'result':int}, args={'a':int, 'b':int,}) >>>> def add(a, b): >>>> return a + b >>>> >>>> And when I run client.MyAdd(a=1, b=2) in a client, I get the error: >>>> >>>> Traceback (most recent call last): >>>> File "<console>", line 1, in <module> >>>> File "/Users/parra/web2py3/gluon/contrib/pysimplesoap/client.py", >>>> line 177, in <lambda> >>>> return lambda *args, **kwargs: self.wsdl_call(attr, *args, **kwargs) >>>> File "/Users/parra/web2py3/gluon/contrib/pysimplesoap/client.py", >>>> line 351, in wsdl_call >>>> return self.wsdl_call_with_args(method, args, kwargs) >>>> File "/Users/parra/web2py3/gluon/contrib/pysimplesoap/client.py", >>>> line 375, in wsdl_call_with_args >>>> response = self.call(method, *params) >>>> File "/Users/parra/web2py3/gluon/contrib/pysimplesoap/client.py", >>>> line 276, in call >>>> detail) >>>> gluon.contrib.pysimplesoap.client.SoapFault: VersionMismatch.TypeError: >>>> cannot use a string pattern on a bytes-like object >>>> >>>> >>>> Python2 works fine. >>>> >>>> Any ideas ??? >>>> >>>> Thanks >>>> >>>> >>>> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/8857760b-8dbe-4025-9995-a4b3c8a76278%40googlegroups.com.