shea256/angular-flask

Could not find tag or branch - bug in requirements.txt

Closed this issue · 2 comments

I tried execute pip install -r req... using a virtualenv. Error:
(venv)angular-flask:incdev alesouza$ pip install -r requirements.txt
Requirement already satisfied (use --upgrade to upgrade): Flask==0.10.1 in /home/alesouza/Workspace/Python/Flask/venv/lib/python3.3/site-packages (from -r requirements.txt (line 1))
Obtaining Flask-Restless from git+https://github.com/goodscloud/flask-restless@6eabe067e938e59c297df10766403a6b905e302a#egg=Flask_Restless-dev (from -r requirements.txt (line 2))
Cloning https://github.com/goodscloud/flask-restless (to 6eabe067e938e59c297df10766403a6b905e302a) to /home/alesouza/Workspace/Python/Flask/venv/src/flask-restless
Could not find a tag or branch '6eabe067e938e59c297df10766403a6b905e302a', assuming commit.
fatal: reference is not a tree: 6eabe067e938e59c297df10766403a6b905e302a
Complete output from command /usr/bin/git checkout -q 6eabe067e938e59c297df10766403a6b905e302a:


Cleaning up...
Command /usr/bin/git checkout -q 6eabe067e938e59c297df10766403a6b905e302a failed with error code 128 in /home/alesouza/Workspace/Python/Flask/venv/src/flask-restless
Storing debug log for failure in /home/alesouza/.pip/pip.log

My pip.log :
(venv)angular-flask:incdev alesouza$ pip install -r requirements.txt
Requirement already satisfied (use --upgrade to upgrade): Flask==0.10.1 in /home/alesouza/Workspace/Python/Flask/venv/lib/python3.3/site-packages (from -r requirements.txt (line 1))
Obtaining Flask-Restless from git+https://github.com/goodscloud/flask-restless@6eabe067e938e59c297df10766403a6b905e302a#egg=Flask_Restless-dev (from -r requirements.txt (line 2))
Cloning https://github.com/goodscloud/flask-restless (to 6eabe067e938e59c297df10766403a6b905e302a) to /home/alesouza/Workspace/Python/Flask/venv/src/flask-restless
Could not find a tag or branch '6eabe067e938e59c297df10766403a6b905e302a', assuming commit.
fatal: reference is not a tree: 6eabe067e938e59c297df10766403a6b905e302a
Complete output from command /usr/bin/git checkout -q 6eabe067e938e59c297df10766403a6b905e302a:


Cleaning up...
Command /usr/bin/git checkout -q 6eabe067e938e59c297df10766403a6b905e302a failed with error code 128 in /home/alesouza/Workspace/Python/Flask/venv/src/flask-restless
Storing debug log for failure in /home/alesouza/.pip/pip.log

[ ]'s

EDIT: even better, use:
Flask-Restless==0.12.1
as explained here

Apparently, the tag has changed. Try this: https://github.com/goodscloud/flask-restless@0b568e6ad500ebb3bbeb809e10a2732707e5a772#egg=Flask_Restless-dev

That tag corresponds to the 0.4 release.

Hey I just addressed this in #7. Thanks for this.