Comments (3)
From the docs for os.getlogin:
Return the name of the user logged in on the controlling terminal of the process. For most purposes, it is more useful to use getpass.getuser() since the latter checks the environment variables LOGNAME or USERNAME to find out who the user is
So if the deploy is somehow run detached from a TTY it'll definitely error.
from pyfrc.
Yeah it was weird. We tried in the terminal app and in the vscode terminal and they both did that. I didn't look further. I patched his pyfrc to get rid of the call and hardcoded his name.
from pyfrc.
Closed by #221.
from pyfrc.
Related Issues (20)
- Vision Simulator Referencing Old PhysicsInterface
- Remove exec from frcRunRobot.sh HOT 2
- Provide mechanism to pass git hash / other things as part of deploy HOT 14
- pyfrc.physics.core uses deprecated imp module HOT 1
- [BUG]: tests do not clear solenoid usage
- [BUG]: slow deploy HOT 2
- [BUG]: VisionSim computes the angle in radians HOT 1
- Add mypy or pyright checker on deploy HOT 1
- PhysicsEngine should be a Protocol for type checking HOT 3
- pyfrc tests don't work with pytest-xdist HOT 1
- Change pkg-resources stuff to not require strict versioning HOT 1
- Read team number/robot hostname from pyproject.toml HOT 1
- Basic tests don't run on blue or red alliance HOT 1
- [BUG]: Tests and Debugger don't get along well. HOT 1
- [BUG]: impossible to use profiler subcommand on sim
- [BUG] Cleanup doesn't occur correctly if tests fail HOT 1
- Run tests in subprocess instead of reloading robot code
- [BUG]: wpilib.SendableChooser subscriptions not cleaned between tests
- [BUG]: 2 second timeout on robot init is occasionally hit in tests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyfrc.