Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Odoo 8 Debug Error

Subscribe

Get notified when there's activity on this post

This question has been flagged
11 Replies
13310 Views
Avatar
Zakir Husain

Hi,

     I have Install odoo 8 on my linux System. when i am debuging it it run an stuck on one point. can someone help me out that what could be the problem.

2014-10-01 17:08:37,001 2263 INFO ? openerp: OpenERP version 9.0alpha1
2014-10-01 17:08:37,002 2263 INFO ? openerp: addons paths: ['/home/yusuf/.local/share/Odoo/addons/9.0', u'/home/yusuf/odoo/openerp/addons', u'/home/yusuf/odoo/addons']
2014-10-01 17:08:37,002 2263 INFO ? openerp: database hostname: localhost
2014-10-01 17:08:37,003 2263 INFO ? openerp: database port: 5432
2014-10-01 17:08:37,004 2263 INFO ? openerp: database user: yusuf
2014-10-01 17:08:39,046 2263 INFO ? openerp.service.server: Evented Service (longpolling) running on 0.0.0.0:8072
2014-10-01 17:09:13,712 2263 INFO ? openerp.http: HTTP Configuring static files
2014-10-01 17:09:14,782 2263 INFO HRMS openerp.modules.loading: loading 1 modules...
2014-10-01 17:09:19,339 2263 INFO HRMS openerp.modules.loading: 1 modules loaded in 4.30s, 0 queries
2014-10-01 17:09:19,950 2263 INFO HRMS openerp.modules.loading: loading 29 modules...
2014-10-01 17:09:29,792 2263 INFO HRMS openerp.modules.loading: 29 modules loaded in 9.84s, 0 queries
2014-10-01 17:09:32,231 2263 INFO HRMS openerp.modules.loading: Modules loaded.
2014-10-01 17:09:32,500 2263 INFO HRMS openerp.addons.base.ir.ir_http: Generating routing map
127.0.0.1 - - [2014-10-01 17:09:52] "GET /web HTTP/1.1" 200 25796 54.206552
2014-10-01 17:09:52,810 2263 INFO HRMS openerp.addons.bus.bus: Bus.loop listen imbus on db postgres

 

 

Thanks & Regards,

Yusuf Ali

1
Avatar
Discard
Avatar
Dorin Hongu
Best Answer

In /opernerp/__init__.py are these lines at start.

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

Comment these lines and will work

10
Avatar
Discard
Jose Gpe Osuna

Thanks Dorin, with this change it worked even on PyCharm Community Edition 4.06

hesham.elmahdy@odootec.com

That was the solution for me. But what is the impact?

Yogesh

Thanks man!

Chidozie Kingsley Okonkwo

Thanks. Works fine on my pycharm ide. After updating pycharm, i could not debug python.

Avatar
Hendrik ten Hoor
Best Answer

You do not give any details about the IDE you are using. I had the same problem using Eclipse verrsion 4.2.2 and PyDev version 3.8.0. It would start the Odoo server properly using the command "Run - Configuration". However the server did not start properly using the command "Run - Debug Configuration". Switching back to PyDev version 3.5.1 solved the problem.

Version 3.5.1 is wat you get when you use http://pydev.org/nightly as the update site instead of http://pydev.org/updates

Hope this solves your problem.

Regards,

Hendrik

4
Avatar
Discard
Fnordbedarf

Thanks, mate. I sent a bug-report to pydev

Cinxgler Mariaca

Thanks, pydev 3.5 worked ok for me on ubuntu 14.04 using eclipse 3.7.2

Yogesh

I was using pydev 4.3.0.201508182223 , Dorin Hongu solution worked for me.

Avatar
luan
Best Answer

You only remove gevent module.

apt-get remove python-gevent

1
Avatar
Discard
wizardz

This apt-get remove python-gevent fixed my problem on debug =) thx

Avatar
Mario Arias Badila
Best Answer

I guess your problem is that you have gevent installed and you are starting odoo using openerp-server script...

Odoo will detect this and try running gevent version (that enables the chat extension on Odoo). If you start Odoo using openerp-gevent then you don't need apply changes to base code...

Regards,

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now