Package: twms Version: 0.07z-1 Severity: grave Justification: renders package unusable
Dear sir/madam, I have installed twms as I would like to server some maps following the wms standard. The twms package install flawlessly, but I cannot start the server. I start the server with: >systemctl start twms without messages, but when I check the processes running in the system twms is not there and also there is no new port open. Checking it status with: > systemctl status twms I get the following information: ----------------------- twms.service - twms web map service Loaded: loaded (/lib/systemd/system/twms.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Tue 2020-07-21 13:01:51 CEST; 1s ago Process: 3647 ExecStart=/usr/bin/twms $PORT (code=exited, status=1/FAILURE) Main PID: 3647 (code=exited, status=1/FAILURE) jul 21 13:01:51 xxxx twms[3647]: from twms import * jul 21 13:01:51 xxxx twms[3647]: File "/usr/lib/python3/dist- packages/twms/twms.py", line 30, in <module> jul 21 13:01:51 xxxx twms[3647]: config = imp.load_source("config", config_path) jul 21 13:01:51 xxxx twms[3647]: File "/usr/lib/python3.7/imp.py", line 171, in load_source jul 21 13:01:51 xxxx twms[3647]: module = _load(spec) jul 21 13:01:51 xxxx twms[3647]: File "/etc/twms/twms.conf", line 8, in <module> jul 21 13:01:51 xxxx twms[3647]: import fetchers jul 21 13:01:51 xxxx twms[3647]: ModuleNotFoundError: No module named 'fetchers' jul 21 13:01:51 xxxx systemd[1]: twms.service: Main process exited, code=exited, status=1/FAILURE jul 21 13:01:51 xxxx systemd[1]: twms.service: Failed with result 'exit-code'. ------------------------------------------ (I have replaced the name of my system with "xxxx" The file fetchers.py is located at /usr/lib/python3/dist-packages/twms I have not programmed in python since 10 years ago, I have forgotten a lot of things, but I think it is a problem with the path where twms is looking for modules. I would appreciate all help to fix this problem and have twms working. I am very happy to perform all the necessary tests to locate and fix the problem. Thanks for your great work !!! Jose -- System Information: Debian Release: 10.4 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-9-amd64 (SMP w/8 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8), LANGUAGE=es_ES.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages twms depends on: ii adduser 3.118 ii python3 3.7.3-1 ii python3-pil 5.4.1-2+deb10u1 ii python3-webpy 1:0.39+20181101-1 Versions of packages twms recommends: ii python3-cairo 1.16.2-1+b1 ii python3-pyproj 1.9.6-1 twms suggests no packages. -- no debconf information