-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
When i tries to update printer this error happen
Error:
Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python3.5/urllib/request.py", line 1254, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/usr/lib/python3.5/http/client.py", line 1106, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python3.5/http/client.py", line 1151, in _send_request
self.endheaders(body)
File "/usr/lib/python3.5/http/client.py", line 1102, in endheaders
self._send_output(message_body)
File "/usr/lib/python3.5/http/client.py", line 934, in _send_output
self.send(msg)
File "/usr/lib/python3.5/http/client.py", line 877, in send
self.connect()
File "/usr/lib/python3.5/http/client.py", line 1260, in connect
server_hostname=server_hostname)
File "/usr/lib/python3.5/ssl.py", line 377, in wrap_socket
_context=self)
File "/usr/lib/python3.5/ssl.py", line 752, in __init__
self.do_handshake()
File "/usr/lib/python3.5/ssl.py", line 988, in do_handshake
self._sslobj.do_handshake()
File "/usr/lib/python3.5/ssl.py", line 633, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: getrandom() initialization failed. (_ssl.c:645)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/odoo-production/odoo-production-server/odoo/http.py", line 651, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/odoo-production/odoo-production-server/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/odoo-production/odoo-production-server/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/odoo-production/odoo-production-server/odoo/http.py", line 693, in dispatch
result = self._call_function(**self.params)
File "/odoo-production/odoo-production-server/odoo/http.py", line 342, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/odoo-production/odoo-production-server/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/odoo-production/odoo-production-server/odoo/http.py", line 335, in checked_call
result = self.endpoint(*a, **kw)
File "/odoo-production/odoo-production-server/odoo/http.py", line 937, in __call__
return self.method(*args, **kw)
File "/odoo-production/odoo-production-server/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/odoo-production/odoo-production-server/addons/web/controllers/main.py", line 938, in call_button
action = self._call_kw(model, method, args, {})
File "/odoo-production/odoo-production-server/addons/web/controllers/main.py", line 926, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/odoo-production/odoo-production-server/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/odoo-production/odoo-production-server/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "/odoo-production/odoo-production-server/addons/google_cloud_print/wizards/printing_printer_update_wizard.py", line 24, in action_ok
self.env['printing.printer'].update_gc_printers()
File "/odoo-production/odoo-production-server/addons/google_cloud_print/models/printing_printer.py", line 45, in update_gc_printers
gcprinters = self.env['google.cloudprint.config'].get_printers(user)
File "/odoo-production/odoo-production-server/addons/google_cloud_print/models/google_clodprint_config.py", line 122, in get_printers
return self.get_response('search', user=user).get('printers')
File "/odoo-production/odoo-production-server/addons/google_cloud_print/models/google_clodprint_config.py", line 96, in get_response
access_token = self.get_access_token(user=user)
File "/odoo-production/odoo-production-server/addons/google_cloud_print/models/google_clodprint_config.py", line 76, in get_access_token
content = urllib.request.urlopen(req, timeout=TIMEOUT).read()
File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.5/urllib/request.py", line 466, in open
response = self._open(req, data)
File "/usr/lib/python3.5/urllib/request.py", line 484, in _open
'_open', req)
File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
result = func(*args)
File "/usr/lib/python3.5/urllib/request.py", line 1297, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/usr/lib/python3.5/urllib/request.py", line 1256, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error getrandom() initialization failed. (_ssl.c:645)>
Metadata
Metadata
Assignees
Labels
No labels