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

Can't install a blueprint #428

Open
fdaudens opened this issue Jun 6, 2016 · 2 comments
Open

Can't install a blueprint #428

fdaudens opened this issue Jun 6, 2016 · 2 comments
Labels

Comments

@fdaudens
Copy link

fdaudens commented Jun 6, 2016

Hi,

I'm trying to install the AJAM blueprint. However, it seems impossible. Here is what I got:

$ tarbell install-blueprint https://github.com/ajam/tarbell-big-read-template.git

Installing https://github.com/ajam/tarbell-big-read-template.git

- Cloning repo
Cloning into '.'...


Switched to a new branch '1.0'
Branch 1.0 set up to track remote branch 1.0 from origin.


Requirements file found at /var/folders/6n/5bt3d0vx5m55j65yttzb9sjc0000gn/T/tmp7K_uvS/requirements.txt
Install requirements now with pip install -r requirements.txt? [Y/n] n
Not installing requirements. This may break everything! Vaya con dios.

Error: No blueprint.py found

There's also an error message if I say yes:

Installing requirements...

Error: No blueprint.py found

Do you have any idea?

Thank you!

@eyeseast
Copy link
Contributor

eyeseast commented Jun 6, 2016

I get the same error.

Here's what's happening: Tarbell clones the blueprint into a temp directory, then asks whether to install requirements.txt. You say no, and then it tries to load blueprint.py. In this case, blueprint.py tries to import other packages, which throws an import error and prints No blueprint.py found, even though there definitely is a blueprint.

I get different errors if I do try to install requirements.

I tried installing requirements for that blueprint, but I get a permissions error if I don't sudo, because it's trying to install globally. When I tried from inside a virtualenv, I get:

Error: 
- No name specified in blueprint.py, using 'tarbell-big-read-template.git'

So I'm not sure what's happening there.

@fdaudens
Copy link
Author

fdaudens commented Jun 6, 2016

Hey, sorry, I deleted my previous comment, was not sure if it was in the right thread.

Thank you for your answer. I installed the requirements, then said no to requirements.txt when installing the blueprint, and it worked.

However, when I created a new project with this blueprint, I got the same message again.


5 files changed, 105 insertions(+)
 create mode 100644 .gitignore
 create mode 100644 .gitmodules
 create mode 160000 _blueprint
 create mode 100755 index.html
 create mode 100644 tarbell_config.py


Requirements file found at /Users/flo/tarbell/haiti/_blueprint/requirements.txt
Install requirements now with pip install -r requirements.txt? [Y/n] n
Not installing requirements. This may break everything! Vaya con dios.

Copying files from blueprint

Strange...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants