scottstamp/PokemonGo-Map

Map Download Error - Exception while downloading map: [Error 126] The specified module could not be found

Opened this issue · 20 comments

Expected Behavior

Login is fine, but showing a map error ?

Current Behavior

2016-08-07 16:22:05,318 [ search_worker_2][ auth_google][ INFO] Request Google Access Token...
2016-08-07 16:22:05,328 [ search_worker_1][ auth_google][ INFO] Google User Login successful.
2016-08-07 16:22:05,332 [ search_worker_1][ auth_google][ INFO] Request Google Access Token...
2016-08-07 16:22:05,543 [ search_worker_0][ auth_google][ INFO] Google User Login successful.
2016-08-07 16:22:05,546 [ search_worker_0][ auth_google][ INFO] Request Google Access Token...
2016-08-07 16:22:06,006 [ search_worker_2][ auth_google][ INFO] Google Access Token successfully received.
2016-08-07 16:22:06,053 [ search_worker_1][ auth_google][ INFO] Google Access Token successfully received.
2016-08-07 16:22:06,056 [ search_worker_2][ search][ WARNING] Exception while downloading map: [Error 126] The specified module could not be found
2016-08-07 16:22:06,065 [ search_worker_2][ search][ ERROR] Search step 3 area download failed, retyring request in 5.1 seconds
2016-08-07 16:22:06,078 [ search_worker_1][ search][ WARNING] Exception while downloading map: [Error 126] The specified module could not be found
2016-08-07 16:22:06,084 [ search_worker_1][ search][ ERROR] Search step 2 area download failed, retyring request in 5.1 seconds
2016-08-07 16:22:06,236 [ search_worker_0][ auth_google][ INFO] Google Access Token successfully received.

Possible Solution

Not sure!

Steps to Reproduce (for bugs)

  1. C:\Python27\python.exe C:\Users\User\Desktop\PokemonGo-Map-develop\runserver.py -a google -u user -p pass -u user -p pass -l "location here" -st 10 -k AIzaSyC3DGAZhceiJ1HZo3y-FbOl5XEweShCTVU -nk -ng -sd 5.1 -H 0.0.0.0 -P 5000
    2.
    3.
    4.

Context

Your Environment

  • Version used:
  • Environment name and version (e.g. Python 2.7):
  • Operating System and version (desktop or mobile):
    Windows 10 - 64Bit - Python 2.7

mine stops at "search step 1 area download failed"

same here :/

nip10 commented

You have the same setup as mine and I just solved that error with the help of another user. Just check if you have encrypt.dll in /pogom (if not, download it). then change the search.py (in the same /pogom folder) line 271 to api.activate_signature("./pogom/encrypt.dll") change path if necessary

where do i download this pogom from?

See also #6

nip10 commented

@MangoTheTango its one of the folders of the pogomap project

okay ive downloaded the encrypt.dll, but how do i change line 271 of search.py? im sorry im quite new at this.

nip10 commented

@MangoTheTango any text editor

@nip10 notepad wont work?

nip10 commented

@MangoTheTango it does but its more visual-friendly if you use wordpad

okay i changed line 271 and i get this
Traceback (most recent call last):
File "runserver.py", line 47, in
from pogom.search import search_overseer_thread, fake_search_loop
File "C:\Users\Ripper\Desktop\PokemonGo-Map-develop\pogom\search.py", line 271
api.activate_signature("./pogom/encrypt.dll")
^
IndentationError: unindent does not match any outer indentation level

Make sure there are exactly four spaces at the beginning of the line you changed. Python cares about that.

2016-08-07 17:07:01,884 [ search_worker_2][ models][ INFO] Upserted 0 pokemon, 0 pokestops, and 0 gyms
2016-08-07 17:07:01,940 [ search_worker_1][ models][ INFO] Upserted 0 pokemon, 0 pokestops, and 0 gyms

Updated line 271 now its working, but same as after the API update. Not finding anything

mine works

2016-08-07 09:17:14,989 [ search_worker_0][ models][ INFO] Upserted 2 pokemon, 72 pokestops, and 10 gyms
2016-08-07 09:17:25,002 [ search_worker_0][ search][ INFO] Search step 17 beginning (queue size is 74)
2016-08-07 09:17:25,244 [ search_worker_0][ models][ INFO] Upserted 0 pokemon, 87 pokestops, and 10 gyms
2016-08-07 09:17:35,257 [ search_worker_0][ search][ INFO] Search step 18 beginning (queue size is 73)
2016-08-07 09:17:35,490 [ search_worker_0][ models][ INFO] Upserted 0 pokemon, 92 pokestops, and 12 gyms
2016-08-07 09:17:45,496 [ search_worker_0][ search][ INFO] Search step 19 beginning (queue size is 72)
2016-08-07 09:17:45,729 [ search_worker_0][ models][ INFO] Upserted 0

I use other fork https://github.com/PokemonGoMap/PokemonGo-Map/wiki work fine for me

image

Stab in the dark, but is your location processing correctly (i.e. valid lat/long output in the first few lines)?

Good point, I will try other locations / try typing in the actual place and report back in a few hours when I get home

@ExodusNZ forwardhq.com you can forward the localhost in a few easy steps. account has 7days trial(email needed only) ngrok seems to have issues with the new map in terms of connections, at least on my end...

Thanks guys for the help - I change the location but now getting this error:

2016-08-07 22:04:43,766 [ search_worker_9][ search][ ERROR] Search step 10 map parsing failed, retyring request in 5.1 seconds
2016-08-07 22:04:48,871 [ search_worker_7][ search][ ERROR] Search step 8 map parsing failed, retyring request in 5.1 seconds
2016-08-07 22:04:53,979 [ search_worker_0][ search][ ERROR] Search step 1 map parsing failed, retyring request in 5.1 seconds
2016-08-07 22:04:59,085 [ search_worker_6][ search][ ERROR] Search step 7 map parsing failed, retyring request in 10.2 seconds
2016-08-07 22:05:09,292 [ search_worker_8][ search][ ERROR] Search step 9 map parsing failed, retyring request in 5.1 seconds
2016-08-07 22:05:14,397 [ search_worker_3][ search][ ERROR] Search step 4 map parsing failed, retyring request

You have the same setup as mine and I just solved that error with the help of another user. Just check if you have encrypt.dll in /pogom (if not, download it). then change the search.py (in the same /pogom folder) line 271 to api.activate_signature("./pogom/encrypt.dll") change path if necessary

Had the same problem and this was along the right lines for me. However in my version (release) it wasn't line 271 but 239, just search "api.activate" using ctrl+f. Also I had to point it to:
(full path)/pogom/libencrypt/encrypt32bit.dll

Might be worth removing your changes (maybe download the file again) and doing that?