Odoo Help

Welcome!

This community 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.

1

PyCharm debugger extremely slow on Ubuntu 14.04

By
NT007
on 2/18/15, 12:18 AM 3,994 views

I'm using PyCharm 4 for Odoo development on Ubuntu 14.04. When just running the application, everything seems to work fine and as expected. But when I try to debug, it turns out to be extremely slow... So slow that even after about 10 minutes the page won't load for Odoo. On Firebug it shows that the ajax requests are still pending. Is it just me or has anyone else experieced this same behaviour? Is there anything I should do to improve the speed?

This might be really stupid and obvious but are you sure the debugger is not stuck at a breakpoint in your code, waiting for you to proceed?

Ludo - Neobis
on 2/18/15, 3:46 AM

Not at all, my problem is the programme won't even load the start up page let alone reach a breakpoint...

NT007
on 3/5/15, 1:57 AM

Is there anything in the Odoo logfiles that refers to any problems? Does your Odoo fully start without the debugger and does it start in a minute or so or does it take a long time too?

Yenthe
on 3/5/15, 2:09 AM

I can run Odoo without any problem through PyCharm, it works perfectly. The moment I try to run in debug mode it just stays there... All the ajax requests show as pending in Chrome or firefox console... The only difference in debug mode and normal run mode is the port... But I can't seem to find where to change the port of the debug mode...

NT007
on 3/5/15, 2:17 AM

I am facing the same issue. I can run Odoo without any problem through PyCharm, it works perfectly. The moment I try to run in debug mode it just stays there... Did you get any clue?

OdooTec, Hesham ELMAHDY
on 11/12/15, 11:17 AM
2
Ron Arts
On 3/29/15, 1:11 PM

Try commenting out the following lines at the top of openerp/__init__.py. You may have gevent installed:

if sys.modules.get("gevent") is not None:
evented = True

And then restart the debugger.



0
Alby Antony
On 3/5/15, 3:32 AM

you can use pycharm as an editor and for debugging try to run application from terminal.. it worked for me
 

0

deep

--deep--
1617
| 5 4 7
Bengaluru, India
--deep--

Techno-Functional Associate with 6+ years of experience in Odoo (formerly known as OpenERP).

deep
On 3/5/15, 5:01 AM

Actually to be honest, I find Odoo 8 is lot more slower than Dev 8 version... It takes quite a few seconds to load this and that, same happens if we ran in debug.... Tried Workers option also with no luck....

So Typically Odoo 8 is compartively slower than its preceeding version... hope they might fix in forecoming days...

 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 2/18/15, 12:18 AM
Seen: 3994 times
Last updated: 11/12/15, 11:17 AM