Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3E33A7BC9 for ; Tue, 29 Nov 2011 19:58:17 +0000 (UTC) Received: (qmail 48792 invoked by uid 500); 29 Nov 2011 19:58:14 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 48106 invoked by uid 500); 29 Nov 2011 19:58:14 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 48086 invoked by uid 99); 29 Nov 2011 19:58:14 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2011 19:58:14 +0000 Received: from localhost (HELO [192.168.23.9]) (127.0.0.1) (smtp-auth username markt, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2011 19:58:14 +0000 Message-ID: <4ED53950.3060602@apache.org> Date: Tue, 29 Nov 2011 19:58:08 +0000 From: Mark Thomas User-Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Christian Lohmaier CC: ooo-dev@incubator.apache.org, bugzilla-admin@apache.org Subject: Re: Bugzilla's xmlrpc interface not working - mod_perl vs cgi problem? References: In-Reply-To: X-Enigmail-Version: 1.3.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 29/11/2011 16:21, Christian Lohmaier wrote: > Once again, this time also to bugzilla-admin@apache.org - the problem > remains, no working xmlrpc. If you create an INFRA Jira ticket against the Bugzilla component this won't get forgotten. Mark > > On Tue, Nov 8, 2011 at 12:42 PM, Christian Lohmaier > wrote: >> Hi *, >> >> just like the old instance of bugzilla over at Oracle, the instance on >> apache has a broken xmlrpc setup. >> >> check with: >> <<<<<<< >> #!/usr/bin/python >> import xmlrpclib >> #proxy = xmlrpclib.ServerProxy("https://bugzilla.mozilla.org/xmlrpc.cgi") >> proxy = xmlrpclib.ServerProxy("https://issues.apache.org/ooo/xmlrpc.cgi") >> try: >> response = proxy.Bugzilla.version() >> print response >> except xmlrpclib.Fault, err: >> print "A fault occurred" >> print "Fault code: %s" % err.faultCode >> print err.faultString >>>>>>>>> >> >> Actual output: >> >> A fault occurred >> Fault code: Client >> Application failed during request deserialization: >> no element found at line 1, column 0, byte -1 at >> /usr/local/lib/perl5/site_perl/5.12.4/mach/XML/Parser.pm line 187 >> >> Expected output something like: >> >> {'version': '4.0.2+'} >> >> Probably it is a mismatch between mod_perl and the cgi variant, as >> described here: >> https://bugzilla.mozilla.org/show_bug.cgi?id=600810 >> >> So you might want to give >> https://bug600810.bugzilla.mozilla.org/attachment.cgi?id=543783 a try >> (or switch to mod_cgi) >> >> ciao >> Christian