Skip to content

Image broken #11

@sebastianhaas

Description

@sebastianhaas

The image seems to be missing Python lately. I encountered the following problem when creating a clone of a web app of mine:

2018-10-23T07:45:34.950438211Z 
2018-10-23T07:45:34.950510711Z   _____                               
2018-10-23T07:45:34.950624712Z   /  _  \ __________ _________   ____  
2018-10-23T07:45:34.950641312Z  /  /_\  \___   /  |  \_  __ \_/ __ \ 
2018-10-23T07:45:34.950650813Z /    |    \/    /|  |  /|  | \/\  ___/ 
2018-10-23T07:45:34.950659813Z \____|__  /_____ \____/ |__|    \___  >
2018-10-23T07:45:34.950668913Z         \/      \/                  \/ 
2018-10-23T07:45:34.950677713Z 
2018-10-23T07:45:34.950686113Z A P P   S E R V I C E   O N   L I N U X
2018-10-23T07:45:34.950694613Z 
2018-10-23T07:45:34.950702813Z Documentation: http://aka.ms/webapp-linux
2018-10-23T07:45:34.950711313Z NodeJS quickstart: https://aka.ms/node-qs
2018-10-23T07:45:34.950719713Z 
2018-10-23T07:45:36.767424995Z Starting OpenBSD Secure Shell server: sshd.
2018-10-23T07:45:36.857890131Z Running python /usr/local/bin/entrypoint.py
2018-10-23T07:45:37.933818270Z executing:
2018-10-23T07:45:37.934141573Z python --version
2018-10-23T07:45:37.975129452Z Python 3.7.0
2018-10-23T07:45:37.977691776Z executing:
2018-10-23T07:45:37.982036116Z pip --version
2018-10-23T07:45:38.152536891Z Traceback (most recent call last):
2018-10-23T07:45:38.152620791Z   File "/usr/local/bin/pip", line 7, in <module>
2018-10-23T07:45:38.152632192Z     from pip._internal import main
2018-10-23T07:45:38.152640992Z ModuleNotFoundError: No module named 'pip._internal'
2018-10-23T07:45:38.157763339Z 
2018-10-23T07:45:38.168770241Z found flask app
2018-10-23T07:45:38.169593648Z executing:
2018-10-23T07:45:38.169874151Z . antenv/bin/activate
2018-10-23T07:45:38.175971007Z /bin/sh: 1: .: Can't open antenv/bin/activate
2018-10-23T07:45:38.176351411Z 
2018-10-23T07:45:38.176709014Z executing:
2018-10-23T07:45:38.177021817Z GUNICORN_CMD_ARGS="--bind=0.0.0.0 --timeout 600" gunicorn application:app
2018-10-23T07:45:42.009289819Z [2018-10-23 07:45:42 +0000] [38] [INFO] Starting gunicorn 19.9.0
2018-10-23T07:45:42.015367975Z [2018-10-23 07:45:42 +0000] [38] [INFO] Listening at: http://0.0.0.0:8000 (38)
2018-10-23T07:45:42.015735878Z [2018-10-23 07:45:42 +0000] [38] [INFO] Using worker: sync
2018-10-23T07:45:42.051312007Z [2018-10-23 07:45:42 +0000] [41] [INFO] Booting worker with pid: 41
2018-10-23T07:45:45.202130914Z [2018-10-23 07:45:44 +0000] [41] [ERROR] Exception in worker process
2018-10-23T07:45:45.202180014Z Traceback (most recent call last):
2018-10-23T07:45:45.202191114Z   File "/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2018-10-23T07:45:45.202219914Z     worker.init_process()
2018-10-23T07:45:45.202230114Z   File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/base.py", line 129, in init_process
2018-10-23T07:45:45.202239515Z     self.load_wsgi()
2018-10-23T07:45:45.202248415Z   File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/base.py", line 138, in load_wsgi
2018-10-23T07:45:45.202257415Z     self.wsgi = self.app.wsgi()
2018-10-23T07:45:45.202265915Z   File "/usr/local/lib/python3.7/site-packages/gunicorn/app/base.py", line 67, in wsgi
2018-10-23T07:45:45.202274915Z     self.callable = self.load()
2018-10-23T07:45:45.202283415Z   File "/usr/local/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 52, in load
2018-10-23T07:45:45.202292515Z     return self.load_wsgiapp()
2018-10-23T07:45:45.202301415Z   File "/usr/local/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 41, in load_wsgiapp
2018-10-23T07:45:45.202310315Z     return util.import_app(self.app_uri)
2018-10-23T07:45:45.202318815Z   File "/usr/local/lib/python3.7/site-packages/gunicorn/util.py", line 350, in import_app
2018-10-23T07:45:45.202327615Z     __import__(module)
2018-10-23T07:45:45.202336015Z   File "/home/site/wwwroot/application.py", line 3, in <module>
2018-10-23T07:45:45.202345316Z     from authlib.flask.client import OAuth
2018-10-23T07:45:45.202353816Z ModuleNotFoundError: No module named 'authlib'
2018-10-23T07:45:45.202892021Z [2018-10-23 07:45:45 +0000] [41] [INFO] Worker exiting (pid: 41)
2018-10-23T07:45:45.410102235Z [2018-10-23 07:45:45 +0000] [38] [INFO] Shutting down: Master
2018-10-23T07:45:45.410492338Z [2018-10-23 07:45:45 +0000] [38] [INFO] Reason: Worker failed to boot.
2018-10-23T07:45:45.561115630Z

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