You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
since the last "release", "walk" is deprecated and replaced by "walk_min" or "walk_max"
But it may happened (I did not know how follow spiral is triggered), the following behavior :
Traceback (mostrecentcalllast):
File"pokecli.py", line609, in<module>main()
File"pokecli.py", line104, inmainbot.tick()
File"/home/foxmask/PokemonGo-Bot/pokemongo_bot/__init__.py", line483, intickifworker.work() ==WorkerResult.RUNNING:
File"/home/foxmask/PokemonGo-Bot/pokemongo_bot/cell_workers/follow_spiral.py", line117, inworkifdist<=1or (self.bot.config.walk>0andstep_walker==None):
AttributeError: 'Namespace'objecthasnoattribute'walk'
[...]
UnicodeDecodeError: 'ascii'codeccan'tdecodebyte0x9cinposition1: ordinalnotinrange(128)
[sentry.errors.uncaught] [ERROR] [u"AttributeError: 'Namespace' object has no attribute 'walk'", u' File "pokecli.py", line 609, in <module>', u' File "pokecli.py", line 104, in main', u' File "pokemongo_bot/__init__.py", line 483, in tick', u' File "pokemongo_bot/cell_workers/follow_spiral.py", line 117, in work']
I made a test by replacing on line 117 :
self.bot.config.walk
by
self.bot.config.walk_min
and there seems to not crashing anymore, but I dont know what is the expected behavior here, if it should be self.bot.config.walk_min or self.bot.config.walk_max
Steps to Reproduce
I did not find the moment when the follow sprital is triggered
Expected Behavior
no crash
Actual Behavior
bot crashed
Your FULL config.json (remove your username, password, gmapkey and any other private info)
Output when issue occurred
Hi,
since the last "release", "walk" is deprecated and replaced by "walk_min" or "walk_max"
But it may happened (I did not know how follow spiral is triggered), the following behavior :
I made a test by replacing on line 117 :
by
and there seems to not crashing anymore, but I dont know what is the expected behavior here, if it should be self.bot.config.walk_min or self.bot.config.walk_max
Steps to Reproduce
I did not find the moment when the follow sprital is triggered
Other Information
OS:linux
Branch: master
Git Commit: 52495ae
Python Version:
Python 2.7.9
The text was updated successfully, but these errors were encountered: