MrS0m30n3 / youtube-dl-gui

A cross platform front-end GUI of the popular youtube-dl written in wxPython.
The Unlicense
9.28k stars 1.58k forks source link

heroku deploy error #265

Open nk932714 opened 6 years ago

nk932714 commented 6 years ago

please check the log below

-----> Python app detected

 !     Warning: Your application is missing a Procfile. This file tells Heroku how to run your application.

 !     Learn more: https://devcenter.heroku.com/articles/procfile

-----> Installing python-3.6.4

-----> Installing pip

-----> Installing requirements with pip

       Obtaining file:///tmp/build_fae7a90e4e89eb3aead1da9da87ff33d/nk932714-youtube-dl-gui-57eb51c (from -r /tmp/build_fae7a90e4e89eb3aead1da9da87ff33d/nk932714-youtube-dl-gui-57eb51c/requirements.txt (line 1))

           Complete output from command python setup.py egg_info:

           Traceback (most recent call last):

             File "<string>", line 1, in <module>

             File "/tmp/build_fae7a90e4e89eb3aead1da9da87ff33d/nk932714-youtube-dl-gui-57eb51c/setup.py", line 73, in <module>

               from youtube_dl_gui import (

             File "/tmp/build_fae7a90e4e89eb3aead1da9da87ff33d/nk932714-youtube-dl-gui-57eb51c/youtube_dl_gui/__init__.py", line 26

               print error

                         ^

           SyntaxError: Missing parentheses in call to 'print'. Did you mean print(int error)?

           ----------------------------------------

       Command "python setup.py egg_info" failed with error code 1 in /tmp/build_fae7a90e4e89eb3aead1da9da87ff33d/nk932714-youtube-dl-gui-57eb51c/

 !     Push rejected, failed to compile Python app.

 !     Push failed
MrS0m30n3 commented 6 years ago

Hi

...
Installing python-3.6.4
...

Youtube-dl-gui does not support Python 3.* currently. Check requirements.

nk932714 commented 6 years ago

Thanks for your quick reply. @MrS0m30n3

nk932714 commented 6 years ago

please check the logs on 2.7.14 version


-----> Python app detected

 !     Warning: Your application is missing a Procfile. This file tells Heroku how to run your application.

 !     Learn more: https://devcenter.heroku.com/articles/procfile

-----> Installing python-2.7.14

-----> Installing pip

-----> Installing requirements with pip

       Obtaining file:///tmp/build_c26a667966981e3a315c7f3cc9ce2816/nk932714-youtube-dl-gui-a79afd4 (from -r /tmp/build_c26a667966981e3a315c7f3cc9ce2816/nk932714-youtube-dl-gui-a79afd4/requirements.txt (line 1))

           Complete output from command python setup.py egg_info:

           No module named wx

           ----------------------------------------

       Command "python setup.py egg_info" failed with error code 1 in /tmp/build_c26a667966981e3a315c7f3cc9ce2816/nk932714-youtube-dl-gui-a79afd4/

 !     Push rejected, failed to compile Python app.

 !     Push failed

EDIT i have added the runtime.txt file in root directory to fix the version of python image

nk932714 commented 6 years ago

Hi i think requirements.txt file is required Please add when you got time. Thanks in advance :)