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

Multiple scanners/instances from command line: Undefined global name error.

Open Roarma opened this issue 10 years ago • 1 comments

While everybody is complaining why multiple accounts/instances don't work puzzles me. Looking at the folder structure and command parameters, the exact same as PokemonGo-Map is required. I have a batch file of command lines. Each one is booting up runserver.py with the required parameters.

However, running the command from command line for google fails with the following:

File "C:\pokemon\app-0.2.1\resources\app\map\pogom\pgoapi\auth_google.py", 
line 63, in user_login 
user_login = perform_master_login(username, password, self.GOOGLE_LOGIN_ANDROID_ID)
NameError: global name 'perform_master_login' is not defined

(Yes I moved the folder from appdata to root C, because of annoying Windows 255 character limits)

Checking the file auth_google.py indeed misses a 'def' for the function. Which is interesting to note, because if you just run the app through the shortcut on your desktop, google auth method works. But through command line it doesn't.

Using the command line to run a PTC account works fine.

Any ideas?

Roarma avatar Aug 07 '16 10:08 Roarma

Closing this. As this is the 'Desktop' version of the map, it doesn't work. I got the base version and runs fine from command line.

Roarma avatar Aug 07 '16 15:08 Roarma