0
cannot install packages Ajenti 1.2.22 on ubuntu 15.04
when trying to search for packages on ubuntu server 15.04 vivid, ajenti 1.2.22 fails to get a search for packages.
Traceback (most recent call last):
any ideas?
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/aj/api/endpoint.py", line 69, in wrapper result = fx(self, context, *args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/ajenti_plugin_packages/views.py", line 47, in handle_api_list for package in self.managers[manager_id].list(query=query) File "/usr/local/lib/python2.7/dist-packages/ajenti_plugin_packages/managers/pip_manager.py", line 45, in list for dist in self.client.search({'name': query}): File "/usr/lib/python2.7/xmlrpclib.py", line 1233, in __call__ return self.__send(self.__name, args) File "/usr/lib/python2.7/xmlrpclib.py", line 1591, in __request verbose=self.__verbose File "/usr/lib/python2.7/xmlrpclib.py", line 1273, in request return self.single_request(host, handler, request_body, verbose) File "/usr/lib/python2.7/xmlrpclib.py", line 1301, in single_request self.send_content(h, request_body) File "/usr/lib/python2.7/xmlrpclib.py", line 1448, in send_content connection.endheaders(request_body) File "/usr/lib/python2.7/httplib.py", line 1044, in endheaders self._send_output(message_body) File "/usr/lib/python2.7/httplib.py", line 888, in _send_output self.send(msg) File "/usr/lib/python2.7/httplib.py", line 850, in send self.connect() File "/usr/lib/python2.7/httplib.py", line 1269, in connect server_hostname=server_hostname) File "/usr/lib/python2.7/ssl.py", line 352, in wrap_socket _context=self) TypeError: __init__() got an unexpected keyword argument 'server_hostname'Server is a VM running ubuntu 15.04 with python 2.7.9.
any ideas?
Customer support service by UserEcho
1,clean your meta
2,install latest version of rpm
3, update all package
4,install ajenti and restart it
yum install ajenti systemctl restart ajenti
sorry for my bad english , be happy