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

Biometrics was configured but still unable to connect #21

Open
rjay1018 opened this issue Oct 11, 2017 · 0 comments
Open

Biometrics was configured but still unable to connect #21

rjay1018 opened this issue Oct 11, 2017 · 0 comments

Comments

@rjay1018
Copy link

Got this error, I can ping my biometrics IP and all ready configure its IP and Port in my ERP system.
Warning message
"Unable to connect, please check the parameters and network connections. "

Error Log below

administrator@SO-01:~$ tail -f /var/log/odoo/odoo-server.log
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 948, in call_button
action = self.call_kw(model, method, args, {})
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 936, in call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/api.py", line 268, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/custom/addons/hr_biometric_machine/biometric_machine.py", line 59, in download_attendance
raise osv.except_osv(
('Warning !'),
("Unable to connect, please check the parameters and network connections."))
except_orm: (u'Warning !', u'Unable to connect, please check the parameters and network connections.')
2017-10-11 02:53:19,546 1673 INFO biometrx werkzeug: 127.0.0.1 - - [11/Oct/2017 02:53:19] "POST /web/dataset/call_button HTTP/1.1" 200 -
^L2017-10-11 02:53:39,848 1673 ERROR biometrx openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/opt/odoo/odoo-server/openerp/http.py", line 544, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo-server/openerp/http.py", line 581, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo-server/openerp/http.py", line 317, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/http.py", line 314, in checked_call
return self.endpoint(*a, **kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 810, in call
return self.method(*args, **kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 410, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 948, in call_button
action = self.call_kw(model, method, args, {})
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 936, in call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/api.py", line 268, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/custom/addons/hr_biometric_machine/biometric_machine.py", line 59, in download_attendance
raise osv.except_osv(
('Warning !'),
("Unable to connect, please check the parameters and network connections."))
except_orm: (u'Warning !', u'Unable to connect, please check the parameters and network connections.')

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