Closed Amzix closed 8 years ago
After doing this : pip install -r requirements
I have a new error :
Traceback (most recent call last):
File "pokecli.py", line 674, in
any help ?
when I start the bot I get this output:
--------------------Starting bot--------------------
Traceback (most recent call last):
File "pokecli.py", line 43, in
Something went wrong and the bot needed to be restarted. Please investigate the cause.
Installation instructions are not perfect. Some packages need to be installed manually. See
https://github.com/PokemonGoF/PokemonGo-Bot/issues/3846#issuecomment-239631665
thanks for the reply, I reinstall the game many times, but still have the same problem
Installed what game? The bot is not dependent on a game installation.
Additionally to installing the requirements via requirements.txt, you also need to install protobuf and encrypt.so manually, like in the post I have linked to. It is the last answer on a ticket with the same problem I had.
I have protobuf and everything up to date, I've followed the instructions in manual installation, I have the correct encrypt dll on the bot folder and still not working
same for me, still not working
still not working, any idea ?
2016-08-24 10:00:35,595 [PokemonGoBot] [INFO] [position_update] Now at (48.892128, 2.3874703, 8.0)
2016-08-24 10:00:35,596 [PokemonGoBot] [INFO] [login_started] Login procedure started.
Traceback (most recent call last):
File "pokecli.py", line 703, in
Be sure to run pip install -r requirements.txt
. That usually fix most of the problems.
if you are in windows uninstall python and install the 86x one (even if your system is 64x) then reinstall the bot following the manual instructions, that works to me.
-you need to download the PyYAML-3.11-cp27-cp27m-win32.whl searching it on google -if still dosent work then run the setup.sh on the root folder using C:\Python27\PokemonGo-Bot\setup.sh -i on the console
Hello @kevinsmendes already done it, still have the problem
@iidanielmontes I use debian
pip install -r requirements.txt --upgrade
2016-08-24 21:42:18,102 [SleepSchedule] [INFO] [next_sleep] Next sleep at 2016-08-24 22:36:12.103000
2016-08-24 21:42:18,105 [RandomPause] [INFO] [next_random_pause] Next random pause at 21:50:53, for a duration of 0:00:57
....
2016-08-24 21:42:19,369 [ cli] [INFO]
2016-08-24 21:42:19,371 [ cli] [INFO] Ran for 0:00:06
2016-08-24 21:42:19,372 [ cli] [INFO] Total XP Earned: 0 Average: 0.00/h
2016-08-24 21:42:19,375 [ cli] [INFO] Travelled 0.00km
2016-08-24 21:42:19,375 [ cli] [INFO] Visited 0 stops
2016-08-24 21:42:19,377 [ cli] [INFO] Encountered 0 pokemon, 0 caught, 0 released, 0 evolved, 0 never seen before
2016-08-24 21:42:19,380 [ cli] [INFO] Threw 0 pokeballs
2016-08-24 21:42:19,381 [ cli] [INFO] Earned 0 Stardust
2016-08-24 21:42:19,381 [ cli] [INFO] Hatched eggs 0
2016-08-24 21:42:19,384 [ cli] [INFO]
2016-08-24 21:42:19,384 [ cli] [INFO] Highest CP Pokemon:
2016-08-24 21:42:19,385 [ cli] [INFO] Most Perfect Pokemon:
Traceback (most recent call last):
File "C:\Juegos\PokemonGO\PokemonGo-Bot\pokecli.py", line 703, in
i tryed with 32 and 64 pyton and same error
pip install -r requirements.txt --upgrade ----> all ok
pokecly.py -cf /configs/config.json
Can you try to do a clean install of the bot? Just delete everything and start from zero. See if it works.
2016-08-24 16:59 GMT-03:00 Jcolomar notifications@github.com:
2016-08-24 21:42:18,102 [SleepSchedule] [INFO] [next_sleep] Next sleep at 2016-08-24 22:36:12.103000 2016-08-24 21:42:18,105 [RandomPause] [INFO] [next_random_pause] Next random pause at 21:50:53, for a duration of 0:00:57 .... 2016-08-24 21:42:19,369 [ cli] [INFO] 2016-08-24 21:42:19,371 [ cli] [INFO] Ran for 0:00:06 2016-08-24 21:42:19,372 [ cli] [INFO] Total XP Earned: 0 Average: 0.00/h 2016-08-24 21:42:19,375 [ cli] [INFO] Travelled 0.00km 2016-08-24 21:42:19,375 [ cli] [INFO] Visited 0 stops 2016-08-24 21:42:19,377 [ cli] [INFO] Encountered 0 pokemon, 0 caught, 0 released, 0 evolved, 0 never seen before 2016-08-24 21:42:19,380 [ cli] [INFO] Threw 0 pokeballs 2016-08-24 21:42:19,381 [ cli] [INFO] Earned 0 Stardust 2016-08-24 21:42:19,381 [ cli] [INFO] Hatched eggs 0 2016-08-24 21:42:19,384 [ cli] [INFO] 2016-08-24 21:42:19,384 [ cli] [INFO] Highest CP Pokemon: 2016-08-24 21:42:19,385 [ cli] [INFO] Most Perfect Pokemon: Traceback (most recent call last): File "C:\Juegos\PokemonGO\PokemonGo-Bot\pokecli.py", line 703, in main() File "C:\Juegos\PokemonGO\PokemonGo-Bot\pokecli.py", line 105, in main tree = TreeConfigBuilder(bot, config.raw_tasks).build() File "C:\Juegos\PokemonGO\PokemonGo-Bot\pokemongo_bot\tree_config_builder.py", line 74, in build instance = worker(self.bot, task_config) File "C:\Juegos\PokemonGO\PokemonGo-Bot\pokemongo_bot\base_task.py", line 20, in init self.initialize() File "C:\Juegos\PokemonGO\PokemonGo-Bot\pokemongo_bot\cell_workers\follow_path.py", line 20, in initialize self.points = self.load_path() File "C:\Juegos\PokemonGO\PokemonGo-Bot\pokemongo_bot\cell_workers\follow_path.py", line 48, in load_path return self.load_json() File "C:\Juegos\PokemonGO\PokemonGo-Bot\pokemongo_bot\cell_workers\follow_path.py", line 54, in load_json points=json.load(data_file) File "C:\Python27\lib\jsoninit.py", line 291, in load *
_kw) File "C:\Python27\lib\jsoninit.py", line 339, in loads return _default_decoder.decode(s) File "C:\Python27\lib\json\decoder.py", line 367, in decode raise ValueError(errmsg("Extra data", s, end, len(s))) ValueError: Extra data: line 1 column 38 - line 84 column 45 (char 37 - 3236) 2016-08-24 21:42:19,476 [sentry.errors] [ERROR] Sentry responded with an error: 'utf8' codec can't decode byte 0x9c in position 1: invalid start byte (url: https://app.getsentry.com/api/90254/store/ https://app.getsentry.com/api/90254/store/) Traceback (most recent call last): File "C:\Python27\lib\site-packages\raven\transport\threaded.py", line 174, in send_sync super(ThreadedHTTPTransport, self).send(data, headers) File "C:\Python27\lib\site-packages\raven\transport\http.py", line 47, in send ca_certs=self.ca_certs, File "C:\Python27\lib\site-packages\raven\utils\http.py", line 66, in urlopen return opener.open(url, data, timeout) File "C:\Python27\lib\site-packages\future\backports\urllib\request.py", line 494, in open response = self._open(req, data) File "C:\Python27\lib\site-packages\future\backports\urllib\request.py", line 512, in _open '_open', req) File "C:\Python27\lib\site-packages\future\backports\urllib\request.py", line 466, in _call_chain result = func(_args) File "C:\Python27\lib\site-packages\raven\utils\http.py", line 46, in https_open return self.do_open(ValidHTTPSConnection, req) File "C:\Python27\lib\site-packages\future\backports\urllib\request.py", line 1284, in do_open h.request(req.get_method(), req.selector, req.data, headers) File "C:\Python27\lib\httplib.py", line 1057, in request self.
_send_request(method, url, body, headers) File "C:\Python27\lib\httplib.py", line 1097, in send_request self.endheaders(body) File "C:\Python27\lib\httplib.py", line 1053, in endheaders self._send_output(message_body) File "C:\Python27\lib\httplib.py", line 895, in _send_output msg += message_body File "C:\Python27\lib\encodings\utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0x9c in position 1: invalid start byte 2016-08-24 21:42:19,510 [sentry.errors.uncaught] [ERROR] [u'ValueError: Extra data: line 1 column 38 - line 84 column 45 (char 37 - 3236)', u' File "C:\Juegos\PokemonGO\PokemonGo-Bot\pokecli.py", line 703, in ', u' File "C:\Juegos\PokemonGO\PokemonGo-Bot\pokecli.py", line 105, in main', u' File "C:\Juegos\PokemonGO\PokemonGo-Bot\pokemongo_bot\tree_config_builder.py", line 74, in build', u' File "C:\Juegos\PokemonGO\PokemonGo-Bot\pokemongo_bot\base_task.py", line 20, in _init', u' File "C:\Juegos\PokemonGO\PokemonGo-Bot\pokemongo_bot\cell_workers\follow_path.py", line 20, in initialize', u' File "C:\Juegos\PokemonGO\ PokemonGo-Bot\pokemongo_bot\cell_workers\follow_path.py", line 48, in load_path', u' File "C:\Juegos\PokemonGO\PokemonGo-Bot\pokemongo_bot\cell_workers\follow_path.py", line 54, in loadjson', u' File "C:\Python27\lib\json*init.py", line 291, in load', u' File "C:\Python27\lib\json_init*.py", line 339, in loads', u' File "C:\Python27\lib\json\decoder.py", line 367, in decode']
i tryed with 32 and 64 pyton and same error
pip install -r requirements.txt --upgrade ----> all ok
pokecly.py -cf /configs/config.json
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PokemonGoF/PokemonGo-Bot/issues/4557#issuecomment-242189005, or mute the thread https://github.com/notifications/unsubscribe-auth/ASqfYP1uOtSb_cUVNC48n8jYtZnmIVUnks5qjKKcgaJpZM4Jp4xq .
1 git clone https://github.com/PokemonGoF/PokemonGo-Bot.git 2 cd pokemongo-bot 3 pip install -r requirements.txt 4 put encryt libraries on pokemongo-bot directory 5 pokecly.py -cf /configs/basiconfig.json (very basic one seems go good) 6 pokecly.py -cf /configs/goodconfig.json (personal one with no warnings) ---> same error
Try:
All I do is that, and it works flawlessly.
2016-08-24 17:42 GMT-03:00 Jcolomar notifications@github.com:
1 git clone https://github.com/PokemonGoF/PokemonGo-Bot.git 2 cd pokemongo-bot 3 pip install -r requirements.txt 4 put encryt libraries on pokemongo-bot directory 5 pokecly.py -cf /configs/basiconfig.json (very basic one seems go good) 6 pokecly.py -cf /configs/goodconfig.json (personal one with no warnings) ---> same error
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PokemonGoF/PokemonGo-Bot/issues/4557#issuecomment-242201434, or mute the thread https://github.com/notifications/unsubscribe-auth/ASqfYFWiHY0y5-aQo_M0RZzZ_pL63dtTks5qjKy0gaJpZM4Jp4xq .
im on windows :)
i discover the section gives me error. When i insert this part:
{ "type": "FollowPath", "config": { "enabled": true, "walker": "StepWalker", "path_mode": "loot", "path_start_mode": "first", "path_file": "configs/espigon.json", "number_lap": 1, "timer_restart_min": "00:10:00", "timer_restart_max": "00:20:00" } },
i tryed to put "single" but no works
configs/espigon.json in /configs/folder
@Jcolomar Did you get it working?
mjmadsen YES! i was testing and testing and the problem was in how to type the route to the config file to path file. If u type "path_file": "/configs/espigon.json" gives error, but if u type the complete path like "path_file": "C:/Juegos/PokemonGO/PokemonGo-Bot/configs/espigon.json" works.
Ah yes, pathing on a cross platform application can be tricky. :+1:
Why you closed the issue, i'm the one who created it , and i still have the problem ???
My bad, I was looking at the wrong username.
thank you :)
Sorry you're still having troubles. Have you tried the following (I'm sure you're tired of hearing that):
git reset --hard git checkout dev git pull pip install -r requirements.txt --upgrade
Or possibly starting a new virtualenv / source bin/activate and following those actions
already tried it, can you tell me when Niantic ban an IP adress of a server, what answer/message we have when we start the bot ?
I think that just send us garbage or info we don't break down well / respond well to (pgo not us). Or they only send some info (maybe no stops, pokemon, etc).
As far as the API and the network traffic, I'm well out of my realm of knowledge. Hopefully I can learn from the fine folks working on that end (at some point in time).
Since none of the solutions have worked for you, I would lean to say IP ban. Have you tried running the bot through TOR?
Thanks for the reply, i tested the bot in 4 servers, the same bot works fine in two of them but not in the others.
N.B : the two servers where the bot can't start are in the same subnet of public adress, i think that Niantic ban all the subnet of these VPS.
Ah, there we go.
:D we can close this issue and thanks for your help
Glad to help (and sorry about the bans)
I use Master branch, when i start the bot i have this : Traceback (most recent call last): File "pokecli.py", line 43, in
from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException
ImportError: No module named pgoapi.exceptions
lundi 22 août 2016, 15:49:02 (UTC+0200) Pokebot Stopped.
Press any button or wait 20 seconds to continue.
My config.json : { "auth_service": "ptc", "username": "xx, "password": "xxx", "location": "xxx", "gmapkey": "xxx", "libencrypt_location": "", "tasks": [ { "type": "HandleSoftBan" }, { "type": "CollectLevelUpReward" }, { "type": "IncubateEggs", "config": { "longer_eggs_first": true } }, { "type": "SleepSchedule", "config": { "time": "21:00", "duration":"8:00", "time_random_offset": "00:30", "duration_random_offset": "00:30" } }, { "type": "TransferPokemon" }, { "type": "EvolvePokemon", "config": { "evolve_all" : "Pidgey,Weedle,Rattata,Zubat,Pidgey,Caterpie,Spearow", "//evolve_all": "all", "//first_evolve_by": "cp", "//evolve_above_cp": 200, "evolve_cp_min": 10, "evolve_above_iv": 0, "logic": "or", "evolve_speed": 20, "use_lucky_egg": false } }, { "type": "RecycleItems", "config": { "item_filter": { "Pokeball": { "keep" : 30 }, "Greatball": { "keep" : 70 }, "Ultraball": { "keep" : 50 }, "Potion": { "keep" : 0 }, "Super Potion": { "keep" : 0 }, "Hyper Potion": { "keep" : 30 }, "Max Potion": { "keep" : 50 }, "Revive": { "keep" : 0 }, "Razz Berry": { "keep" : 50 } } } }, { "type": "CatchVisiblePokemon" }, { "type": "CatchLuredPokemon" }, { "type": "SpinFort" }, { "type": "MoveToMapPokemon", "config": { "address": "xxxxxxxxxxx", "max_distance": 500, "min_ball": 50, "prioritize_vips": true, "snipe": false, "snipe_high_prio_only": true, "snipe_high_prio_threshold": 400, "update_map": true, "mode": "priority", "map_path": "raw_data", "catch": { "==========Legendaries==========": 0, "Aerodactyl": 1000, "Snorlax": 1000, "Articuno": 1000, "Zapdos": 1000, "Moltres": 1000, "Dratini": 1000, "Dragonair": 1000, "Dragonite": 1000, "Mewtwo": 1000, "Mew": 1000,
}
Thanks for ur help