Odoo Help

3 Answers
Christian Twinckle
5/8/13, 11:33 AM

Firstly, install gevent package, after that in terminal:

tch@tch-desktop:~/workspace/rdtools/server/trunk$ ./openerp-server --addons-path ../../addons/trunk/,../../web/trunk/addons/ --gevent -write=2

Then reload your localhost:8069 , and click on top (Display Instant Messaging) icon, It will work.

5/9/13, 4:34 AM

Thanks for the Response. Please read my comments on the Question. I am getting mentioned Traceback that File "/home/openerp/workspace/rdtools/server/trunk/openerp/cli/server.py", line 232, in main import gevent_psycopg2 ImportError: No module named gevent_psycopg2. Hope you can help me on that.

Christian Twinckle
5/9/13, 6:28 AM

ya sure , but for that you have to install psycopg2 package.

Christian Twinckle
5/9/13, 6:32 AM

then install Instant Messaging module.

5/9/13, 7:24 AM

Now i am getting the following trace back written in the answer. Could not posted everything in the comment due to its limited size. Sorry for inconvenience.Hoping the quick response. Thanks :)

Ghanshyam Prajapati
5/9/13, 8:35 AM

Hi Twinkle Christian, can you send me gevent package or download link?,

Christian Twinckle
5/9/13, 9:37 AM

install gevent_psconfig2 using this command pip install gevent-psycopg2 or download source https://github.com/zacharyvoase/gevent-psycopg2

5/9/13, 11:16 AM

Any update for me ?

Andreas Maertens
5/24/13, 12:24 PM

+1 me also

Michael Karrer
8/26/13, 2:22 PM

It did work for me BUT it also changed the listening port to 8072 ignoring my settings in openerp-server.conf why is that ?!? and what is -write=2 for an startup option?!?

Ossman Khalil
11/13/13, 7:24 AM

I'm using OpenErp 7 where i get Instant Messaging module? & how to configer this in localhost

5/9/13, 7:21 AM

./openerp-server --addons-path ../../addons/trunk/,../../web/trunk/addons/ --gevent -write=2 2013-05-09 09:16:34,728 INFO Using gevent mode gevent.monkey's warning: 'threading' is already imported

2013-05-09 09:16:34,740 17043 INFO ? openerp: OpenERP version 8.0alpha1 2013-05-09 09:16:34,740 17043 INFO ? openerp: addons paths: /home/openerp/workspace/rdtools/addons/trunk,/home/openerp/workspace/rdtools/web/trunk/addons 2013-05-09 09:16:34,740 17043 INFO ? openerp: database hostname: localhost 2013-05-09 09:16:34,741 17043 INFO ? openerp: database port: 5432 2013-05-09 09:16:34,741 17043 INFO ? openerp: database user: openerp 2013-05-09 09:16:35,382 17043 INFO ? openerp.addons.google_docs.google_docs: GData lib version %s GData-Python/2.0.2 detected 2013-05-09 09:16:35,645 17043 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 2013-05-09 09:16:35,646 17043 INFO ? openerp: OpenERP server is running, waiting for connections... Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 505, in run self.__target(self.__args, *self.__kwargs) File "/home/openerp/workspace/rdtools/server/trunk/openerp/service/wsgi_server.py", line 441, in serve httpd.serve_forever() File "/usr/lib/pymodules/python2.7/gevent/baseserver.py", line 182, in serve_forever Greenlet.spawn(self.stop, timeout=stop_timeout).join() File "/usr/lib/pymodules/python2.7/gevent/greenlet.py", line 258, in spawn g = cls(args, *kwargs) File "/usr/lib/pymodules/python2.7/gevent/greenlet.py", line 146, in __init__ greenlet.__init__(self, parent=get_hub()) File "/usr/lib/pymodules/python2.7/gevent/hub.py", line 133, in get_hub raise NotImplementedError('gevent is only usable from a single thread') NotImplementedError: gevent is only usable from a single thread

febru wasono
9/2/13, 3:40 PM

go to openerp/tools/config.py

then set default value of gevent=True

see complete tutorial on febru dot soluvas dot com

1 Comment
Komala Kiran Kumar. Parepalli
1/2/14, 2:57 AM

Hi Febru, Can you post the url at which the tutorial can be accessed? I verified for it but i am unable to find, So please help me.

Ask a Question
Keep Informed
4 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now