pokeminer icon indicating copy to clipboard operation
pokeminer copied to clipboard

windows exception after running worker

Open wgronewold opened this issue 8 years ago • 6 comments

worker

Getting this issue after downloading the encrypt dlls from here(believe this was suggested in one of the previous issue threads): https://github.com/PokemonGoMap/PokemonGo-Map/tree/develop/pogom

After running worker.py I get a windows popup saying the dll is not valid or it has an error. I'm on a 64bit system, but I have the same issue when trying both the 32bit and 64bit dlls.

Any help would be appreciated.

wgronewold avatar Aug 07 '16 18:08 wgronewold

Did you change in config.py to ENCRYPT_PATH = './encrypt.dll' (with encrypt.dll in the same folder)

YonderGod avatar Aug 07 '16 19:08 YonderGod

`# coding: utf-8 from datetime import datetime

DB_ENGINE = 'sqlite:///db.sqlite' ENCRYPT_PATH = './encrypt64bit.dll'

AREA_NAME = u'Wrocław' MAP_START = (redacted,redacted) MAP_END = (redacted,redacted) GRID = (1, 1) # row, column CYCLES_PER_WORKER = 1 SCAN_DELAY = 10 # seconds #ENCRYPT = './libencrypt.so' # external encryption library

SCAN_RADIUS = 70 # metres

ACCOUNTS = [ ('redacted', 'redacted', 'ptc'), ]

TRASH_IDS = [13, 16, 19, 21, 41, 96] STAGE2 = [94, 139, 141, 149]

REPORT_SINCE = datetime(2016, 8, 1)`

Is my current config folder with the encrypt64bit.dll being in the main pokeminer folder.

wgronewold avatar Aug 07 '16 20:08 wgronewold

reading a bit I came to a possible reason for the problem: 32 bit python on a 64 bit machine trying to execute an external file. Resulting in a bit error no mater what.

before I recommend to try and get 64-bit python. Can you try and change your path to: ENCRYPT_PATH = 'encrypt64bit.dll' (without the dot slash)

Aiyubi avatar Aug 07 '16 20:08 Aiyubi

Thanks YonderGod and Aiyubi. I will try that quick, and let you guys know what happens.

wgronewold avatar Aug 07 '16 21:08 wgronewold

No dice. I get the same error. I'm not having too much with the libs from: https://github.com/PokemonGoMap/PokemonGo-Map/tree/develop/pogom

I also tried setting up the miner on a ubuntu machine and I used both libencrypt-linux-x86-32.so and libencrypt-linux-x86-64.so and I get the invalid ELF header. #142

I know that is sort of a separate issue, but I must doing something else wrong if I can't get either of those files to work correctly on a linux machine right? Am I overlooking something simple?

Edit: a word

wgronewold avatar Aug 07 '16 21:08 wgronewold

@wgronewold did you try compatibility mode? Moreover you can try compiling your own library on your Ubuntu machine - if it compiles, it's almost guaranteed to be working.

modrzew avatar Aug 09 '16 20:08 modrzew