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
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Yixun Lan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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: ---


Attachments
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:

http://help.openerp.com/question/22521/how-to-activate-chat-im-in-v8-trunk/

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:

https://bugs.gentoo.org/show_bug.cgi?id=499090

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:

https://bugs.gentoo.org/show_bug.cgi?id=499466

setup.py 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 openerp.com 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