Steps to reproduce:
1. Install beaker-client on Fedora 22
2. Run bkr whoami
Actual results:
Traceback (most recent call last):
File "bkr/client/main.py", line 86, in <module>
sys.exit(main())
File "bkr/client/main.py", line 64, in main
return cmd.run(*cmd_args, **cmd_opts.__dict__)
File "bkr/client/commands/cmd_whoami.py", line 56, in run
self.set_hub(**kwargs)
File "bkr/client/__init__.py", line 71, in set_hub
proxy_user=proxy_user)
File "bkr/client/command.py", line 279, in set_hub
self.hub = HubProxy(conf=self.conf, auto_login=auto_login)
File "bkr/common/hub.py", line 62, in __init__
self._login()
File "bkr/common/hub.py", line 89, in _login
if force or self._hub.auth.renew_session():
File "/usr/lib64/python2.7/xmlrpclib.py", line 1233, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1591, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/site-packages/bkr/common/xmlrpc.py", line 560, in request
result = transport_class.request(self, *args, **kwargs)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1273, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/site-packages/bkr/common/xmlrpc.py", line 427, in _single_request
h = self.make_connection(host)
File "/usr/lib/python2.7/site-packages/bkr/common/xmlrpc.py", line 522, in make_connection
conn = xmlrpclib.SafeTransport.make_connection(self, host)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1509, in make_connection
self._connection = host, HTTPS(chost, None, context=self.context, **(x509 or {}))
AttributeError: SafeCookieTransport instance has no attribute 'context'
(In reply to Dan Callaghan from comment #3)
$ rpm -qa 'beaker-c*'
beaker-common-21.0-0.git.8.0ec1fde.fc19.noarch
beaker-client-21.0-0.git.8.0ec1fde.fc19.noarch
Thanks! Fixed the issue for me.
(In reply to Dan Callaghan from comment #3)
> This bug fix is included in beaker-client-21.0-0.git.8.0ec1fde.el6eng which
> is currently available for download here:
>
> https://beaker-project.org/nightlies/develop/
It would be good If you could prepare nightly repo in copr[1]
Packages will be signed and there would not be "fc19" in package name.
[1] https://copr.fedoraproject.org/
Steps to reproduce: 1. Install beaker-client on Fedora 22 2. Run bkr whoami Actual results: Traceback (most recent call last): File "bkr/client/main.py", line 86, in <module> sys.exit(main()) File "bkr/client/main.py", line 64, in main return cmd.run(*cmd_args, **cmd_opts.__dict__) File "bkr/client/commands/cmd_whoami.py", line 56, in run self.set_hub(**kwargs) File "bkr/client/__init__.py", line 71, in set_hub proxy_user=proxy_user) File "bkr/client/command.py", line 279, in set_hub self.hub = HubProxy(conf=self.conf, auto_login=auto_login) File "bkr/common/hub.py", line 62, in __init__ self._login() File "bkr/common/hub.py", line 89, in _login if force or self._hub.auth.renew_session(): File "/usr/lib64/python2.7/xmlrpclib.py", line 1233, in __call__ return self.__send(self.__name, args) File "/usr/lib64/python2.7/xmlrpclib.py", line 1591, in __request verbose=self.__verbose File "/usr/lib/python2.7/site-packages/bkr/common/xmlrpc.py", line 560, in request result = transport_class.request(self, *args, **kwargs) File "/usr/lib64/python2.7/xmlrpclib.py", line 1273, in request return self.single_request(host, handler, request_body, verbose) File "/usr/lib/python2.7/site-packages/bkr/common/xmlrpc.py", line 427, in _single_request h = self.make_connection(host) File "/usr/lib/python2.7/site-packages/bkr/common/xmlrpc.py", line 522, in make_connection conn = xmlrpclib.SafeTransport.make_connection(self, host) File "/usr/lib64/python2.7/xmlrpclib.py", line 1509, in make_connection self._connection = host, HTTPS(chost, None, context=self.context, **(x509 or {})) AttributeError: SafeCookieTransport instance has no attribute 'context'