Community: Framework mailing list archives

expert-framework@mail.odoo.com

TR: openerp-gevent + pyinotify

by
Temur
- 07/29/2015 03:47:52
hello all,

I can't start openerp-gevent instance:

./openerp-gevent
2015-07-29 07:43:11,717 8225 INFO ? openerp: OpenERP version 8.0
2015-07-29 07:43:11,717 8225 INFO ? openerp: addons paths: 
['/home/odoo/.local/share/Odoo/addons/8.0', u'/opt/odoo/openerp/addons', 
u'/opt/odoo/addons']
2015-07-29 07:43:11,718 8225 INFO ? openerp: database hostname: localhost
2015-07-29 07:43:11,718 8225 INFO ? openerp: database port: 5432
2015-07-29 07:43:11,718 8225 INFO ? openerp: database user: odoo
Traceback (most recent call last):
   File "./openerp-gevent", line 11, in 
     openerp.cli.main()
   File "/opt/odoo/openerp/cli/__init__.py", line 68, in main
     o.run(args)
   File "/opt/odoo/openerp/cli/server.py", line 180, in run
     main(args)
   File "/opt/odoo/openerp/cli/server.py", line 174, in main
     rc = openerp.service.server.start(preload=preload, stop=stop)
   File "/opt/odoo/openerp/service/server.py", line 959, in start
     autoreload = AutoReload(server)
   File "/opt/odoo/openerp/service/server.py", line 137, in __init__
     self.notifier = pyinotify.Notifier(self.wm, self.handler, timeout=0)
   File "/usr/lib/python2.7/dist-packages/pyinotify.py", line 1152, in 
__init__
     self._pollobj = select.poll()
AttributeError: 'module' object has no attribute 'poll'


Any suggestions?

Thanks,
Temur