Desktop or outdated Python apps that cannot build as web services
Error recorded 75 times in PanelAlpha Engine deploys on Django, Python. The deploy log below is the recorded failure output.
TypeErrorAn error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.
Seen75 times · 31 variants
WhereDjango, Python
StatusResolve Ready (2.1.0)Our team will look into this soon, verify the cause and try to fix it in an upcoming release.
Why it happens
github.com/zim-desktop-wiki/zim-desktop-wiki is a GTK desktop application and needs the GObject (gi) system bindings. github.com/satsale/satsale pins protobuf==3.19.5, which forces pip onto an old grpcio-tools source release that cannot build on current Python.
What the log looks like
Deploy log
Getting requirements to build wheel: startedGetting requirements to build wheel: finished with status 'error'Traceback (most recent call last): File "/app/makeman.py", line 13, in <module> from zim.main import HelpCommand ... File "/app/zim/signals.py", line 7, in <module> from gi.repository import GObjectModuleNotFoundError: No module named 'gi'error: subprocess-exited-with-error