Closed max3903 closed 7 years ago
Can you try DAEMON="/opt/odoo/env/bin/openerp-server-autodiscover"
which is the alter-ego of the standard openerp-server
? This should work.
This issue comes up from time to time indeed.odoo-autodiscover.py
should look for odoo.py
in its own directory first before looking in the PATH.
The reason I've never fixed this properly is that we normally use odoo-autodiscover.py
during development only, in a properly activated virtualenv (where odoo.py
is therefore in the PATH`). And the alternative above works fine.
@sbidoul Thanks! It worked.
Hello,
I setup a virtual environment to install odoo-autodiscover and Odoo 9.
When I try to use the odoo-autodiscover.py in my init script to start Odoo 9.0, I get this error message:
Here is my init script:
Work around
I changed the odoo-autodiscover.py to have: