--- Begin Message ---
Package: qa.debian.org
Severity: normal
Hi,
My small script that queries the PTS SOAP interface does not work anymore.
A simple script always fails.
$ cat test.py
#!/usr/bin/python
import SOAPpy
url = 'http://packages.qa.debian.org/cgi-bin/soap-alpha.cgi'
ws = SOAPpy.SOAPProxy(url)
print ws.versions(source="ocaml")['unstable']
print ws.uploaders(source="ocaml")[1]['name']
niol@annalee:~/local/tmp$ python test.py
Traceback (most recent call last):
File "test.py", line 5, in <module>
print ws.versions(source="ocaml")['unstable']
File "/usr/lib/pymodules/python2.6/SOAPpy/Client.py", line 470, in __call__
return self.__r_call(*args, **kw)
File "/usr/lib/pymodules/python2.6/SOAPpy/Client.py", line 492, in __r_call
self.__hd, self.__ma)
File "/usr/lib/pymodules/python2.6/SOAPpy/Client.py", line 363, in __call
config = self.config)
File "/usr/lib/pymodules/python2.6/SOAPpy/Client.py", line 252, in call
raise HTTPError(code, msg)
SOAPpy.Errors.HTTPError: <HTTPError 500 Internal Server Error>
Please let me know if you need more info.
Alex
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (150, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-rc2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- End Message ---
--- Begin Message ---
Hi,
On Tue, 21 Jun 2011, Alexandre Rossi wrote:
> So the way towards fixing this _particular_ issue seems to be, from what I
> understand, replacing the module xml.xpath (which does not exist anymore)
> usage with something.
>
> The attached patch seems to work on my squeeze box with my quick and dirty
> setup of the PTS SOAP interface. Watch for the extra python-lxml dependency.
Committed even if I can't test on the basis that things can't be worse
than not orking, it should be live already. Thanks for the patch!
Cheers,
--
Raphaël Hertzog ◈ Debian Developer
Follow my Debian News ▶ http://RaphaelHertzog.com (English)
▶ http://RaphaelHertzog.fr (Français)
--- End Message ---