TypeError: 'int' object is not subscriptable
See original GitHub issue(myenv_name) C:\Users\USER_NAME\dask_cluster>dask-scheduler
distributed.scheduler - INFO - -----------------------------------------------
distributed.scheduler - INFO - Local Directory: C:\Users\USER_NAME\AppData\Local\Temp\scheduler-3s6ed687
distributed.scheduler - INFO - -----------------------------------------------
distributed.scheduler - INFO - Clear task state
distributed.scheduler - INFO - Scheduler at: tcp://1#.1#.6#.2#:8786
distributed.scheduler - INFO - dashboard at: :8787
distributed.utils - ERROR - 'int' object is not subscriptable
Traceback (most recent call last):
File "C:\Users\USER_NAME\.conda\envs\myenv_name\lib\site-packages\distributed\utils.py", line 662, in log_errors
yield
File "C:\Users\USER_NAME\.conda\envs\myenv_name\lib\site-packages\distributed\scheduler.py", line 1469, in add_worker
metrics=metrics,
File "C:\Users\USER_NAME\.conda\envs\myenv_name\lib\site-packages\distributed\scheduler.py", line 1356, in heartbeat_worker
self.bandwidth * (1 - frac) + metrics["bandwidth"]["total"] * frac
TypeError: 'int' object is not subscriptable
distributed.core - ERROR - 'int' object is not subscriptable
Traceback (most recent call last):
File "C:\Users\USER_NAME\.conda\envs\myenv_name\lib\site-packages\distributed\core.py", line 403, in handle_comm
result = await result
File "C:\Users\USER_NAME\.conda\envs\myenv_name\lib\site-packages\distributed\scheduler.py", line 1469, in add_worker
metrics=metrics,
File "C:\Users\USER_NAME\.conda\envs\myenv_name\lib\site-packages\distributed\scheduler.py", line 1356, in heartbeat_worker
self.bandwidth * (1 - frac) + metrics["bandwidth"]["total"] * frac
TypeError: 'int' object is not subscriptable
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
TypeError: 'int' object is not subscriptable [Solved Python Error]
The Python error "TypeError: 'int' object is not subscriptable" occurs when you try to treat an integer like a subscriptable object.
Read more >TypeError: 'int' object is not subscriptable - STechies
Python TypeError: 'int' object is not subscriptable. This error occurs when you try to use the integer type value as an array.
Read more >Python typeerror: 'int' object is not subscriptable Solution
The “typeerror: 'int' object is not subscriptable” error is raised when you try to access an integer as if it were a subscriptable...
Read more >Error: 'int' object is not subscriptable - Python - Stack Overflow
'int' object is not subscriptable is TypeError in Python. To better understand how this error occurs, let us consider the following example:
Read more >TypeError: 'int' object is not subscriptable in Python | bobbyhadz
The Python "TypeError: 'int' object is not subscriptable" occurs when we try to use square brackets to access an integer at a specific...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I haven’t seen this with more recent versions of
distributed
. Closing for now, but we can reopen as neededI don’t think we see this with newer versions of Dask, can someone from @dask/maintenance confirm?