[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#630896: marked as done (qa.debian.org: PTS SOAP interface always returns HTTP 500 Internal Server Error)



Your message dated Sat, 25 Jun 2011 08:56:05 +0200
with message-id <20110625065605.GA10517@rivendell.home.ouaza.com>
and subject line Re: Bug#630896: qa.debian.org: PTS SOAP interface always returns HTTP 500 Internal Server Error
has caused the Debian Bug report #630896,
regarding qa.debian.org: PTS SOAP interface always returns HTTP 500 Internal Server Error
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
630896: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630896
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- 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 ---

Reply to: