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

Python: "Failed to detect supported framework" #105

Open
drscotthawley opened this issue Feb 12, 2020 · 3 comments
Open

Python: "Failed to detect supported framework" #105

drscotthawley opened this issue Feb 12, 2020 · 3 comments

Comments

@drscotthawley
Copy link

"Starter is an open-source command line tool to generate a Dockerfile and a service.yml file from arbitrary source code."

Sounds great! This is just what I was looking for when I found your app!

I have a Python project that already has a requirements.txt file, a setup.py and setup.cfg files. Environment is in Anaconda, on Ubuntu 18.04.

Installed via

$ sudo cp linux_amd64_1.4.3 /usr/local/bin/starter
$ sudo chmod a+x /usr/local/bin/starter

Running inside my project directory yields...

$ cd [my project]
$ starter -g dockerfile,service,docker-compose
 Starter (c) 2019 Cloud66 Inc.
 Checking templates in /home/shawley/.starter
 ----> Downloading from https://raw.githubusercontent.com/cloud66/starter/master/templates/templates.json
 No local templates found. Downloading now.
 ----> Downloading from https://raw.githubusercontent.com/cloud66/starter/master/templates/templates.json
 ----> Downloading from https://raw.githubusercontent.com/cloud66/starter/master/templates/node.dockerfile.template
 ----> Downloading from https://raw.githubusercontent.com/cloud66/starter/master/templates/python.dockerfile.template
 ----> Downloading from https://raw.githubusercontent.com/cloud66/starter/master/templates/ruby.dockerfile.template
 ----> Downloading from https://raw.githubusercontent.com/cloud66/starter/master/templates/php.dockerfile.template
 ----> Downloading from https://raw.githubusercontent.com/cloud66/starter/master/templates/service.yml.template
 ----> Downloading from https://raw.githubusercontent.com/cloud66/starter/master/templates/docker-compose.yml.template
 Local templates are up to date
 Detecting framework for the project at /home/shawley/panotti
 Failed to detect supported framework

...and that's all it says. What now? (What was it hoping to detect, and why did it fail?)

If you want to see the project, check here: https://github.com/drscotthawley/panotti

@khash
Copy link
Member

khash commented May 17, 2020

Thank you for reporting this and sorry for the late response. We're working on improving Python support.

@Gamblez
Copy link

Gamblez commented Sep 29, 2020

After similar installation experience I'm experiencing the same issue.

Is there any update regarding the Py framework detection?

@khash
Copy link
Member

khash commented Dec 14, 2020

Thank you for following up. We don't have an exact timeline for Python support but any PR is welcome!

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

No branches or pull requests

3 participants