Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError using PyZilla #2

Open
chattygk opened this issue Sep 16, 2011 · 0 comments
Open

AttributeError using PyZilla #2

chattygk opened this issue Sep 16, 2011 · 0 comments

Comments

@chattygk
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant