iirob / ros_opcua_communication

GNU Lesser General Public License v3.0
37 stars 35 forks source link

SyntaxError: invalid syntax #27

Open usman2k opened 3 years ago

usman2k commented 3 years ago

I installed it in Ros noetic environment, When I am launching the folliwing command (as mentioned in Readme file) roslaunch ros_opcua_impl_python_opcua rosopcua.launch Then i am getting follwing error File "/root/catkin_ws/src/ros_opcua_communication/ros_opcua_impl_python_opcua/scripts/ros_server.py", line 11, in import ros_services File "/root/catkin_ws/src/ros_opcua_communication/ros_opcua_impl_python_opcua/scripts/ros_services.py", line 141 except IndexError, common.uaerrors.UaError: ^ SyntaxError: invalid syntax error in OPC UA ros Package

destogl commented 3 years ago

Hi @usman2k, thanks for your interest into the library. Are you running python3? Did you manage to resolve this? If so would you like to share your work in a PR?

MauSanchez1998 commented 2 years ago

Hello, @usman2k! Did you find a solution? I am having the same problem. Thnx