Hello,
I have been having issues with speedtest module. Apparently the configuration is ignored. Follows the configuration, which was taken from the docs:
# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# 脽
# If the above line is not correctly displayed, fix your editor first!
general {
colors = true
interval = 5
}
order = "speedtest"
speedtest {
format = "speedtest[\?soft ][\?if=elapsed [\?color=darkgray [time "
format += "[\?color=elapsed_time {elapsed_time} s]]]|[\?color=darkgray "
# format += "ping [\?color=ping {ping} ms] "
format += "download [\?color=download {download}Mbps] "
format += "upload [\?color=upload {upload}Mbps]]]"
}
And here's the log:
2019-12-28 18:37:58 INFO received SIGTERM
2019-12-28 18:37:58 INFO lock set, exiting
2019-12-28 18:37:59 INFO ========
2019-12-28 18:37:59 INFO Starting py3status version 3.22 python 3.7.5
2019-12-28 18:37:59 INFO window manager: i3
2019-12-28 18:37:59 INFO py3status started with config {'dbus_notify': False, 'i3status_config_path': '/home/$USER/.config/i3status/config', 'debug': True, 'gevent': False, 'include_paths': [], 'log_file': '/home/$USER/Log/py3status.log', 'standalone': False, 'cache_timeout': 60, 'i3status_path': '/usr/bin/i3status', 'wm': {'msg': 'i3-msg', 'nag': 'i3-nagbar'}, 'python_version': '3.7.5', 'version': '3.22', 'wm_name': 'i3', 'minimum_interval': 0.1, 'click_events': True}
2019-12-28 18:37:59 INFO config file: /home/$USER/.config/i3status/config
2019-12-28 18:37:59 INFO i3status thread mocked with config {'general': {'color_bad': '#FF0000', 'color_degraded': '#FFFF00', 'color_good': '#00FF00', 'color_separator': '#333333', 'colors': True, 'interval': 5, 'output_format': 'i3bar'}, 'py3status': {}, 'order': ['speedtest'], 'speedtest': {'format': 'speedtest[\\?soft ][\\?if=elapsed [\\?color=darkgray [time [\\?color=elapsed_time {elapsed_time} s]]]|[\\?color=darkgray download [\\?color=download {download}Mbps] upload [\\?color=upload {upload}Mbps]]]'}, 'on_click': {}, 'i3s_modules': [], 'py3_modules': ['speedtest'], '.module_groups': {}}
2019-12-28 18:37:59 INFO events thread started
2019-12-28 18:37:59 INFO Unix domain socket at /tmp/py3status_uds.9550
2019-12-28 18:37:59 INFO waiting for a connection
2019-12-28 18:37:59 INFO commands thread started
2019-12-28 18:37:59 INFO modules include paths: []
2019-12-28 18:37:59 INFO user_modules={}
2019-12-28 18:37:59 INFO loading module "speedtest" from py3status.modules.speedtest
2019-12-28 18:37:59 INFO module "speedtest" click_events=new has_kill=False methods=odict_keys(['speedtest'])
2019-12-28 18:37:59 INFO storage_path: /home/$USER/.cache/py3status_cache.data
2019-12-28 18:37:59 INFO storage_data: {'speedtest': {'speedtest_data': {}, '_ctime': 1577374138.878688, '_mtime': 1577374138.878688}}
2019-12-28 18:37:59 INFO starting module speedtest
2019-12-28 18:37:59 INFO method speedtest returned {'composite': [{'full_text': 'speedtest', 'instance': ' 0', 'name': 'speedtest'}], 'instance': '', 'name': 'speedtest'}
Finally this is how the status bar is rendered:

Speedtest binary (speedtest-cli) is in the PATH and runs without issues.
Is this a bug or am I missing something?
Cheers,
Middle click dat boi.
Oh I see :+1:
Closing then :)
Probably worth adding a note on the docs(?)
Something along these lines:
https://py3status.readthedocs.io/en/latest/modules.html#player-control
@ultrabug many thanks!
Most helpful comment
Middle click dat boi.