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

Bug#539377: marked as done (Error querying maintainers/uploaders with PTS SOAP interface)



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 Error querying maintainers/uploaders with PTS SOAP interface
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!

This problem happens since the recent changes:
 <http://upsilon.cc/~zack/blog/posts/2009/07/PTS_layout_changes/>

I am using the SOAP interface for my "status of GNOME in Debian" pages
http://www.0d.be/debian/debian-gnome-2.26-status.html and an error appeared
around July 23rd 2009 21:20:35 +0000; it fails to retrieve uploadernames or
uploaderemails.

Here's a transcript using your soap_query.py script:

*** Outgoing SOAP ******************************************************
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
  SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
      xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
        xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
	  xmlns:xsd="http://www.w3.org/1999/XMLSchema";
	  >
	  <SOAP-ENV:Body>
	  <uploader_names SOAP-ENC:root="1">
	  <source xsi:type="xsd:string">gnome-session</source>
	  </uploader_names>
	  </SOAP-ENV:Body>
	  </SOAP-ENV:Envelope>
	  ************************************************************************
	  *** Incoming SOAP
	  ******************************************************
	  <SOAP-ENV:Envelope
	  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
	  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
	  xmlns:ZSI="http://www.zolera.com/schemas/ZSI/";
	  xmlns:xsd="http://www.w3.org/2001/XMLSchema";
	  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><SOAP-ENV:Header></SOAP-ENV:Header><SOAP-ENV:Body><uploader_namesResponse></uploader_namesResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
	  ************************************************************************
	  <SOAPpy.Types.structType uploader_namesResponse at 3076464076>: {}




-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30
Locale: LANG=fr_BE, LC_CTYPE=fr_BE (charmap=UTF-8) (ignored: LC_ALL set to fr_BE.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: