Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 499238 - app-office/openerp - add instant messaging support
Summary: app-office/openerp - add instant messaging support
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Yixun Lan
Depends on:
Reported: 2014-01-25 15:45 UTC by A. Person
Modified: 2018-11-07 12:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

patch to install /usr/bin/openerp-gevent (openerp-gevent.patch,543 bytes, patch)
2014-01-27 16:37 UTC, A. Person
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description A. Person 2014-01-25 15:45:02 UTC
OpenERP 8 has an instant messaging feature and there is some guidance on setting it up here:

dev-python/gevent and dev-python/psycopg are in portage and here is an ebuild for dev-python/gevent-psycopg2 which should cover the dependencies:

I haven't gotten instant messaging to work yet though.  I'll post here again when I do.  It will require a tweak to /etc/init.d/openerp.

Reproducible: Always
Comment 1 A. Person 2014-01-27 16:36:14 UTC
I got it working and it's very cool.  There is another dependency: needs to be patched and /etc/init.d/openerp needs to change the /usr/bin/openerp-server reference to /usr/bin/openerp-gevent.  Would a "gevent" USE flag be appropriate for this?  After these changes, the openerp server listens on port 6072 instead of 6069.

Someone in the above-referenced thread mentioned:

"Gevent is based on eventlet. Evenlet use the coroutine not thread. So you open only one thread for all the connection, and the block loop, block all the coroutine, it 's dangerous."

I can't follow that.  Does anyone understand what he means?
Comment 2 A. Person 2014-01-27 16:37:06 UTC
Created attachment 368894 [details, diff]
patch to install /usr/bin/openerp-gevent