Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

bugzilla xmlrpc Failed to locate method (get) in class (Bugzilla::WebService::Bug)

61 views
Skip to first unread message

vish...@gmail.com

unread,
Apr 13, 2015, 10:44:57 AM4/13/15
to
I am able to login by xmlrpclib.ServerProxy using cookies but I get following error every time.

>>>b.server.Bug.get(234)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File "bugzilla.py", line 174, in request
return getattr(self, "_parse_response_" + PYVERSION)(h.getfile(), sock)
File "bugzilla.py", line 110, in _parse_response_py27
return u.close()
File "/usr/lib/python2.7/xmlrpclib.py", line 793, in close
raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault Client: 'Failed to locate method (get) in class (Bugzilla::WebService::Bug) at /usr/lib/perl5/site_perl/5.8.8/SOAP/Lite.pm line 2345.\n'>

Thorsten Schöning

unread,
Apr 14, 2015, 3:06:45 AM4/14/15
to support-...@lists.mozilla.org
Guten Tag vish...@gmail.com,
am Montag, 13. April 2015 um 16:44 schrieben Sie:

> xmlrpclib.Fault: <Fault Client: 'Failed to locate method (get) in
> class (Bugzilla::WebService::Bug) at
> /usr/lib/perl5/site_perl/5.8.8/SOAP/Lite.pm line 2345.\n'>

Looking at your ancient used Perl, which version of Bugzilla are you
using? Maybe a pretty old one simply without the get method.

https://www.bugzilla.org/docs/4.4/en/html/api/Bugzilla/WebService/Bug.html#get

Mit freundlichen Grüßen,

Thorsten Schöning

--
Thorsten Schöning E-Mail: Thorsten....@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/

Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow

0 new messages