Giter Site home page Giter Site logo

buildout-odoo's Introduction

Camptocamp base buildout

Common buildout for our projects.

This file can only be used as a part of a broader, internal setup.

buildout-odoo's People

Contributors

damdam-s avatar guewen avatar gurneyalex avatar leemannd avatar lepistone avatar mdietrichc2c avatar nbessi avatar vrenaville avatar yvaucher avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

buildout-odoo's Issues

Implement Travis

We should add a Travis configuration that build an odoo server based on this default configuration.

  • check if the buildout config builds
  • check if the server starts and the tests pass
  • check if the supervisord services can run

Broken scenario with odoo 7.0

OERpscenario with erppeek 1.6.1 fails when launching them on an odoo 7.0

Traceback (most recent call last):
  File "bin/behave", line 58, in <module>
    sys.exit(behave.__main__.main())
  File ".../eggs/behave-1.2.4-py2.7.egg/behave/__main__.py", line 111, in main
    failed = runner.run()
  File ".../eggs/behave-1.2.4-py2.7.egg/behave/runner.py", line 659, in run
    return self.run_with_paths()
  File ".../eggs/behave-1.2.4-py2.7.egg/behave/runner.py", line 680, in run_with_paths
    return self.run_model()
  File ".../eggs/behave-1.2.4-py2.7.egg/behave/runner.py", line 469, in run_model
    self.run_hook('before_all', context)
  File ".../eggs/behave-1.2.4-py2.7.egg/behave/runner.py", line 403, in run_hook
    self.hooks[name](context, *args)
  File ".../Scenario/OERPScenario/features/environment.py", line 16, in before_all
    server = erppeek.start_openerp_services(OPENERP_ARGS)
AttributeError: 'module' object has no attribute 'start_openerp_services'

Changing back to erppeek 1.5.3 should work

openerp_auto_run repository missing.. pls update.

Getting distribution for 'mr.developer'.
Got mr.developer 1.34.
Getting distribution for 'zc.buildout==2.3.1'.
Got zc.buildout 2.3.1.
mr.developer: Creating missing sources dir /home/sodexis/instances/openerp-oca-runbot/src.
mr.developer: Queued 'openerp_auto_run' for checkout.
mr.developer: Queued 'scenarios' for checkout.
mr.developer: Queued 'templates' for checkout.
mr.developer: Cloned 'openerp_auto_run' with git.
mr.developer: git cloning of 'openerp_auto_run' failed.
mr.developer: ERROR: Repository not found.
mr.developer: fatal: Could not read from remote repository.
mr.developer:
mr.developer: Please make sure you have the correct access rights
mr.developer: and the repository exists.
mr.developer:
mr.developer: Cloned 'templates' with git.
mr.developer: git cloning of 'templates' failed.
mr.developer: ERROR: Repository not found.
mr.developer: fatal: Could not read from remote repository.
mr.developer:
mr.developer: Please make sure you have the correct access rights
mr.developer: and the repository exists.
mr.developer:
mr.developer: Cloned 'scenarios' with git.
mr.developer: There have been errors, see messages above.

Behave 1.2.1 broke with scenario

└─> ./bin/oerpscenario -t @upgrade_1_0
Traceback (most recent call last):
  File "./bin/behave", line 54, in <module>
    sys.exit(behave.__main__.main())
  File "/home/vrenaville/.buildout/eggs/behave-1.2.2-py2.7.egg/behave/__main__.py", line 95, in main
    failed = runner.run()
  File "/home/vrenaville/.buildout/eggs/behave-1.2.2-py2.7.egg/behave/runner.py", line 435, in run
    return self.run_with_paths()
  File "/home/vrenaville/.buildout/eggs/behave-1.2.2-py2.7.egg/behave/runner.py", line 438, in run_with_paths
    self.load_hooks()
  File "/home/vrenaville/.buildout/eggs/behave-1.2.2-py2.7.egg/behave/runner.py", line 386, in load_hooks
    exec_file(hooks_path, self.hooks)
  File "/home/vrenaville/.buildout/eggs/behave-1.2.2-py2.7.egg/behave/runner.py", line 274, in exec_file
    execfile(filename, globals, locals)
  File "/home/vrenaville/opt/openerp_XXXXX_openerp/Scenario/OERPScenario/features/environment.py", line 7, in <module>
    from support import tools, behave_better
  File "/home/vrenaville/opt/openerp_XXXXX_openerp/Scenario/OERPScenario/features/support/behave_better.py", line 13, in <module>
    from behave.model_describe import escape_cell, escape_triple_quotes, indent
ImportError: No module named model_describe

Issue with behave 1.2.4 and Scenario tag 0.5

┌─[vrenaville@wrk13~/opt/camptocamp_openerp]
└─> ./bin/oerpscenario -t c2c_upgrade_1_1_2
Traceback (most recent call last):
File "./bin/behave", line 47, in
sys.exit(behave.main.main())
File "/home/vrenaville/.buildout/eggs/behave-1.2.4-py2.7.egg/behave/main.py", line 111, in main
failed = runner.run()
File "/home/vrenaville/.buildout/eggs/behave-1.2.4-py2.7.egg/behave/runner.py", line 659, in run
return self.run_with_paths()
File "/home/vrenaville/.buildout/eggs/behave-1.2.4-py2.7.egg/behave/runner.py", line 664, in run_with_paths
self.load_hooks()
File "/home/vrenaville/.buildout/eggs/behave-1.2.4-py2.7.egg/behave/runner.py", line 623, in load_hooks
exec_file(hooks_path, self.hooks)
File "/home/vrenaville/.buildout/eggs/behave-1.2.4-py2.7.egg/behave/runner.py", line 306, in exec_file
execfile(filename, globals, locals)
File "/home/vrenaville/opt/camptocamp_openerp/Scenario/OERPScenario/features/environment.py", line 3, in
from support import tools, behave_better
File "/home/vrenaville/opt/camptocamp_openerp/Scenario/OERPScenario/features/support/behave_better.py", line 48, in
class PrettyFormatter(formatter.pretty.PrettyFormatter):
AttributeError: 'module' object has no attribute 'pretty'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.