Open lavitiy opened 11 months ago
19:12 $ maintenance/install.py Do you want switchmap-ng to start automatically after a reboot?: (Y, N) n OK - Python version 3.10. OK - Python pip3 executable found. OK - Python module "setuptools" is installed. OK - Python pip3 executable found. OK - Python module "PyYAML" is installed. OK - Created configuration file /home/gramazeka/switchmap-ng/switchmap-ng/etc/config.yaml. OK - Installing required pip3 packages from requirements.txt file. 2023-10-31 19:13:19,431962 - gramazeka - STATUS - [1127] Could not start daemon switchmap-ng-api. 2023-10-31 19:13:19,432095 - gramazeka - STATUS - [1001] Failed to start daemon switchmap-ng-api. 2023-10-31 19:13:19,972491 - gramazeka - STATUS - [1127] Could not start daemon switchmap-ng-poller. 2023-10-31 19:13:19,972631 - gramazeka - STATUS - [1001] Failed to start daemon switchmap-ng-poller.
1) Edit file /home/gramazeka/switchmap-ng/switchmap-ng/etc/config.yaml with correct SNMP parameters and then restart the daemons. 2) You can restart switchmap-ng daemons with these commands: $ bin/switchmap-ng-cil restart api $ bin/switchmap-ng-cli restart poller 3) Switchmap-NG will not automatically restart after a reboot. You need to re-install as the "root" user for this to occur.
19:28 $ bin/switchmap-ng-cli restart poller
Traceback (most recent call last):
File "/home/gramazeka/switchmap-ng/switchmap-ng/bin/switchmap-ng-cli", line 24, in
19:25 $ uname -a Linux-VirtualBox 6.2.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct 6 10:23:26 UTC 2 x86_64 x86_64 x86_64 GNU/Linux 19:25 $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"
I have the same error, and the same OS (Ubuntu 22.04.3 LTS). The only (minor?) difference is that in my case the error message refers to the file lib/python3.10/dist-packages/flask/init.py
Since Flask is using Jinja2 for quite some time, they removed the re-export of Markup with the 3.0.0 release