This question has been flagged
1 Reply
4431 Views

Hi,
when i run 
wget -O- https://raw.githubusercontent.com/odoo/odoo/master/odoo.py | python
it will finish with an error.

I am running this on my raspberry pi.

This is the error i get:

...

 * [new tag]         7.0-addons -> 7.0-addons
 * [new tag]         7.0-server -> 7.0-server
 * [new tag]         7.0-web    -> 7.0-web
 * [new tag]         8.0.0      -> 8.0.0
Fetching odoo-dev
From https://github.com/odoo-dev/odoo
 * branch            HEAD       -> FETCH_HEAD
odoo:running git config branch.master.remote odoo
odoo:running git config branch.master.merge refs/heads/master
odoo:running git checkout master
error: pathspec 'master' did not match any file(s) known to git.
Traceback (most recent call last):
  File "<stdin>", line 162, in <module>
  File "<stdin>", line 154, in main
  File "<stdin>", line 144, in cmd_setup
  File "<stdin>", line 95, in cmd_setup_git
  File "<stdin>", line 39, in run
  File "/usr/lib/python2.7/subprocess.py", line 511, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '('git', 'checkout', 'master')' returned non-zero exit status 1

 

Any ideas on how to fix this?

Florian

 

Avatar
Discard
Best Answer

This is an open issue on odoo's github.  Check out: https://github.com/odoo/odoo/issues/284

I just did a "git checkout -b 8.0" for my purposes, but your mileage may vary.

Avatar
Discard