JdeRobot / RoboticsApplicationManager

Robotic applications lifecycle management
3 stars 13 forks source link

[Thin Templates] Import time error when trying to run user code #121

Closed pawanw17 closed 5 months ago

pawanw17 commented 5 months ago
Traceback (most recent call last):
  File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/workspace/code/exercise.py", line 121, in process_code
    exec(iterative_code, reference_environment)
  File "<string>", line 18, in <module>
NameError: name 'time' is not defined

image

pawanw17 commented 5 months ago

fixed in https://github.com/JdeRobot/RoboticsApplicationManager/commit/bdfdf9140903b6f6b82f394eef05917bffcf40b7