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

RuntimeError: OrderedDict mutated during iteration #2

Open
Smirftsch opened this issue Feb 2, 2021 · 0 comments
Open

RuntimeError: OrderedDict mutated during iteration #2

Smirftsch opened this issue Feb 2, 2021 · 0 comments

Comments

@Smirftsch
Copy link

Trying to get the links out of my old Forum I am getting

Traceback (most recent call last):
File "Links_Crawler.py", line 216, in
crawler.start_with(Request(host))
File "/home/smir/.local/lib/python3.7/site-packages/nyawc/Crawler.py", line 98, in start_with
self.__crawler_start()
File "/home/smir/.local/lib/python3.7/site-packages/nyawc/Crawler.py", line 177, in __crawler_start
ServerScripts > https://www.oldunreal.com/wiki/index.php?title=Reducing_your_download_frequency,_keep_downloaded_files_forever
self.__spawn_new_requests()
File "/home/smir/.local/lib/python3.7/site-packages/nyawc/Crawler.py", line 114, in __spawn_new_requests
if self.__spawn_new_request():
File "/home/smir/.local/lib/python3.7/site-packages/nyawc/Crawler.py", line 130, in __spawn_new_request
first_in_line = self.queue.get_first(QueueItem.STATUS_QUEUED)
File "/home/smir/.local/lib/python3.7/site-packages/nyawc/Queue.py", line 164, in get_first
return list(items.items())[0][1]
RuntimeError: OrderedDict mutated during iteration

Any advice?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant