"OSError: [WinError 193] %1" When Running "ros2 run rqt_console rqt_console"
Hi guys, I am learning the ROS2 on Windows by the tutorials. I meet an error "OSError: [WinError 193] %1" when running "ros2 run rqtconsole rqtconsole", and the detail output is:
Traceback (most recent call last):
File "E:\dev\ros2-eloquent\ros2-windows\Scripts\ros2-script.py", line 11, inloadentrypoint('ros2cli==0.8.7', 'consolescripts', 'ros2')()
File "E:\dev\ros2-eloquent\ros2-windows\Lib\site-packages\ros2cli\cli.py", line 69, in main rc = extension.main(parser=parser, args=args)
File "E:\dev\ros2-eloquent\ros2-windows\Lib\site-packages\ros2run\command\run.py", line 72, in main return runexecutable(path=path, argv=args.argv, prefix=prefix)
File "E:\dev\ros2-eloquent\ros2-windows\Lib\site-packages\ros2run\api_init.py", line 61, in runexecutable process = subprocess.Popen(cmd)
File "c:\python37\lib\subprocess.py", line 800, in init restoresignals, startnewsession)
File "c:\python37\lib\subprocess.py", line 1207, in _executechild startupinfo)
OSError: [WinError 193] %1 is not a valid Win32 application.
Any answer and idea will be appreciated!
Asked by songyuc on 2020-04-28 03:22:04 UTC
Comments
I have the exact same problem in the tutorial (new to ROS), no clue how to fix it but I was able to get around it by going into a cmd terminal and opening rqt. Then in the toolbar I clicked "Plugins" > "Logging" > "Console". I was able to complete the tutorial that way. Hope that helps!
Asked by neeewton on 2020-05-10 20:15:38 UTC
I found the same problem, rqt_console.exe is not there. I built from scratch and still not there.
Asked by pauceano on 2020-08-15 21:44:02 UTC
Same error here. Seems a bug fix was added a week ago; waiting for release. More details here: https://github.com/ros-visualization/rqt_console/issues/20
Asked by sabin on 2021-02-01 15:11:25 UTC