Closed BjrInt closed 9 months ago
The issue comes from the definition of the entrypoint in ASGI:
In this case, “main:app” was used, where “main” is supposed to refer to the Python module, for example “main.py”, and “app” to the variable that defines the application inside the module.
When uploading a file in the “plain” format, only “app” should be provided as entrypoint since there is no file to open.
Problem description
While Aleph-vm technically support plain encoding for program source, it does not seem to work as is.
Fix
As a temporary fix, send the program source as a zipped file
Ref
This fixes a regression that was potentially introduced in #56