Hi all,
I have downloaded TGWebServices 1.1.2 (and trunk, which is the same
currently), but the SOAP doesn't appear to be fully working for me--
Complex types are failing. I am not sure how to resolve this. From
the README.txt, I assume that SOAP is supposed to be working. I have
installed TurboGears 1.0.1, Genshi 0.3.6, CherryPy 2.2.1, Python
2.4.4. Do I need CherryPy 3.0? I get errors from running nosetests
in the TGWebServices source directory. It runs 47 tests with 3
failures. They are pretty much the same, a NoApplicableMethods
error. This is the last one:
-------------------- >> begin captured stdout << ---------------------
localhost - - [11/Apr/2007:09:59:17] "POST /tenyearsolder HTTP/1.1"
200 2267 "" ""
<result><debuginfo>
Traceback:
Traceback (most recent call last):
File "/var/lib/python-support/python2.4/cherrypy/_cphttptools.py",
line 105, in _run
self.main()
File "/var/lib/python-support/python2.4/cherrypy/_cphttptools.py",
line 254, in main
body = page_handler(*virtual_path, **self.params)
File "/home/trey/trunk/tgwebservices/controllers.py", line 113, in
newfunc
return tgfunc(self, **kw)
File "<string>", line 3, in d_w_r
File "/var/lib/python-support/python2.4/turbogears/controllers.py",
line 334, in expose
output = database.run_with_transaction(
File "<string>", line 5, in run_with_transaction
File "/var/lib/python-support/python2.4/turbogears/database.py",
line 260, in so_rwt
retval = func(*args, **kw)
File "<string>", line 5, in _expose
File "/var/lib/python-support/python2.4/turbogears/controllers.py",
line 351, in <lambda>
mapping, fragment, args, kw)))
File "/var/lib/python-support/python2.4/turbogears/controllers.py",
line 391, in _execute_func
return _process_output(output, template, format, content_type,
mapping, fragment)
File "/var/lib/python-support/python2.4/turbogears/controllers.py",
line 82, in _process_output
fragment=fragment)
File "/var/lib/python-support/python2.4/turbogears/view/base.py",
line 131, in render
return engine.render(**kw)
File "/home/trey/trunk/tgwebservices/xml.py", line 59, in render
return str(xml_value("result", info["result"]))
File "<string>", line 5, in xml_value
File "_speedups.pyx", line 376, in
_speedups.BaseDispatcher.__getitem__
File "/var/lib/python-support/python2.4/dispatch/interfaces.py",
line 15, in __call__
raise self.__class__(*self.args+(args,kw))
NoApplicableMethods: (('result',
<tgwebservices.tests.fixtures.FancyValue object at 0xb6a9cd0c>),
{}, <bound method ComplexService.tenyearsolder o
f <tgwebservices.tests.fixtures.ComplexService object at
0xb6a9cb8c>>)
</debuginfo><faultcode>Server</faultcode><faultstring>(('result',
<tgwebservices.tests.fixtures.FancyValue object at 0xb6a9cd0c>),
{}, <bound meth
od ComplexService.tenyearsolder of
<tgwebservices.tests.fixtures.ComplexService object at
0xb6a9cb8c>>)</faultstring></result>
--------------------- >> end captured stdout << ----------------------
Can anyone help me find out what's wrong?
Regards,
Trey
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---