A few questions about debugging ODOO8.0 on Ubuntu

Source: Internet
Author: User

The previous article, "About debugging ODOO8.0 on Windows," tells the question and condition of debug 8.0 on Windows,

80% of small partners installed on Windows 8.0 will not smooth, and do not say other reasons, if you have to debug or research,

It is recommended to install win2012 or later in the virtual machine.

The above reasons are based on two points:

1. The virtual machine used for debugging and research is technically mature and perfect, and it has a snapshot and other functions to accompany you during the initial stage of your growth.

2. There is no problem with any version of Odoo running in windows2012 and above, of course I think you will not upgrade Windows directly to this version.


The following is a few questions before the Ubuntu debugging, just install and deploy 8.0 on-line to do a bunch of, not redundant.

1. after the new OpenERP user, some small partners asked to set the password?

Because this user is not logged in account, can not be set.

2. after new OPENERP users, install PG database software with OpenERP account?

No, the original login account is still installed PostgreSQL.

3. What is the difference between installing 8.0 online and downloading the installation package?

I understand that the online installation is sudo apt-get install, while the download installation package is wget http://nightly.odoo.com/8.0/nightly/src/odoo_8.0-latest.tar.gz;

The recommendation is to download the installation package, the first version can be controlled, such as I want to download the November 11 Singles Day version (why download this version?). ), you can define the correct URL.

The second reason is that after deployment, documents and catalogs are clear and easy to control and manage.

And the way of online installation, I tried 7.0 version, is OK, but a bunch of files are automatically installed, do not know who is where, need to file the time to find.

4.pycharm before commissioning, how do I start 8.0?

Here are two questions, let's start with 8.0:

1) first to find it openerp-server,sudo find/-name 'openerp-server', the file path shown is copied down;

Then paste the copy of the path, then enter, until you see the 8069 port boot, such as the prompt (Openerp.service.server:HTTP service (WERKZEUG) running on 0.0.0.0:8069).

2) then open Firefox (why do you want to open Firefox?) Because I only see Firefox), log in to localhost:8069, and then you may see 404 or 500, right.

Here to see if PG has started, to see if there is a listen port 5432? It's OK to have listen.

3) Why also reported 400?

Before you see the running on 0.0.0.0:8069 prompt, have you seen the database user: Prompt? Is that openerp back there?

Not OpenERP, is the login account. Oh, that means boot 8.0 did not find the configuration file.

Configuration file you know,openerp-server.conf you might build it under the/etc/directory;

What I want to say is that it should be placed under the home of your login account, such as/home/you login account/, then the file name is . OPENERP_SERVERRC(Note that this is a hidden file, you can ls-a to see if it exists).

Why do you want to do this? Then say.

The next thing about debugging:

4) when Pycharm debugging, will run or debugopenerp-server, do not need to start the openerp-server separately. So the problem is that before debugging, you don't need to start 8.0 alone.

Then set the _parse_config method in the config.py file in the Tools directory, and you'll find out why you should do this if you have a few breakpoints on if os.name== ' NT '.

OK, don't look for the wrong file, it's config.py.


5) back to the start thing, not 400? Restart 8.0, this time database user: The back is openerp. If not, go back to 4) and look carefully.

If it is openerp, then 8.0 is OK, if also reported 500? That's the problem with your openerp-server.conf content.

Good luck!


A few questions about debugging ODOO8.0 on Ubuntu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.