Skip to content

Python: "Failed to detect supported framework"  #105

@drscotthawley

Description

@drscotthawley

"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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions