-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Dev branch: sudden break when arrived at Gym ... #6123
Comments
Can show us your config for gym pokemon? |
This is not a config error. I noticed the error aswell. Gym name is 春長鶴松, whicht is not ascii. Event_mgr does some strange ascii conversion. |
pals, I disabled GymPokemon. |
goedzo
added a commit
to goedzo/PokemonGo-Bot
that referenced
this issue
Jul 24, 2017
MerlionRock
added a commit
that referenced
this issue
Jul 24, 2017
It's fixed, closing |
goedzo
added a commit
to goedzo/PokemonGo-Bot
that referenced
this issue
Jul 25, 2017
Jcolomar
added a commit
that referenced
this issue
Jul 25, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Not sure what happened.
My bot is "dev branch" that is cloned at 7/24 16:00 (TimeZone: +8)
It just breaks and restart to login ...
[2017-07-24 17:47:02] [GymPokemon] [INFO] Moving towards open Gym 春長鶴松 - 0.06km
[2017-07-24 17:47:05] [GymPokemon] [INFO] Moving towards open Gym 春長鶴松 - 0.06km
[2017-07-24 17:47:07] [GymPokemon] [INFO] Moving towards open Gym 春長鶴松 - 0.06km
[2017-07-24 17:47:10] [GymPokemon] [INFO] Moving towards open Gym 春長鶴松 - 0.05km
[2017-07-24 17:47:13] [GymPokemon] [INFO] Moving towards open Gym 春長鶴松 - 0.05km
[2017-07-24 17:47:15] [GymPokemon] [INFO] Moving towards open Gym 春長鶴松 - 0.05km
[2017-07-24 17:47:17] [GymPokemon] [INFO] Moving towards open Gym 春長鶴松 - 0.04km
[2017-07-24 17:47:21] [GymPokemon] [INFO] Moving towards open Gym 春長鶴松 - 0.04km
[2017-07-24 17:47:23] [GymPokemon] [INFO] Arrived at Gym 春長鶴松.
[2017-07-24 17:47:23] [ cli] [INFO]
[2017-07-24 17:47:23] [ cli] [INFO] Ran for 0:01:25
[2017-07-24 17:47:23] [ cli] [INFO] Total XP Earned: 0 Average: 0.00/h
[2017-07-24 17:47:23] [ cli] [INFO] Travelled 0.07km
[2017-07-24 17:47:23] [ cli] [INFO] Visited 0 stops
[2017-07-24 17:47:23] [ cli] [INFO] Encountered 0 pokemon, 0 caught, 0 released, 0 evolved, 0 never seen before ()
[2017-07-24 17:47:23] [ cli] [INFO] Threw 0 pokeballs
[2017-07-24 17:47:23] [ cli] [INFO] Earned 0 Stardust
[2017-07-24 17:47:23] [ cli] [INFO] Hatched eggs 0
[2017-07-24 17:47:23] [ cli] [INFO] Next egg hatches in 0.45 km
[2017-07-24 17:47:23] [ cli] [INFO]
[2017-07-24 17:47:23] [ cli] [INFO] Highest CP Pokemon:
[2017-07-24 17:47:23] [ cli] [INFO] Most Perfect Pokemon:
Traceback (most recent call last):
File "pokecli.py", line 884, in
main()
File "pokecli.py", line 206, in main
bot.tick()
File "/home/venney/project/pg03/pokemongo_bot/init.py", line 834, in tick
if worker.work() == WorkerResult.RUNNING:
File "/home/venney/project/pg03/pokemongo_bot/cell_workers/gym_pokemon.py", line 156, in work
result = self.move_to_destination()
File "/home/venney/project/pg03/pokemongo_bot/cell_workers/gym_pokemon.py", line 318, in move_to_destination
formatted=("Arrived at Gym %s." % gym_name)
File "/home/venney/project/pg03/pokemongo_bot/base_task.py", line 43, in emit_event
data=data
File "/home/venney/project/pg03/pokemongo_bot/event_manager.py", line 207, in emit
l_event = Event(event, sender, level, formatted, data)
File "/home/venney/project/pg03/pokemongo_bot/event_manager.py", line 56, in init
self.formatted = str(formatted).encode('utf-8', 'xmlcharrefreplace')
UnicodeEncodeError: 'ascii' codec can't encode characters in position 15-18: ordinal not in range(128)
[2017-07-24 17:47:24] [sentry.errors] [ERROR] Sentry responded with an error: 'module' object has no attribute 'HTTPSHandler' (url: https://app.getsentry.com/api/90254/store/)
Traceback (most recent call last):
File "/home/venney/project/pg03/local/lib/python2.7/site-packages/raven/transport/threaded.py", line 174, in send_sync
super(ThreadedHTTPTransport, self).send(data, headers)
File "/home/venney/project/pg03/local/lib/python2.7/site-packages/raven/transport/http.py", line 47, in send
ca_certs=self.ca_certs,
File "/home/venney/project/pg03/local/lib/python2.7/site-packages/raven/utils/http.py", line 44, in urlopen
class ValidHTTPSHandler(urllib2.HTTPSHandler):
AttributeError: 'module' object has no attribute 'HTTPSHandler'
[2017-07-24 17:47:24] [sentry.errors.uncaught] [ERROR] [u"UnicodeEncodeError: 'ascii' codec can't encode characters in position 15-18: ordinal not in range(128)", u' File "pokecli.py", line 884, in ', u' File "pokecli.py", line 206, in main', u' File "pokemongo_bot/init.py", line 834, in tick', u' File "pokemongo_bot/cell_workers/gym_pokemon.py", line 156, in work', u' File "pokemongo_bot/cell_workers/gym_pokemon.py", line 318, in move_to_destination', u' File "pokemongo_bot/base_task.py", line 43, in emit_event', u' File "pokemongo_bot/event_manager.py", line 207, in emit', u' File "pokemongo_bot/event_manager.py", line 56, in init']
Mon Jul 24 17:47:24 CST 2017 Pokebot Stopped.
Press any button or wait 6 seconds to continue.
2017-07-24 17:47:30,814 [ cli] [INFO] PokemonGO Bot v1.0
2017-07-24 17:47:30,819 [ cli] [INFO] commit: 105b269
2017-07-24 17:47:30,823 [ cli] [INFO] Configuration initialized
The text was updated successfully, but these errors were encountered: