"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 rqt_console rqt_console", and the detail output is:
Traceback (most recent call last):
File "E:\dev\ros2-eloquent\ros2-windows\Scripts\ros2-script.py", line 11, in <module> load_entry_point('ros2cli==0.8.7', 'console_scripts', '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 run_executable(path=path, argv=args.argv, prefix=prefix)
File "E:\dev\ros2-eloquent\ros2-windows\Lib\site-packages\ros2run\api__init__.py", line 61, in run_executable process = subprocess.Popen(cmd)
File "c:\python37\lib\subprocess.py", line 800, in __init__ restore_signals, start_new_session)
File "c:\python37\lib\subprocess.py", line 1207, in _execute_child startupinfo)
OSError: [WinError 193] %1 is not a valid Win32 application.
Any answer and idea will be appreciated!
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!
I found the same problem, rqt_console.exe is not there. I built from scratch and still not there.
Same error here. Seems a bug fix was added a week ago; waiting for release. More details here: https://github.com/ros-visualization/...