PokemonGo-Map icon indicating copy to clipboard operation
PokemonGo-Map copied to clipboard

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

Open ExodusNZ opened this issue 8 years ago • 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

ExodusNZ avatar Aug 07 '16 04:08 ExodusNZ

mine stops at "search step 1 area download failed"

MangoTheTango avatar Aug 07 '16 04:08 MangoTheTango

same here :/

martionhotmail avatar Aug 07 '16 04:08 martionhotmail

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

nip10 avatar Aug 07 '16 04:08 nip10

where do i download this pogom from?

MangoTheTango avatar Aug 07 '16 04:08 MangoTheTango

See also #6

Azryyal avatar Aug 07 '16 04:08 Azryyal

@MangoTheTango its one of the folders of the pogomap project

nip10 avatar Aug 07 '16 04:08 nip10

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

MangoTheTango avatar Aug 07 '16 04:08 MangoTheTango

@MangoTheTango any text editor

nip10 avatar Aug 07 '16 04:08 nip10

@nip10 notepad wont work?

MangoTheTango avatar Aug 07 '16 04:08 MangoTheTango

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

nip10 avatar Aug 07 '16 04:08 nip10

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

MangoTheTango avatar Aug 07 '16 04:08 MangoTheTango

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

raffishtenant avatar Aug 07 '16 05:08 raffishtenant

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

ExodusNZ avatar Aug 07 '16 05:08 ExodusNZ

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

PeshBG avatar Aug 07 '16 06:08 PeshBG

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

image

bol507 avatar Aug 07 '16 06:08 bol507

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

raffishtenant avatar Aug 07 '16 07:08 raffishtenant

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 avatar Aug 07 '16 08:08 ExodusNZ

@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...

PeshBG avatar Aug 07 '16 08:08 PeshBG

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

ExodusNZ avatar Aug 07 '16 10:08 ExodusNZ

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?

JasperMoneyshot avatar Aug 22 '16 19:08 JasperMoneyshot