Community: Framework mailing list archives

expert-framework@mail.odoo.com

Re: TR: openerp-gevent + pyinotify

by
manuel
- 07/29/2015 10:40:54
What's failing is the autoreload option of Odoo. Do you need this?
Which OS are you on?  It seems your OS does not support poll or it was
compiled without it.

On the other hand, why are you spawning the gevent process yourself?
This process is automatically spawned by the odoo prefork server.

R,
Manuel.

Le 29/07/2015 03:55, Temur Vibliani a écrit :
> 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
> 
> _______________________________________________
> Mailing-List: https://www.odoo.com/groups/community-framework-62
> Post to: mailto:expert-framework@mail.odoo.com
> Unsubscribe: https://www.odoo.com/groups?unsubscribe
>