robotpy / robotpy-wpilib

Moved to https://github.com/robotpy/mostrobotpy
https://robotpy.github.io
Other
169 stars 59 forks source link

Fix DataLogManager.getLog() trying to copy #708

Closed auscompgeek closed 2 years ago

auscompgeek commented 2 years ago

Traceback (most recent call last):
  File "~/.local/share/virtualenvs/rpy/lib/python3.10/site-packages/wpilib/_impl/start.py", line 131, in _start
    self.robot.startCompetition()
  File "~/dev/frc/robotpy/robotpy-wpilib-utilities/magicbot/magicrobot.py", line 355, in startCompetition
    self.robotInit()
  File "~/dev/frc/robotpy/robotpy-wpilib-utilities/magicbot/magicrobot.py", line 98, in robotInit
    self.createObjects()
  File "~/dev/frc/thedropbears/pyrapidreact/robot.py", line 47, in createObjects
    self.data_log = wpilib.DataLogManager.getLog()
RuntimeError: return_value_policy = copy, but type is non-copyable! (compile in debug mode for details)