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

Crash on startup #3451

Closed
a-vishar opened this issue Aug 10, 2016 · 0 comments
Closed

Crash on startup #3451

a-vishar opened this issue Aug 10, 2016 · 0 comments

Comments

@a-vishar
Copy link

Expected Behavior

It should start up as it did yesterday (same config, same revision in GIT).

Actual Behavior

I get this error:

admin$ python pokecli.py
Traceback (most recent call last):
File "pokecli.py", line 38, in
from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException
File "/Users/admin/Desktop/PokemonGo-Bot/src/pgoapi/pgoapi/init.py", line 50, in
from pgoapi.pgoapi import PGoApi
File "/Users/admin/Desktop/PokemonGo-Bot/src/pgoapi/pgoapi/pgoapi.py", line 34, in
from pgoapi.rpc_api import RpcApi
File "/Users/admin/Desktop/PokemonGo-Bot/src/pgoapi/pgoapi/rpc_api.py", line 47, in
from pgoapi.utilities import to_camel_case, get_time, get_format_time_diff, Rand48, long_to_bytes, generateLocation1, generateLocation2, generateRequestHash, f2i
File "/Users/admin/Desktop/PokemonGo-Bot/src/pgoapi/pgoapi/utilities.py", line 30, in
import xxhash
ImportError: No module named xxhash

Your config.json (remove your credentials and any other private info)

{
"auth_service": "google",
"username": "",
"password": "",
"location": "",
"gmapkey": "",
"tasks": [
{
"type": "HandleSoftBan"
},
{
"type": "CollectLevelUpReward"
},
{
"type": "IncubateEggs",
"config": {
"longer_eggs_first": true
}
},
{
"type": "TransferPokemon"
},
{
"type": "EvolvePokemon",
"config": {
"evolve_all": "all",
"first_evolve_by": "cp",
"evolve_above_cp": 0,
"evolve_above_iv": 0,
"logic": "or",
"evolve_speed": 20,
"use_lucky_egg": false
}
},
{
"type": "RecycleItems",
"config": {
"item_filter": {
"Pokeball": { "keep" : 100 },
"Potion": { "keep" : 0 },
"Super Potion": { "keep" : 50 },
"Hyper Potion": { "keep" : 300 },
"Revive": { "keep" : 50 },
"Razz Berry": { "keep" : 150 }
}
}
},
{
"type": "CatchVisiblePokemon"
},
{
"type": "CatchLuredPokemon"
},
{
"type": "SpinFort"
},
{
"type": "MoveToFort",
"config": {
"lure_attraction": true,
"lure_max_distance": 2000
}
},
{
"type": "FollowSpiral",
"config": {
"diameter": 4,
"step_size": 70
}
}
],
"map_object_cache_time": 5,
"forts": {
"avoid_circles": true,
"max_circle_size": 50
},
"websocket_server": false,
"walk": 6.45,
"action_wait_min": 0,
"action_wait_max": 1,
"debug": false,
"test": false,
"health_record": true,
"location_cache": true,
"distance_unit": "km",
"reconnecting_timeout": 15,
"evolve_captured": "NONE",
"catch_randomize_reticle_factor": 1.0,
"catch_randomize_spin_factor": 1.0,
"catch": {
"any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"},
"// Example of always catching Rattata:": {},
"// Rattata": { "always_catch" : true }
},
"release": {
"any": {"release_below_cp": 500, "release_below_iv": 0.8, "logic": "or"},
"Rattata": {"always_release": true},
"Pidgey": {"always_release": true},
"Zubat": {"always_release": true},
"Magikarp": {"always_release": true}

},
"vips" : {
     "Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!": {},
    "any": {"catch_above_cp": 1200, "catch_above_iv": 0.9, "logic": "or" },
    "Lapras": {},
    "Moltres": {},
    "Zapdos": {},
    "Articuno": {},

    "// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)": {},
    "Mewtwo": {},
    "Dragonite": {},
    "Snorlax": {},
    "// Mew evolves to Mewtwo": {},
    "Mew": {},
    "Arcanine": {},
    "Vaporeon": {},
    "Gyarados": {},
    "Exeggutor": {},
    "Muk": {},
    "Weezing": {},
    "Flareon": {}

}

}

Steps to Reproduce

Run : python pokecli.py

Other Information

OS: OS X
Git Commit: 63f777b
Python Version: Python 2.7.12

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

1 participant