pgoapi icon indicating copy to clipboard operation
pgoapi copied to clipboard

AttributeError on pgoapi.py

Open r3pek opened this issue 9 years ago • 4 comments

This must be a dumb error 'cause i didn't see anyone complaining about it...

2016-08-08 17:37:43,035 [      MainThread][        models][    INFO] Connecting to local SQLite database
2016-08-08 17:37:43,037 [   search_thread][        search][    INFO] Search overseer starting
2016-08-08 17:37:43,037 [   search_thread][        search][    INFO] Starting search worker threads
2016-08-08 17:37:43,038 [   search_thread][        search][    INFO] New location caught, moving search grid
2016-08-08 17:37:43,039 [ search_worker_0][        search][    INFO] Search step 1 beginning (queue size is 36)
2016-08-08 17:37:43,039 [ search_worker_0][        search][   ERROR] Exception in search_worker: 
Traceback (most recent call last):
  File "/opt/pokemon-go-map/pogom/search.py", line 219, in search_worker_thread
    check_login(args, account, api, step_location)
  File "/opt/pokemon-go-map/pogom/search.py", line 266, in check_login
    api.set_authentication(provider = account['auth_service'], username = account['username'], password = account['password'])
  File "/usr/lib/python2.7/site-packages/pgoapi/pgoapi.py", line 89, in getattr
    raise AttributeError
AttributeError

but can i get some help with this error? thx

r3pek avatar Aug 08 '16 17:08 r3pek

set_authentication is a method in the new code; but when not available it tries to find it as a call to the API which does not exist and raises that error - are you using the right version of the library?

elliottcarlson avatar Aug 08 '16 17:08 elliottcarlson

@elliottcarlson i'm using the master version of this repo..... and version 2.2.0 of pokemongo-map

EDIT: old-demo works fine

r3pek avatar Aug 08 '16 20:08 r3pek

I have the same error too.. i followed the install instructions thoroughly.. however, the only issue was the map. https://github.com/AHAAAAAAA/PokemonGo-Map.git doesn't have the files anymore, so i had to d/l the development map that was in the video tutorial. Can someone pls help us resolve this issue?

deevusone avatar Aug 09 '16 00:08 deevusone

pip install -r requirements.txt --upgrade npm install

the above solved the issue.

deevusone avatar Aug 09 '16 00:08 deevusone