Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odoo 6.0 upgrade_openerp issue #41

Open
petrus-v opened this issue May 15, 2015 · 0 comments
Open

Odoo 6.0 upgrade_openerp issue #41

petrus-v opened this issue May 15, 2015 · 0 comments

Comments

@petrus-v
Copy link

I get the following message when I use the generated upgrade_openerp script using openerp 6.0 with this following config:

[buildout]
parts = openerp
versions = versions
find-links = http://download.gna.org/pychart/


[openerp]
recipe = anybox.recipe.openerp[bzr]:server
version = git https://github.com/Odoo/odoo.git odoo 6.0
...

Error:

/home/pverkest/.buildout/eggs/anybox.recipe.openerp-1.9.1-py2.7.egg/anybox/recipe/openerp/runtime/session.py:13: RuntimeWarning: This must be imported with a buildout openerp recipe driven sys.path
  "driven sys.path", RuntimeWarning)
Traceback (most recent call last):
  File "bin/upgrade_openerp", line 40, in <module>
    session = Session('/home/pverkest/openerp/client/odoo_client_buildout/etc/openerp.cfg', '/home/pverkest/openerp/client/odoo_client_buildout')
  File "/home/pverkest/.buildout/eggs/anybox.recipe.openerp-1.9.1-py2.7.egg/anybox/recipe/openerp/runtime/session.py", line 124, in __init__
    config.parse_config(['-c', conffile])
NameError: global name 'config' is not defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant