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

[BUG] SpeedTest fails on RC3 #140

Open
hipitihop opened this issue Jun 9, 2021 · 1 comment
Open

[BUG] SpeedTest fails on RC3 #140

hipitihop opened this issue Jun 9, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@hipitihop
Copy link

Describe the bug
Running SpeedTest fails silently. She acknweldges that she will return in a while but never does.

To Reproduce
Ask her to run a speed test.

Expected behavior
Run the speed test and report results, or report that something went wrong and to check the logs.

Logs
Get your logs at ~/ProjectAlice/var/logs

2021-06-09T07:14:42.260285780Z [Speedtest]               Starting Speedtest
2021-06-09T07:14:42.260725302Z [SkillManager]            The intent "Speedtest" was consumed by Speedtest
2021-06-09T07:14:42.270289498Z [AmazonTts]               Using existing cached file 701e58f0cdc9a55d7a38d703de62ab47
2021-06-09T07:15:00.511096746Z Exception in thread Thread-358794:
2021-06-09T07:15:00.511129057Z Traceback (most recent call last):
2021-06-09T07:15:00.511134457Z   File "/usr/local/lib/python3.7/threading.py", line 926, in _bootstrap_inner
2021-06-09T07:15:00.511150568Z     self.run()
2021-06-09T07:15:00.511154255Z   File "/usr/local/lib/python3.7/threading.py", line 1177, in run
2021-06-09T07:15:00.511157681Z     self.function(*self.args, **self.kwargs)
2021-06-09T07:15:00.511161148Z   File "/home/pi/ProjectAlice/core/util/ThreadManager.py", line 113, in onTimerEnd
2021-06-09T07:15:00.511164785Z     timer.callback(*timer.args, **timer.kwargs)
2021-06-09T07:15:00.511168041Z   File "/home/pi/ProjectAlice/core/util/Decorators.py", line 171, in exceptionDecorator
2021-06-09T07:15:00.511171447Z     return func(*args, **kwargs)
2021-06-09T07:15:00.511174814Z   File "/home/pi/ProjectAlice/core/util/Decorators.py", line 150, in offlineDecorator
2021-06-09T07:15:00.511178901Z     return func(*args, **kwargs)
2021-06-09T07:15:00.511182107Z   File "/home/pi/ProjectAlice/skills/Speedtest/Speedtest.py", line 26, in executeSpeedtest
2021-06-09T07:15:00.511185454Z     speed = speedtest.Speedtest()
2021-06-09T07:15:00.511188610Z   File "/home/pi/ProjectAlice/venv/lib/python3.7/site-packages/speedtest.py", line 1091, in __init__
2021-06-09T07:15:00.511192116Z     self.get_config()
2021-06-09T07:15:00.511195252Z   File "/home/pi/ProjectAlice/venv/lib/python3.7/site-packages/speedtest.py", line 1174, in get_config
2021-06-09T07:15:00.511198609Z     map(int, server_config['ignoreids'].split(','))
2021-06-09T07:15:00.511201835Z ValueError: invalid literal for int() with base 10: ''

Alice version
1.0.0-RC1

Additional context
Worked at some point but I don't remember trying on main docker and I have not done a git bisect.

@hipitihop hipitihop added the bug Something isn't working label Jun 9, 2021
@hipitihop
Copy link
Author

Still occurring on RC5

2021-06-27T02:10:35.255994949Z [Speedtest]               Starting Speedtest
2021-06-27T02:10:35.256292442Z [SkillManager]            The intent "Speedtest" was consumed by Speedtest
2021-06-27T02:10:35.298826537Z [AmazonTts]               Using existing cached file 701e58f0cdc9a55d7a38d703de62ab47
2021-06-27T02:10:51.242218908Z Exception in thread Thread-85342:
2021-06-27T02:10:51.242255427Z Traceback (most recent call last):
2021-06-27T02:10:51.242261689Z   File "/usr/local/lib/python3.7/threading.py", line 926, in _bootstrap_inner
2021-06-27T02:10:51.242268371Z     self.run()
2021-06-27T02:10:51.242274042Z   File "/usr/local/lib/python3.7/threading.py", line 1177, in run
2021-06-27T02:10:51.242279462Z     self.function(*self.args, **self.kwargs)
2021-06-27T02:10:51.242283189Z   File "/home/pi/ProjectAlice/core/util/ThreadManager.py", line 113, in onTimerEnd
2021-06-27T02:10:51.242287177Z     timer.callback(*timer.args, **timer.kwargs)
2021-06-27T02:10:51.242290884Z   File "/home/pi/ProjectAlice/core/util/Decorators.py", line 171, in exceptionDecorator
2021-06-27T02:10:51.242294711Z     return func(*args, **kwargs)
2021-06-27T02:10:51.242298528Z   File "/home/pi/ProjectAlice/core/util/Decorators.py", line 150, in offlineDecorator
2021-06-27T02:10:51.242304249Z     return func(*args, **kwargs)
2021-06-27T02:10:51.242307916Z   File "/home/pi/ProjectAlice/skills/Speedtest/Speedtest.py", line 26, in executeSpeedtest
2021-06-27T02:10:51.242311713Z     speed = speedtest.Speedtest()
2021-06-27T02:10:51.242315290Z   File "/home/pi/ProjectAlice/venv/lib/python3.7/site-packages/speedtest.py", line 1091, in __init__
2021-06-27T02:10:51.242319168Z     self.get_config()
2021-06-27T02:10:51.242322875Z   File "/home/pi/ProjectAlice/venv/lib/python3.7/site-packages/speedtest.py", line 1174, in get_config
2021-06-27T02:10:51.242326612Z     map(int, server_config['ignoreids'].split(','))
2021-06-27T02:10:51.242330269Z ValueError: invalid literal for int() with base 10: ''

@hipitihop hipitihop changed the title [BUG] SpeedTest fails on RC1 [BUG] SpeedTest fails on RC1 & RC5 Jun 27, 2021
@hipitihop hipitihop changed the title [BUG] SpeedTest fails on RC1 & RC5 [BUG] SpeedTest fails on RC3 Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant