Giter Club home page Giter Club logo

Comments (6)

rcarmo avatar rcarmo commented on May 28, 2024

from piku.

rcarmo avatar rcarmo commented on May 28, 2024

Well, I just tested it (see #20). I pushed the original Procfile first, then tested for #20, and both worked on a clean install on a Pi. No idea what might be wrong at your end.

from piku.

dwightmulcahy avatar dwightmulcahy commented on May 28, 2024

So I just tested this while creating a test for APScheduler and had this same thing occur. I have a feeling that it maybe is extra spaces or newlines that causes this error message. I'll try to recreate it and so that I can add the steps involved to get this error to occur.

from piku.

rcarmo avatar rcarmo commented on May 28, 2024

It might be newlines in git if you're using Windows (I don't use Windows for development work myself). Check the CRLF settings.

from piku.

dwightmulcahy avatar dwightmulcahy commented on May 28, 2024

Using MacOS and PyCharm. Typically will edit the Procfile with nano. I'm going to save off the next Procfile that causes this issue and debug it to see where it is causing the failure.

This section seems to be the area that I'll be looking at in the do_deploy function:

        workers = parse_procfile(procfile)
        if workers and len(workers):
           ...
        else:
            echo("Error: Invalid Procfile for app '{}'.".format(app), fg='red')

I'm playing with a couple of different things so I should have an opportunity to see this again.

from piku.

dwightmulcahy avatar dwightmulcahy commented on May 28, 2024

So I haven't been able to reproduce this since it happened a couple of times to me.

Closing this issue for now and if it occurs again I'll reproduce before opening this again.

from piku.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.