-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
###### Problem
On dev branch pulled 5 mins ago
using lucky eggs are broken
###### config
enabling evolve caused the error
{
"type": "EvolvePokemon",
"config": {
"evolve_all": "all",
"first_evolve_by": "iv",
"evolve_above_cp": 0,
"evolve_above_iv": 0.8,
"logic": "or",
"evolve_speed": 20,
"use_lucky_egg": true
}
},
### Exception:
Traceback (most recent call last):
File "pokecli.py", line 595, in
main()
File "pokecli.py", line 105, in main
bot.tick()
File "/home/nburn42/Projects/PokemonGo-Bot/pokemongo_bot/init.py", line 532, in tick
if worker.work() == WorkerResult.RUNNING:
File "/home/nburn42/Projects/PokemonGo-Bot/pokemongo_bot/cell_workers/evolve_pokemon.py", line 27, in work
if not self._should_run():
File "/home/nburn42/Projects/PokemonGo-Bot/pokemongo_bot/cell_workers/evolve_pokemon.py", line 49, in _should_run
lucky_egg_count = self.bot.item_inventory_count(Item.ITEM_LUCKY_EGG.value)
AttributeError: 'PokemonGoBot' object has no attribute 'item_inventory_count'
2016-08-18 21:54:04,108 [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 "/usr/local/lib/python2.7/dist-packages/raven/transport/threaded.py", line 174, in send_sync
super(ThreadedHTTPTransport, self).send(data, headers)
File "/usr/local/lib/python2.7/dist-packages/raven/transport/http.py", line 47, in send
ca_certs=self.ca_certs,
File "/usr/local/lib/python2.7/dist-packages/raven/utils/http.py", line 44, in urlopen
class ValidHTTPSHandler(urllib2.HTTPSHandler):
AttributeError: 'module' object has no attribute 'HTTPSHandler'
2016-08-18 21:54:04,108 [sentry.errors.uncaught] [ERROR] [u"AttributeError: 'PokemonGoBot' object has no attribute 'item_inventory_count'", u' File "pokecli.py", line 595, in ', u' File "pokecli.py", line 105, in main', u' File "pokemongo_bot/init.py", line 532, in tick', u' File "pokemongo_bot/cell_workers/evolve_pokemon.py", line 27, in work', u' File "pokemongo_bot/cell_workers/evolve_pokemon.py", line 49, in _should_run']
Thu Aug 18 21:54:04 EDT 2016 Pokebot Stopped.
run.sh: 28: read: Illegal option -s
Other Information
OS:
ubuntu
Branch:
dev
Git Commit:
3dfe476
Python Version:
2.7
Thanks for taking the time I can't spare myself at the moment.