Code Monkey home page Code Monkey logo

odoo-helper-scripts's People

Contributors

katyukha avatar

Stargazers

 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  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  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

odoo-helper-scripts's Issues

db create will always load demo data

python_cmd="$python_cmd cl.db.create_database(cl._server.tools.config['admin_passwd'], '$db_name', '$demo_data', '$db_lang');"

This has quotes around $demo_data, while $demo_data defaults to False, but due to quotes, makes it a non-empty string meaning True, therefore db create will always have demo data in it.

odoo-helper start prints stderr to console

This problem happens with:
odoo-helper start
or odoo-helper addons update -d $database $module_name

This problem still happens even with unbuffer installed (from expect + tclsh package)

This problem happens on Debian Stretch.

When run, odoo-helper start will continue printing out messages such as

192.168.122.2 - - [2017-08-29 11:40:19] "POST /longpolling/poll HTTP/1.0" 200 330 51.760627
192.168.122.2 - - [2017-08-29 11:40:26] "POST /longpolling/poll HTTP/1.0" 200 305 50.867880
192.168.122.2 - - [2017-08-29 11:40:30] "POST /longpolling/poll HTTP/1.0" 200 329 50.049836
192.168.122.2 - - [2017-08-29 11:40:31] "POST /longpolling/poll HTTP/1.0" 200 304 50.145807 

Other messages go to syslog/logfile just fine.

This breaks CI/CD because runner stops and does not return.

There might be dependencies problem in settings

steps to reproduce:
odoo-install -i . --db-user odoo13 --conf-opt-http_port 8999 --odoo-version 13.0 --odoo-branch 13.0
ERROR: Cannot install -r /tmp/tmp.1LIf1OFTuu (line 7) and greenlet==0.4.10 because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested greenlet==0.4.10
gevent 1.3.4 depends on greenlet>=0.4.13; platform_python_implementation == "CPython"

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
ERROR: Cannot install python dependencies.

cannot manage self installed odoo

Describe the bug
When I have not created odoo installtion with this script, I cannot manage that installation.

To Reproduce
I always get this message for every script:
WARNING: no project config file found!
ERROR: Not inside odoo-helper project!

Expected behavior
The documentation should state that this is not possible, or describe the steps to be able to manage custom installation.

Additional context
E.g. manage existing self installed odoo.

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.