Skip to content

upgrade webpy from 0.62 to 0.70 due to python 3.13 removal of cgi module #1860

@detheridge02

Description

@detheridge02

I've setup a new server to host ASM3 version 50.

When accessing the site Apache is throwing an error :

[Tue Sep 02 07:35:59.118006 2025] [wsgi:error] [pid 12344:tid 12356] [client 193.237.216.210:52502] import web062 as web [Tue Sep 02 07:35:59.118013 2025] [wsgi:error] [pid 12344:tid 12356] [client 193.237.216.210:52502] File "/usr/lib/sheltermanager3/web062/__init__.py", line 4, in <module> [Tue Sep 02 07:35:59.118015 2025] [wsgi:error] [pid 12344:tid 12356] [client 193.237.216.210:52502] from . import ( # noqa: F401 [Tue Sep 02 07:35:59.118018 2025] [wsgi:error] [pid 12344:tid 12356] [client 193.237.216.210:52502] ...<11 lines>... [Tue Sep 02 07:35:59.118020 2025] [wsgi:error] [pid 12344:tid 12356] [client 193.237.216.210:52502] ) [Tue Sep 02 07:35:59.118024 2025] [wsgi:error] [pid 12344:tid 12356] [client 193.237.216.210:52502] File "/usr/lib/sheltermanager3/web062/debugerror.py", line 19, in <module> [Tue Sep 02 07:35:59.118027 2025] [wsgi:error] [pid 12344:tid 12356] [client 193.237.216.210:52502] from . import webapi as web [Tue Sep 02 07:35:59.118030 2025] [wsgi:error] [pid 12344:tid 12356] [client 193.237.216.210:52502] File "/usr/lib/sheltermanager3/web062/webapi.py", line 6, in <module> [Tue Sep 02 07:35:59.118033 2025] [wsgi:error] [pid 12344:tid 12356] [client 193.237.216.210:52502] import cgi [Tue Sep 02 07:35:59.118044 2025] [wsgi:error] [pid 12344:tid 12356] [client 193.237.216.210:52502] ModuleNotFoundError: No module named 'cgi'

Expected behavior
ASM3 setup screen

Server (please complete the following information):

  • OS: Debian 13
  • Python: 3.13.5-2
  • Apache: 2.4.65-2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions