[XML-SIG] soaplib errors

Matt Gushee mgushee@havenrock.com
Wed, 28 Jun 2000 11:23:10 -0400 (EDT)


Hi, Folks--

I thought I'd try out soaplib 0.8. But apparently I'm missing
something or haven't set it up correctly. When I run the test
programs, 'test2.py' works, but the other two fail with the following
errors (complete backtraces included at the end of this message):

> test1.py

  File "C:\PROGRA~1\Python\SITE-P~1\soap\test1.py", line 9, in ?
    print server.call(Payload())

    .....

SyntaxError: unknown type 'http://www.w3.org/1999/XMLSchema/ur-type[2]' (for now)

> test3.py

  File "C:\PROGRA~1\Python\SITE-P~1\soap\test3.py", line 21, in ?
    except Error, v:
NameError: Error

I am running Python 1.5.2 "standard" package (? -- e.g. the binary
  obtained thru python.org, not the Pythonware package) 
on Windows 2000 Professional
sgmlop not installed

Any ideas what the problem is?

Matt Gushee

----------------------------------------------------------------
Complete backtraces:

> cd C:\Program Files\Python\site-packages\soap
> test1.py


C:\Program Files\Python\site-packages\soap>test1.py
*** http://www.w3.org/1999/XMLSchema/ur-type[2]
Traceback (innermost last):
  File "C:\PROGRA~1\Python\SITE-P~1\soap\test1.py", line 9, in ?
    print server.call(Payload())
  File "C:\PROGRA~1\Python\SITE-P~1\soap\soaplib.py", line 687, in __call__
    return self.__send(self.__name, pargs, kwargs)
  File "C:\PROGRA~1\Python\SITE-P~1\soap\soaplib.py", line 798, in __request
    request
  File "C:\PROGRA~1\Python\SITE-P~1\soap\soaplib.py", line 734, in request
    response = self.parse_response(h.getfile())
  File "C:\PROGRA~1\Python\SITE-P~1\soap\soaplib.py", line 752, in parse_response
    p.feed(response)
  File "C:\Program Files\Python\Lib\xmllib.py", line 149, in feed
    self.goahead(0)
  File "C:\Program Files\Python\Lib\xmllib.py", line 247, in goahead
    k = self.parse_endtag(i)
  File "C:\Program Files\Python\Lib\xmllib.py", line 638, in parse_endtag
    self.finish_endtag(tag)
  File "C:\Program Files\Python\Lib\xmllib.py", line 677, in finish_endtag
    self.unknown_endtag(nstag)
  File "C:\PROGRA~1\Python\SITE-P~1\soap\soaplib.py", line 555, in end
    self.end_unknown(type)
  File "C:\PROGRA~1\Python\SITE-P~1\soap\soaplib.py", line 565, in end_unknown
    raise SyntaxError, ("unknown type %s (for now)" % repr(type))
SyntaxError: unknown type 'http://www.w3.org/1999/XMLSchema/ur-type[2]' (for now)


> cd C:\Program Files\Python\site-packages\soap
> test3.py


C:\Program Files\Python\site-packages\soap>test3.py
Traceback (innermost last):
  File "C:\PROGRA~1\Python\SITE-P~1\soap\test3.py", line 21, in ?
    except Error, v:
NameError: Error