Getting '[ERROR] list index out of range' when trying to load file
See original GitHub issueRunning Ropper on Windows, with capstone-windows 3.0.4, then entering the command file C:\Users\MyUser\test.exe
results in the output:
[INFO] Load gadgets from cache
[LOAD] loading... 0%[ERROR] list index out of range
Then entering the command search "% ?di"
results in the output:
[INFO] Searching for gadgets: “% ?di”
[ERROR] object of type ‘NoneType’ has no len()
[ERROR] Please report this error on https://github.com/sashs/ropper
Additionally, running the command ropper.py --file C:\Users\MyUser\test.exe -- search "% ?di"
results in a continuous loop of this error:
[INFO] Load gadgets from cache
[LOAD] loading… 0%[ERROR] list index out of range
[ERROR] Please report this error on https://github.com/sashs/ropper
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\MyUser\Python\lib\multiprocessing\forking.py", line 347, in main
self = load(from_parent)
File "C:\Users\MyUser\Python\lib\pickle.py", line 1378, in load
return Unpickler(file).load()
File "C:\Users\MyUser\Python\lib\pickle.py", line 858, in load
dispatch[key](self)
File "C:\Users\MyUser\Python\lib\pickle.py", line 880, in load_eof
raise EOFError
EOFError
Issue Analytics
- State:
- Created 7 years ago
- Comments:17 (10 by maintainers)
Top Results From Across the Web
List Index Out of Range – Python Error Message Solved
You'll get the Indexerror: list index out of range error when iterating through a list and trying to access an item that doesn't...
Read more >Indexerror: list Index Out of Range in Python - STechies
List index out of range means index error in Python. It occurs when you try to access an index that is outside bounds...
Read more >Python IndexError: List Index Out of Range [Easy Fix] - Finxter
To solve the “IndexError: list index out of range”, avoid do not access a non-existing list index. For example, my_list[5] causes an error...
Read more >How to fix - List Index Out of Range in Python - GeeksforGeeks
Reason of the error – The length of the list is 5 and if we are an iterating list on 6 then it...
Read more >Python IndexError: List Index Out of Range Error Explained
We can break down the text a little bit. We can see here that the message tells us that the index is out...
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
At least your bug should be fixed now. However, the cache has to be deleted. You can do that by using the
--clear-cache
command.Yep 👍