Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No export to influxDB after previous fix #302

Closed
MaelJego opened this issue Nov 17, 2022 · 8 comments · Fixed by #303
Closed

No export to influxDB after previous fix #302

MaelJego opened this issue Nov 17, 2022 · 8 comments · Fixed by #303

Comments

@MaelJego
Copy link

Problem/Motivation
See previous issue #296 (comment)
and previous fix #299
No change same error

The export to influxDB no longer works.

Expected behavior

The export works without issues.
Actual behavior

No data are in the relevant influxDB DB.

module 'six' is not installed (I have checked in the container).

2022-11-17 19_36_05-

Add-on: Glances
A cross-platform system monitoring tool
Add-on version: 0.17.1
You are running the latest version of this add-on.
System: Home Assistant OS 9.3 (amd64 / generic-x86-64)
Home Assistant Core: 2022.11.3
Home Assistant Supervisor: 2022.10.2
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.

INFO: Starting Glances...
Glances Web User Interface started on http://127.0.0.1:61209/
INFO: Starting NGinx...
Traceback (most recent call last):
File "/usr/bin/glances", line 8, in
sys.exit(main())
File "/usr/lib/python3.10/site-packages/glances/init.py", line 179, in main
start(config=core.get_config(), args=core.get_args())
File "/usr/lib/python3.10/site-packages/glances/init.py", line 108, in start
mode = GlancesMode(config=config, args=args)
File "/usr/lib/python3.10/site-packages/glances/standalone.py", line 45, in init
self.stats = GlancesStats(config=config, args=args)
File "/usr/lib/python3.10/site-packages/glances/stats.py", line 39, in init
self.load_modules(self.args)
File "/usr/lib/python3.10/site-packages/glances/stats.py", line 90, in load_modules
self.load_exports(args=args)
File "/usr/lib/python3.10/site-packages/glances/stats.py", line 162, in load_exports
export_module = import(self._exports_all[export_name])
File "/usr/lib/python3.10/site-packages/glances/exports/glances_influxdb.py", line 18, in
from influxdb import InfluxDBClient
File "/usr/lib/python3.10/site-packages/influxdb/init.py", line 9, in
from .client import InfluxDBClient
File "/usr/lib/python3.10/site-packages/influxdb/client.py", line 23, in
from six.moves.urllib.parse import urlparse
ModuleNotFoundError: No module named 'six'

Steps to reproduce

Setup influxDB in Glances.

@Zarzook
Copy link

Zarzook commented Nov 24, 2022

Same problem as @MaelJego still

Add-on: Glances
A cross-platform system monitoring tool

Add-on version: 0.17.1
You are running the latest version of this add-on.
System: Home Assistant OS 9.3 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2022.11.4
Home Assistant Supervisor: 2022.11.2

Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.

INFO: Starting Glances...
Glances Web User Interface started on http://127.0.0.1:61209/
INFO: Starting NGinx...
Traceback (most recent call last):
File "/usr/bin/glances", line 8, in
sys.exit(main())
File "/usr/lib/python3.10/site-packages/glances/init.py", line 179, in main
start(config=core.get_config(), args=core.get_args())
File "/usr/lib/python3.10/site-packages/glances/init.py", line 108, in start
mode = GlancesMode(config=config, args=args)
File "/usr/lib/python3.10/site-packages/glances/standalone.py", line 45, in init
self.stats = GlancesStats(config=config, args=args)
File "/usr/lib/python3.10/site-packages/glances/stats.py", line 39, in init
self.load_modules(self.args)
File "/usr/lib/python3.10/site-packages/glances/stats.py", line 90, in load_modules
self.load_exports(args=args)
File "/usr/lib/python3.10/site-packages/glances/stats.py", line 162, in load_exports
export_module = import(self._exports_all[export_name])
File "/usr/lib/python3.10/site-packages/glances/exports/glances_influxdb.py", line 18, in
from influxdb import InfluxDBClient
File "/usr/lib/python3.10/site-packages/influxdb/init.py", line 9, in
from .client import InfluxDBClient
File "/usr/lib/python3.10/site-packages/influxdb/client.py", line 23, in
from six.moves.urllib.parse import urlparse
ModuleNotFoundError: No module named 'six'

@TheDK
Copy link

TheDK commented Nov 26, 2022

Same problem:

-----------------------------------------------------------
 Add-on: Glances
 A cross-platform system monitoring tool
-----------------------------------------------------------
 Add-on version: 0.17.1
 You are running the latest version of this add-on.
 System: Home Assistant OS 9.3  (aarch64 / odroid-n2)
 Home Assistant Core: 2022.11.4
 Home Assistant Supervisor: 2022.11.2
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
INFO: Starting Glances...
Glances Web User Interface started on http://127.0.0.1:61209/
INFO: Starting NGinx...
Traceback (most recent call last):
  File "/usr/bin/glances", line 8, in <module>
    sys.exit(main())
  File "/usr/lib/python3.10/site-packages/glances/__init__.py", line 179, in main
    start(config=core.get_config(), args=core.get_args())
  File "/usr/lib/python3.10/site-packages/glances/__init__.py", line 108, in start
    mode = GlancesMode(config=config, args=args)
  File "/usr/lib/python3.10/site-packages/glances/standalone.py", line 45, in __init__
    self.stats = GlancesStats(config=config, args=args)
  File "/usr/lib/python3.10/site-packages/glances/stats.py", line 39, in __init__
    self.load_modules(self.args)
  File "/usr/lib/python3.10/site-packages/glances/stats.py", line 90, in load_modules
    self.load_exports(args=args)
  File "/usr/lib/python3.10/site-packages/glances/stats.py", line 162, in load_exports
    export_module = __import__(self._exports_all[export_name])
  File "/usr/lib/python3.10/site-packages/glances/exports/glances_influxdb.py", line 18, in <module>
    from influxdb import InfluxDBClient
  File "/usr/lib/python3.10/site-packages/influxdb/__init__.py", line 9, in <module>
    from .client import InfluxDBClient
  File "/usr/lib/python3.10/site-packages/influxdb/client.py", line 23, in <module>
    from six.moves.urllib.parse import urlparse
ModuleNotFoundError: No module named 'six'

@TheDK
Copy link

TheDK commented Nov 26, 2022

@ferrix Would you mind taking a look? Thanks!

@pedrojreis
Copy link

pedrojreis commented Nov 27, 2022

I also have the same issue, just wanted to add that I suspect that this problem started since 0.17.0 as I lost influx logs since the 10th of November.

@MaelJego
Copy link
Author

I also have the same issue, just wanted to add that I suspect that this problem started since 0.17.0 as I lost influx logs since the 10th of November.

That’s right. 0.17.1 is an attempt to fix this problem, appeared in 0.17.0

@chichin79
Copy link

Dont know if it's relevant but same problem here, same error code as above: ModuleNotFoundError: No module named 'six'

@DarkShadow-1
Copy link

DarkShadow-1 commented Dec 4, 2022

Same problem as all above with same error

Add-on: Glances
A cross-platform system monitoring tool

Add-on version: 0.17.1
You are running the latest version of this add-on.
System: Home Assistant OS 9.3 (amd64 / qemux86-64)
Home Assistant Core: 2022.11.5
Home Assistant Supervisor: 2022.11.2

Traceback (most recent call last):
File "/usr/bin/glances", line 8, in
sys.exit(main())
File "/usr/lib/python3.10/site-packages/glances/init.py", line 179, in main
start(config=core.get_config(), args=core.get_args())
File "/usr/lib/python3.10/site-packages/glances/init.py", line 108, in start
mode = GlancesMode(config=config, args=args)
File "/usr/lib/python3.10/site-packages/glances/standalone.py", line 45, in init
self.stats = GlancesStats(config=config, args=args)
File "/usr/lib/python3.10/site-packages/glances/stats.py", line 39, in init
self.load_modules(self.args)
File "/usr/lib/python3.10/site-packages/glances/stats.py", line 90, in load_modules
self.load_exports(args=args)
File "/usr/lib/python3.10/site-packages/glances/stats.py", line 162, in load_exports
export_module = import(self._exports_all[export_name])
File "/usr/lib/python3.10/site-packages/glances/exports/glances_influxdb.py", line 18, in
from influxdb import InfluxDBClient
File "/usr/lib/python3.10/site-packages/influxdb/init.py", line 9, in
from .client import InfluxDBClient
File "/usr/lib/python3.10/site-packages/influxdb/client.py", line 23, in
from six.moves.urllib.parse import urlparse
ModuleNotFoundError: No module named 'six'

@SantaFox
Copy link

SantaFox commented Dec 9, 2022

Confirmed.

-----------------------------------------------------------
 Add-on: Glances
 A cross-platform system monitoring tool
-----------------------------------------------------------
 Add-on version: 0.17.1
 You are running the latest version of this add-on.
 System: Debian GNU/Linux 11 (bullseye)  (amd64 / qemux86-64)
 Home Assistant Core: 2022.12.1
 Home Assistant Supervisor: 2022.11.2
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
INFO: Starting Glances...
Glances Web User Interface started on http://127.0.0.1:61209/
INFO: Starting NGinx...
Traceback (most recent call last):
  File "/usr/bin/glances", line 8, in <module>
    sys.exit(main())
  File "/usr/lib/python3.10/site-packages/glances/__init__.py", line 179, in main
    start(config=core.get_config(), args=core.get_args())
  File "/usr/lib/python3.10/site-packages/glances/__init__.py", line 108, in start
    mode = GlancesMode(config=config, args=args)
  File "/usr/lib/python3.10/site-packages/glances/standalone.py", line 45, in __init__
    self.stats = GlancesStats(config=config, args=args)
  File "/usr/lib/python3.10/site-packages/glances/stats.py", line 39, in __init__
    self.load_modules(self.args)
  File "/usr/lib/python3.10/site-packages/glances/stats.py", line 90, in load_modules
    self.load_exports(args=args)
  File "/usr/lib/python3.10/site-packages/glances/stats.py", line 162, in load_exports
    export_module = __import__(self._exports_all[export_name])
  File "/usr/lib/python3.10/site-packages/glances/exports/glances_influxdb.py", line 18, in <module>
    from influxdb import InfluxDBClient
  File "/usr/lib/python3.10/site-packages/influxdb/__init__.py", line 9, in <module>
    from .client import InfluxDBClient
  File "/usr/lib/python3.10/site-packages/influxdb/client.py", line 23, in <module>
    from six.moves.urllib.parse import urlparse
ModuleNotFoundError: No module named 'six'

@frenck frenck closed this as completed in 83e7d22 Dec 14, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jan 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants