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

AttributeError: "SimpleWatchdog" object has no attribute "printEpochs" #142

Closed
CrispyBacon1999 opened this issue Mar 21, 2019 · 6 comments
Closed

Comments

@CrispyBacon1999
Copy link

A CSA needed help at an event where the team's code is crashing in autonomous. They aren't using a selector for it and are just running teleop code in autonomous and are getting errors on code pushed in commit #141 on line 273. I suggested to revert back to the previous version of robotpy just to be sure that it's just that change that broke it.

Console from driver station is included. They updated to .3 after their last competition that was running .2

Code Image

@virtuald
Copy link
Member

Updating to robotpy-wpilib-utilities 2019.0.9 addresses this issue.

@JDuskey
Copy link

JDuskey commented Mar 21, 2019

How do we upgrade in the future to avoid problems like this? I don't know what packages I need to update every time a new release is given. pip install --upgrade pyfrc does not upgrade everything.

@auscompgeek
Copy link
Member

robotpy-installer download-robotpy will grab the core RobotPy packages, including this, for the roboRIO.

@virtuald
Copy link
Member

Hm, it might not, since it would use -U. We need to update the documentation/implementation for pip.

@virtuald
Copy link
Member

virtuald commented Mar 22, 2019

As @auscompgeek pointed out to me ... not very long ago, but I forget when... I think we need to tell people to do pip install -U --upgrade-strategy=eager pyfrc.

When using robotpy-installer, it would need to do this also. It probably needs to do this on install also. Needs some testing.

@auscompgeek
Copy link
Member

pip download doesn't have an upgrade option, so it'll always download the latest version. robotpy-installer install-robotpy lists each package as well, so they will get upgraded regardless.

We do need to update the documentation for local development though.

@auscompgeek auscompgeek pinned this issue Mar 22, 2019
@auscompgeek auscompgeek unpinned this issue Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants