Hi Simon,

Seeing your report, there is a problem downloading (timeout)
which suds seems to need to complete the WSDL parsing.

Can you download it manually?

On Wed, May 5, 2010 at 12:06, Simon Callan <simon.callan@infoshare-is.com> wrote:

Hi,

 

I’m trying to run SUDS 0.39 under nosetests (0.11.3), and I’m getting an error when I run my script. It’s a very simple script that just calls suds.client.Client() as part of the setup process, and I’m getting the error below. Are there any known issues with SUDS and nosetests?

 

Simon

 

Traceback (most recent call last):

  File "c:\python25\lib\site-packages\nose-0.11.3-py2.5.egg\nose\suite.py", line 197, in run

    self.setUp()

  File "c:\python25\lib\site-packages\nose-0.11.3-py2.5.egg\nose\suite.py", line 280, in setUp

    self.setupContext(ancestor)

  File "c:\python25\lib\site-packages\nose-0.11.3-py2.5.egg\nose\suite.py", line 303, in setupContext

    try_run(context, names)

  File "c:\python25\lib\site-packages\nose-0.11.3-py2.5.egg\nose\util.py", line 491, in try_run

    return func()

  File "E:\server Test\workspace\Server tester\src\tests\__init__.py", line 6, in setup

    connect.start()

  File "E:\server Test\workspace\Server tester\src\tests\connect.py", line 7, in start

    connection = Client("http://localhost:8888/ClearCore?WSDL")

  File "E:\server Test\workspace\Suds experiment\src\suds\client.py", line 111, in __init__

    self.wsdl = reader.open(url)

  File "E:\server Test\workspace\Suds experiment\src\suds\reader.py", line 136, in open

    d = self.fn(url, self.options)

  File "E:\server Test\workspace\Suds experiment\src\suds\wsdl.py", line 159, in __init__

    self.build_schema()

  File "E:\server Test\workspace\Suds experiment\src\suds\wsdl.py", line 220, in build_schema

    self.schema = container.load(self.options)

  File "E:\server Test\workspace\Suds experiment\src\suds\xsd\schema.py", line 92, in load

    child.open_imports(options)

  File "E:\server Test\workspace\Suds experiment\src\suds\xsd\schema.py", line 298, in open_imports

    imported = imp.open(options)

  File "E:\server Test\workspace\Suds experiment\src\suds\xsd\sxbasic.py", line 515, in open

    result = self.download(options)

  File "E:\server Test\workspace\Suds experiment\src\suds\xsd\sxbasic.py", line 533, in download

    d = reader.open(url)

  File "E:\server Test\workspace\Suds experiment\src\suds\reader.py", line 73, in open

    d = self.download(url)

  File "E:\server Test\workspace\Suds experiment\src\suds\reader.py", line 88, in download

    fp = self.options.transport.open(Request(url))

  File "E:\server Test\workspace\Suds experiment\src\suds\transport\https.py", line 60, in open

    return  HttpTransport.open(self, request)

  File "E:\server Test\workspace\Suds experiment\src\suds\transport\http.py", line 62, in open

    return self.u2open(u2request)

  File "E:\server Test\workspace\Suds experiment\src\suds\transport\http.py", line 116, in u2open

    return url.open(u2request)

  File "C:\Python25\lib\urllib2.py", line 381, in open

    response = self._open(req, data)

  File "C:\Python25\lib\urllib2.py", line 399, in _open

    '_open', req)

  File "C:\Python25\lib\urllib2.py", line 360, in _call_chain

    result = func(*args)

  File "C:\Python25\lib\urllib2.py", line 1107, in http_open

    return self.do_open(httplib.HTTPConnection, req)

  File "C:\Python25\lib\urllib2.py", line 1082, in do_open

    raise URLError(err)

URLError: <urlopen error timed out>

-------------------- >> begin captured logging << --------------------

suds.wsdl: DEBUG: reading wsdl at: http://localhost:8888/ClearCore?WSDL ...

suds.transport.http: DEBUG: opening (http://localhost:8888/ClearCore?WSDL)

suds.metrics: DEBUG: sax (<addinfourl at 23891040 whose fp = <socket._fileobject object at 0x016B4830>>) duration: 950 (ms)

suds.xsd.sxbasic: DEBUG: Import:0x1c10b50, importing ns="http://tempuri.org/", location="http://localhost:8888/ClearCore?xsd=xsd0"

suds.transport.http: DEBUG: opening (http://localhost:8888/ClearCore?xsd=xsd0)

--------------------- >> end captured logging << ---------------------

Infoshare Ltd
Millennium House
21 Eden Street
Kingston upon Thames
Surrey
KT1 1BL
United Kingdom

Phone: +44 (0) 20 8541 0111
Support:  +44 (0) 20 8481 4760
Web:  http://www.infoshare-is.com/
E-mail:  info@infoshare-is.com

Infoshare Ltd is registered in England and Wales.
Registered Office as above.
Registered Number 2877612
VAT Number GB 678 1443 10

The content of this e-mail (and any attachment to it) is confidential. Any views or opinions do not represent the views or opinions of Infoshare Ltd. If you have received this e-mail in error please notify the sender and delete it. You may not use, copy or disclose the information in any way.

Infoshare Ltd monitors incoming and outgoing e-mails.

Please consider the environment. Do you really need to print this email?


_______________________________________________
suds mailing list
suds@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/suds