I was trying to run a program created in TIGER (Visual Coding) in the textual coding part of the IDE. In order to do that I simply tried to run the script created in TIGER within the textual coding environment.Â
The script works fine in the TIGER environment. However I get an error as in the title upon execution of the script.
Â
The full traceback is as follows:
"# cd '/var/snap/rexroth-ide/common/solutions/activeConfiguration' && env '/usr/bin/python3' '/var/snap/rexroth-ide/common/plugins/vscode-python/extension/pythonFiles/lib/python/debugpy/launcher' '46181' '--' '/var/snap/rexroth-ide/common/solutions/activeConfiguration/scripts/bosch/tiger/42922355-dd61-47c4-b180-c5e1dc3b1134.py'
System architecture: x86_64
Traceback (most recent call last):
File "/var/snap/rexroth-ide/common/solutions/activeConfiguration/scripts/bosch/tiger/42922355-dd61-47c4-b180-c5e1dc3b1134.py", line 1375, in <module>
class motion:
File "/var/snap/rexroth-ide/common/solutions/activeConfiguration/scripts/bosch/tiger/42922355-dd61-47c4-b180-c5e1dc3b1134.py", line 1376, in motion
Axis_1 = motion.factory.create_axis("""Axis_1""",
File "/var/snap/rexroth-ide/common/solutions/activeConfiguration/scripts/bosch/tiger/42922355-dd61-47c4-b180-c5e1dc3b1134.py", line 1251, in create_axis
MotionLib.attach_obj(name)
AttributeError: module 'motion' has no attribute 'attach_obj'
# "
Â
Do I need to do an extra configuration in the textual coding in order to run scripts from the visual coding side?
Thank you