You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have included pictures of the same errors in powershell and on centOS8.
I've also included one picture of the pool.py errors at line 48 "in mapstar return list(map(*args))" and the GitDorker.py error at line 325 " line 325, in pool.map(api_search, url_dict)".
The other picture is the errors in GitDorker.py at line 140 and 164
" line 140, in token_round_robin current_token = tokens_list[n] IndexError: list index out of range"
"line 164, in api_search headers = {"Authorization": "token " + token_round_robin()}"
←[0mTraceback (most recent call last):$$$$$$$$ Dorking In Progress $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ 3/240
File "C:\Users\GuyWhoNotSoSmart\GitDorker\GitDorker.py", line 325, in
pool.map(api_search, url_dict)
File "C:\Users\GuyWhoNotSoSmart\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "C:\Users\GuyWhoNotSoSmart\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 771, in get
raise self._value
File "C:\Users\GuyWhoNotSoSmart\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "C:\Users\GuyWhoNotSoSmart\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 48, in mapstar
return list(map(*args))
File "C:\Users\GuyWhoNotSoSmart\GitDorker\GitDorker.py", line 164, in api_search
headers = {"Authorization": "token " + token_round_robin()}
File "C:\Users\GuyWhoNotSoSmart\GitDorker\GitDorker.py", line 140, in token_round_robin
current_token = tokens_list[n]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
adamplatski
changed the title
python multiprocessing errors
python multiprocessing pool.map errors
Nov 3, 2021
@haonanduanmu , I guess the issue is that you don't have any active personal access token file. Google how to create Github Personal Access Token file and add it to the tf/tokensfile and you are good to go then.
I have included pictures of the same errors in powershell and on centOS8.
I've also included one picture of the pool.py errors at line 48 "in mapstar return list(map(*args))" and the GitDorker.py error at line 325 " line 325, in pool.map(api_search, url_dict)".
The other picture is the errors in GitDorker.py at line 140 and 164
" line 140, in token_round_robin current_token = tokens_list[n] IndexError: list index out of range"
"line 164, in api_search headers = {"Authorization": "token " + token_round_robin()}"
←[0mTraceback (most recent call last):$$$$$$$$ Dorking In Progress $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ 3/240
File "C:\Users\GuyWhoNotSoSmart\GitDorker\GitDorker.py", line 325, in
pool.map(api_search, url_dict)
File "C:\Users\GuyWhoNotSoSmart\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "C:\Users\GuyWhoNotSoSmart\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 771, in get
raise self._value
File "C:\Users\GuyWhoNotSoSmart\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "C:\Users\GuyWhoNotSoSmart\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 48, in mapstar
return list(map(*args))
File "C:\Users\GuyWhoNotSoSmart\GitDorker\GitDorker.py", line 164, in api_search
headers = {"Authorization": "token " + token_round_robin()}
File "C:\Users\GuyWhoNotSoSmart\GitDorker\GitDorker.py", line 140, in token_round_robin
current_token = tokens_list[n]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: