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

ImportError: No module named zklib #10

Open
bigdawgbz opened this issue Jun 8, 2016 · 3 comments
Open

ImportError: No module named zklib #10

bigdawgbz opened this issue Jun 8, 2016 · 3 comments

Comments

@bigdawgbz
Copy link

Followed your instructions to install zklib.

But an error occurs when trying to update modules list so as to install the hr_biometric_machine module.

Odoo Server Error
Traceback (most recent call last):
File "/odoo/odoo-server/openerp/http.py", line 540, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/odoo/odoo-server/openerp/http.py", line 577, in dispatch
result = self._call_function(*_self.params)
File "/odoo/odoo-server/openerp/http.py", line 313, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/odoo/odoo-server/openerp/service/model.py", line 118, in wrapper
return f(dbname, _args, *_kwargs)
File "/odoo/odoo-server/openerp/http.py", line 310, in checked_call
return self.endpoint(_a, *_kw)
File "/odoo/odoo-server/openerp/http.py", line 806, in call
return self.method(_args, *_kw)
File "/odoo/odoo-server/openerp/http.py", line 406, 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 "/odoo/odoo-server/openerp/api.py", line 268, in wrapper
return old_api(self, _args, *_kwargs)
File "/odoo/odoo-server/openerp/api.py", line 439, in old_api
result = new_api(recs, _args, *_kwargs)
File "/odoo/odoo-server/openerp/api.py", line 443, in new_api
result = [method(rec, _args, *_kwargs) for rec in self]
File "/odoo/odoo-server/openerp/addons/base/module/wizard/base_module_update.py", line 15, in update_module
self.updated, self.added = self.env['ir.module.module'].update_list()
File "/odoo/odoo-server/openerp/api.py", line 266, in wrapper
return new_api(self, _args, *_kwargs)
File "/odoo/odoo-server/openerp/api.py", line 508, in new_api
result = method(self._model, cr, uid, _args, *_old_kwargs)
File "/odoo/odoo-server/openerp/addons/base/module/module.py", line 651, in update_list
handler.load_addons()
File "/odoo/odoo-server/openerp/http.py", line 1313, in load_addons
m = import('openerp.addons.' + module)
File "/odoo/odoo-server/openerp/modules/module.py", line 80, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/opt/odoo/odoo-server/addons/hr_biometric_machine/init.py", line 1, in
import biometric_machine
File "/opt/odoo/odoo-server/addons/hr_biometric_machine/biometric_machine.py", line 3, in
from zklib import zklib
ImportError: No module named zklib

@GauravSahu
Copy link
Owner

GauravSahu commented Jun 9, 2016

hi
please install zklib first in your server
sudo easy_install zklib

if you need some help
contact me on
email - [email protected]
whatsapp - +919873617377

@mohamedkotkat
Copy link

i try your solution not work

@mohamedkotkat
Copy link

mohamedkotkat commented Jan 8, 2020

hi
please install zklib first in your server
sudo easy_install zklib

if you need some help
contact me on
email - [email protected]
whatsapp - +919873617377

not work same error

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

3 participants