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

keep getting this Traceback after about 3 mins. #4555

Closed
LoadCroc opened this issue Aug 22, 2016 · 8 comments
Closed

keep getting this Traceback after about 3 mins. #4555

LoadCroc opened this issue Aug 22, 2016 · 8 comments

Comments

@LoadCroc
Copy link

keep getting this call back after about 3 mins,
"health_record": false.

Traceback (most recent call last):
File "C:\Program Files (x86)\pokemon\FileChecker\pokecli.py", line 674, in
main()
File "C:\Program Files (x86)\pokemon\FileChecker\pokecli.py", line 118, in main
bot.tick()
File "C:\Program Files (x86)\pokemon\FileChecker\pokemongo_bot__init__.py", line 541, in tick
if worker.work() == WorkerResult.RUNNING:
File "C:\Program Files (x86)\pokemon\FileChecker\pokemongo_bot\cell_workers\follow_path.py", line 143, in work
'current_position': (lat, lng, alt),
UnboundLocalError: local variable 'alt' referenced before assignment

@mjmadsen
Copy link
Contributor

mjmadsen commented Aug 22, 2016

What commit are you using?

Post your path config as well.

#4493

@LoadCroc
Copy link
Author

this #4493 didn't work

Traceback (most recent call last):
File "C:\Program Files (x86)\pokemon\FileChecker\pokecli.py", line 46, in
from pokemongo_bot import inventory
File "C:\Program Files (x86)\pokemon\FileChecker\pokemongo_bot__init__.py", line 19, in
import cell_workers
File "C:\Program Files (x86)\pokemon\FileChecker\pokemongo_bot\cell_workers__init__.py", line 16, in
from follow_path import FollowPath
File "C:\Program Files (x86)\pokemon\FileChecker\pokemongo_bot\cell_workers\follow_path.py", line 115
alt = 0
^
IndentationError: unexpected indent

@LoadCroc
Copy link
Author

@mjmadsen didn't work #4493

@mjmadsen
Copy link
Contributor

Are you in the dev branch? If so, git pull as your follow_path looks outdated.

@mjmadsen mjmadsen reopened this Aug 22, 2016
@LoadCroc
Copy link
Author

LoadCroc commented Aug 22, 2016

@mjmadsen just pulled dev then, was in the main b4.

@mjmadsen
Copy link
Contributor

mjmadsen commented Aug 22, 2016

Hm. What was the error log?

@LoadCroc
Copy link
Author

LoadCroc commented Aug 22, 2016

ok running the dev now no fail atm, it was just the main pull of git.

it walked, thx for the help

@mjmadsen
Copy link
Contributor

No problem. A few tips for future issue posts:
List your commit (the bot changes rapidly and has many contributors).
Post your config (just so we don't default it to human error)
Post the log from the bot (we can usually find where the issue is pretty quick)

Anyway, thanks for using the bot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants