Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start bot #4823

Closed
sffetlio opened this issue Aug 27, 2016 · 2 comments
Closed

Unable to start bot #4823

sffetlio opened this issue Aug 27, 2016 · 2 comments

Comments

@sffetlio
Copy link

Expected Behavior

Just run

Actual Behavior

~/PokemonGo-Bot $ ./run.sh
2016-08-27 21:29:17,427 [       cli] [INFO] PokemonGO Bot v1.0
2016-08-27 21:29:17,469 [       cli] [INFO] commit: 5e2338802367c29f1bdb17dc409578ba6feeeb2c
2016-08-27 21:29:17,486 [       cli] [INFO] No auth argument specified, checking for /configs/auth.json
usage: pokecli.py [-h] [-cf CONFIG] [-af AUTH] -a AUTH_SERVICE [-u USERNAME]
                  [-ws WEBSOCKET.SERVER_URL]
                  [-wss WEBSOCKET.START_EMBEDDED_SERVER]
                  [-wsr WEBSOCKET.REMOTE_CONTROL] [-p PASSWORD] [-l LOCATION]
                  [-lc LOCATION_CACHE] [--forts.spin FORTS.SPIN]
                  [-wmax WALK_MAX] [-wmin WALK_MIN] [-k GMAPKEY]
                  [-e SHOW_EVENTS] [-d DEBUG] [-t TEST] [-du DISTANCE_UNIT]
                  [-rt RECONNECTING_TIMEOUT] [-hr HEALTH_RECORD]
                  [-ac FORTS.AVOID_CIRCLES] [-mcs FORTS.MAX_CIRCLE_SIZE]
                  [-crf FORTS.CACHE_RECENT_FORTS]
                  [--map_object_cache_time MAP_OBJECT_CACHE_TIME]
                  [--logging_color LOGGING_COLOR]
                  [--heartbeat_threshold HEARTBEAT_THRESHOLD]
                  [--pokemon_bag.show_at_start POKEMON_BAG.SHOW_AT_START]
                  [--pokemon_bag.show_count POKEMON_BAG.SHOW_COUNT]
                  [--pokemon_bag.show_candies POKEMON_BAG.SHOW_CANDIES]
                  [--pokemon_bag.pokemon_info POKEMON_BAG.POKEMON_INFO]
                  [--alt_min ALT_MIN] [--alt_max ALT_MAX]
                  [--replicate_gps_xy_noise REPLICATE_GPS_XY_NOISE]
                  [--replicate_gps_z_noise REPLICATE_GPS_Z_NOISE]
                  [--gps_xy_noise_range GPS_XY_NOISE_RANGE]
                  [--gps_z_noise_range GPS_Z_NOISE_RANGE]
                  [--gps_default_altitude GPS_DEFAULT_ALTITUDE]
                  [--enable_social ENABLE_SOCIAL]
                  [--walker_limit_output WALKER_LIMIT_OUTPUT]
pokecli.py: error: argument -a/--auth_service is required
Sat Aug 27 21:29:17 EEST 2016 Pokebot  Stopped.
Press any button or wait 20 seconds to continue.

Your FULL config.json (remove your username, password, gmapkey and any other private info)

I have both configs/config.json and configs/auth.json as generated by ./setup.sh -i

Steps to Reproduce

Other Information

OS: Ubuntu
Branch: dev
Git Commit: 5e23388

@rawgni
Copy link
Contributor

rawgni commented Aug 27, 2016

do python pokecli.py -af configs/config.json for now

there is a PR for the fix.

@sffetlio
Copy link
Author

I just saw the pr #4814. It works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants