codeapp
codeapp copied to clipboard
Python - Flask usage not possible?
Hi there, i have tried to use the flask package with code (app) in my python code, but it does not seem to work how it supposed to be. Also i have used the console to get the needed packages via pip with:
pip install flask pip install flask-login pip install flask-sqlalchemy
As seen in the screenshot it seems that the code can‘t be executed due to permission errors. Is this caused by iOS restrictions or may be there some possible workarounds or solutions to work properly with this addin?

The error message shows Python tried to spawn a subprocess which is not allowed in iOS. Although it's unlikely, I'll investigate if there's a way to workaround this in Flask.
This needs to be fixed.
Hi there,
i have tried to use the flask package with code (app) in my python code, but it does not seem to work how it supposed to be.
Also i have used the console to get the needed packages via pip with:
pip install flask
pip install flask-login
pip install flask-sqlalchemy
As seen in the screenshot it seems that the code can‘t be executed due to permission errors.
Is this caused by iOS restrictions or may be there some possible workarounds or solutions to work properly with this addin?
Python Flask seems to be working for me, try turning debug mode off
Hi there, i have tried to use the flask package with code (app) in my python code, but it does not seem to work how it supposed to be. Also i have used the console to get the needed packages via pip with: pip install flask pip install flask-login pip install flask-sqlalchemy As seen in the screenshot it seems that the code can‘t be executed due to permission errors. Is this caused by iOS restrictions or may be there some possible workarounds or solutions to work properly with this addin?
Python Flask seems to be working for me, try turning debug mode off
Hey hg0428,
yeah thank you for the answer, with debug mode off it is working fine. It‘s only a bit complicated with testing properly on iPadOS, hoping for the new stage manager feature of iPadOS 16 so that this testing workflow is also improved from iPadOS site.
But it should also be cool if we could get a workaround with a working debug mode so that you can see a debug output if some unexpected error or http status code is thrown. Is this possible? Cause it would improve this already pretty nice editor.
Thanks in advance.
kind regards
It's the same with me, at the first launch it tells me that I don't have permission, while at the second it says that the port is busy. And this is repeated for however many other ports are selected.
iPad Air 4 - last iOS CodeApp - test mode
