nibrahim / pyzilla Goto Github PK
View Code? Open in Web Editor NEWThis project forked from williamh/pyzilla
Python wrapper around the Bugzilla XML-RPC api
License: GNU General Public License v3.0
This project forked from williamh/pyzilla
Python wrapper around the Bugzilla XML-RPC api
License: GNU General Public License v3.0
======= PyZilla ======= PyZilla is a simple wrapper on top the xmlrpclib package which provides an object that can be used to make XML-RPC calls to a Bugzilla installation. The module exposes the ``BugZilla`` object which you can instantiate with the uri to the ``xmlrpc.cgi`` file on your bugzilla installation. Here's a simple usage example:: >>> from pyzilla import BugZilla >>> bzilla = BugZilla("http://bugzilla.example.com/xmlrpc.cgi") >>> bzilla.login("username", "password") >>> bzilla.Bugzilla.version() The module will store the auth cookies in the same directory of invocation in a file called ``cookies.txt``. For details of the API, please refer to the `Bugzilla webservice docs <http://www.bugzilla.org/docs/3.0/html/api/Bugzilla/WebService.html>`_. For a saner interface to bugzilla, please refer to the `Bugzilla REST API <https://wiki.mozilla.org/Bugzilla:REST_API>`_.
Hello,
I downloaded PyZilla today and tried to run the basic steps mentioned in the README:
>>> from pyzilla import BugZilla
>>> bzilla = BugZilla("http://bugzilla.example.com/xmlrpc.cgi")
>>> bzilla.login("username", "password")
>>> bzilla.Bugzilla.version()
However, I receive following error while doing the login call -
Traceback (most recent call last):
File "", line 1, in
File "pyzilla.py", line 105, in login
password = password))
File "/usr/tideway/lib/python2.7/xmlrpclib.py", line 1224, in call
return self.__send(self.__name, args)
File "/usr/tideway/lib/python2.7/xmlrpclib.py", line 1570, in __request
verbose=self.__verbose
File "pyzilla.py", line 79, in request
errcode, errmsg, headers = h.getreply()
AttributeError: HTTPSConnection instance has no attribute 'getreply'
I'm using Python 2.7.1 on RHEL 5. The BugZilla version however is 3.0.2. Any help with this will be much appreciated.
I'm interested in seeing if this can be used for running some of our automated reports.
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.