mtr-monitor icon indicating copy to clipboard operation
mtr-monitor copied to clipboard

multiple issues

Open Rico29 opened this issue 3 years ago • 3 comments

Hello, trying to install on fresh debian 11, but i'm facing multiple issues.

first thing is that influxDB is not seen in python libs : # python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())" | xargs ls | grep -i influx ->returns nothing, but influxdb python module in installed :

# python3 -m pip list | grep -i infl

influxdb         5.3.1

other problems (that may be linked) : graphana dashboard does not conain anything related to mtr, and I have no influxdb datasource.

can you help me please ? Regards

Rico29 avatar Jan 05 '22 15:01 Rico29

I tried to reinstall on debian 10 (was on debian 11), still have the python problem :

root@mtr-monitor:~# python -V
Python 3.7.3

root@mtr-monitor:~# python -m pip install --upgrade influxdb
Requirement already satisfied: influxdb in /usr/local/lib/python3.7/dist-packages (5.3.1)
Requirement already satisfied: requests>=2.17.0 in /usr/lib/python3/dist-packages (from influxdb) (2.21.0)
Requirement already satisfied: msgpack in /usr/local/lib/python3.7/dist-packages (from influxdb) (1.0.3)
Requirement already satisfied: pytz in /usr/local/lib/python3.7/dist-packages (from influxdb) (2021.3)
Requirement already satisfied: python-dateutil>=2.6.0 in /usr/local/lib/python3.7/dist-packages (from influxdb) (2.8.2)
Requirement already satisfied: six>=1.10.0 in /usr/lib/python3/dist-packages (from influxdb) (1.12.0)

root@mtr-monitor:~# python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())" | xargs ls | grep influx
root@mtr-monitor:~#

Rico29 avatar Jan 06 '22 07:01 Rico29

Same issue here

rath17023 avatar Feb 24 '22 02:02 rath17023

apt-get install python-influxdb was part of the issue. Now getting "TypeError: object of type 'int' has no len()"

rath17023 avatar Feb 24 '22 02:02 rath17023