TypeError: 'NoneType' object is not subscriptable
See original GitHub issueDescribe the bug
Ran Windows.exe
and this is what it ran into while trying to do Port Discovery
:
Getting controllers...
Traceback (most recent call last):
File "Windows.py", line 149, in <module>
File "Windows.py", line 32, in __init__
File "base.py", line 50, in __init__
File "base.py", line 680, in monu
File "utils.py", line 204, in start
File "utils.py", line 188, in select
File "base.py", line 222, in discover_ports
File "Windows.py", line 111, in get_controllers
File "Windows.py", line 35, in update_usbdump
File "usbdump.py", line 214, in get_controllers
TypeError: 'NoneType' object is not subscriptable
[16964] Failed to execute script Windows
Debugging information debug_dump_01.zip
Hardware:
- Gigabyte Z490 UD Rev 1.0
- Windows 10
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
TypeError: 'NoneType' object is not subscriptable
NoneType is the type of the None object which represents a lack of value, for example, a function that does not explicitly return...
Read more >Python Math - TypeError: 'NoneType' object is not subscriptable
The reason that lista gets set to None is because the return value of list.sort() is None ... it does not return a...
Read more >[Solved] TypeError: 'NoneType' Object is Not Subscriptable
The error, NoneType object is not subscriptable, means that you were trying to subscript a NoneType object. This resulted in a type error....
Read more >TypeError: 'NoneType' object is not subscriptable in Python
The Python "TypeError: 'NoneType' object is not subscriptable" occurs when we try to access a None value at a specific index. To solve...
Read more >Python TypeError: 'NoneType' object is not subscriptable
The “TypeError: 'NoneType' object is not subscriptable” error is common if you assign the result of a built-in list method like sort() ,...
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 Free
Top 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
Hmm - your borkiness is probably your mobo, tbh. Either that or you’re missing drivers, as I saw a controller in your debug log but it was completely devoid of any information. There wasn’t any info from WMI either, so I’m guessing it was either botched or you don’t have drivers installed for it. This issue with companions could happen if some of the companions are on the botched controller.
That makes sense. I’ll close the issue since it has been resolved, thanks again!