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
gunicorn v20 : issue since the upgrade : Flask/Dash app Failed to find application object 'app.server' in 'index' #2175
Comments
can you start gunicorn with the debug level to see where the application is failing? |
Exact same issue here - I'll take a closer look soon |
I think it related to this change: 3701ad9#diff-0b90f794c3e9742c45bf484505e3db8dR377 |
Try using a simple name instead of expecting gunicorn to traverse into objects. For example, |
This also worked as a fix for me (changed |
I assume from now on this kind of thing will also never work:
|
Hi folks, here are the results of diverse attempts:
Still need to test those combinations:
|
@Abdelkrim with latest master? |
@benoitc, I am running the v20.0.0 and not your latest update I am afraid when will the latest update be available by using pip? I do use Azure pipeline to deploy the web app and I don't know how to force the usage of the latest version of the code hosted on gituhub instead of using the regular requirements.txt QUESTION: should I just wait a new version number? ... I'll deploy a new version of the code and give you my feedback (it requires ~1 hour => around 1:00am Brussels time) |
if you can test with the latest master that would help :) i will see if i reproduce it later this morning otherwise |
@benoitc I can't access to the machine using ssh and force the usage of the latest version of gunicorn. QUESTION : do you know how/when the latest release will be available on PyPi? I see this : Last released: Nov 9, 2019 on https://pypi.org/project/gunicorn this will greatly facilitate my testing as I don't have access to any linux machine besides the Linux web apps on Azure :-( Kind regards & thank you all for the time you have invested in this case |
@Abdelkrim the following commandline works:
with the following example: https://github.com/benoitc/gunicorn/tree/master/examples/deep . I'm closing the issue then. The release will land today hopefully. |
@benoitc thank you, I'm waiting for the latest release and I'll give you my feedback. many thanks for your help A. |
Confirmed fixed with the latest master, thanks! Edit: A fun fact, I happened to test with Git master just a couple of minutes before 20.0.1 hit PyPi 🙂 |
My app, based on Dash (https://plot.ly/dash/), stopped working after I updated my libraries by using https://pypi.org/project/pur
I didn't pay attention and gunicorn upgraded from
v19.9.0
tov20.0.0
.There is clearly a breaking change but I don't know how to address it. Any thought?
PS: I have read this post but it didn't help me : #2159
thank in advance for your help
The Error
gunicorn command : working version if v19.9.0 but fails with v20.0.0
index.py
webapp.py
The text was updated successfully, but these errors were encountered: