Comments (2)
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.
- Edit file /home/gramazeka/switchmap-ng/switchmap-ng/etc/config.yaml with correct SNMP parameters and then restart the daemons.
- You can restart switchmap-ng daemons with these commands:
$ bin/switchmap-ng-cil restart api
$ bin/switchmap-ng-cli restart poller - 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
from switchmap.cli import cli
File "/home/gramazeka/switchmap-ng/switchmap-ng/switchmap/cli/cli.py", line 15, in
from switchmap.cli import show, start, test, stop, restart
File "/home/gramazeka/switchmap-ng/switchmap-ng/switchmap/cli/show.py", line 16, in
from switchmap.main.agent import Agent, AgentAPI, AgentDaemon
File "/home/gramazeka/switchmap-ng/switchmap-ng/switchmap/main/agent.py", line 29, in
from switchmap.www import API
File "/home/gramazeka/switchmap-ng/switchmap-ng/switchmap/www/init.py", line 14, in
from switchmap.www.routes.api.devices import API_DEVICES
File "/home/gramazeka/switchmap-ng/switchmap-ng/switchmap/www/routes/api/devices.py", line 12, in
from switchmap.www.pages import device
File "/home/gramazeka/switchmap-ng/switchmap-ng/switchmap/www/pages/device.py", line 10, in
from flask_table import Table, Col
File "/home/gramazeka/.local/lib/python3.10/site-packages/flask_table/init.py", line 1, in
from .table import Table, create_table
File "/home/gramazeka/.local/lib/python3.10/site-packages/flask_table/table.py", line 5, in
from flask import Markup
ImportError: cannot import name 'Markup' from 'flask' (/home/gramazeka/.local/lib/python3.10/site-packages/flask/init.py)
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"
from switchmap-ng.
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
from switchmap-ng.
Related Issues (20)
- Add idle time of a port to the device report
- Show VIPs assigned to interfaces
- API - Show the VLAN numbers on each Trunk port
- Only poll the required Cisco contexts for VLAN MAC table data in the Bridge MIB
- Speed up polling by using snmp bulkwalk versus snmp getnext walks
- Daemons must verify their filenames before running
- PID file check should be overridden if the daemons are dead HOT 1
- Can't get program to run HOT 3
- Dashboard customization / display HOT 3
- New Devices are not show at Dashboard HOT 1
- MAC addresses not populating HOT 10
- Not seeing devices in dashboard HOT 6
- device.py crashes for some NX-OS gear
- Place config for hostnames in a separate config file HOT 7
- Switchmap-NG new features - Input welcome HOT 4
- New Unittests for the general.py module
- New Unittests for the general.py module
- Logfiles need to be created with 644 permissions. Currently set to 666 by default. HOT 1
- Need to check for systemd presence in precheck when running as root
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from switchmap-ng.