You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\osrf>ros2 run lifecycle lifecycle_service_client_py.py
Traceback (most recent call last):
File "C:\dev\ros2\Scripts\ros2-script.py", line 11, in <module>
load_entry_point('ros2cli==0.0.0', 'console_scripts', 'ros2')()
File "C:\dev\ros2\Lib\site-packages\ros2cli\cli.py", line 64, in main
rc = extension.main(parser=parser, args=args)
File "C:\dev\ros2\Lib\site-packages\ros2run\command\run.py", line 73, in main
return run_executable(path=path, argv=args.argv, prefix=prefix)
File "C:\dev\ros2\Lib\site-packages\ros2run\api\__init__.py", line 55, in run_executable
completed_process = subprocess.run(cmd)
File "C:\Python36\lib\subprocess.py", line 403, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Python36\lib\subprocess.py", line 707, in __init__
restore_signals, start_new_session)
File "C:\Python36\lib\subprocess.py", line 992, in _execute_child
startupinfo)
OSError: [WinError 193] %1 is not a valid Win32 application
Additional information
Same error if I drop the .py
C:\Users\osrf>ros2 run lifecycle lifecycle_service_client_py
Traceback (most recent call last):
File "C:\dev\ros2\Scripts\ros2-script.py", line 11, in <module>
load_entry_point('ros2cli==0.0.0', 'console_scripts', 'ros2')()
File "C:\dev\ros2\Lib\site-packages\ros2cli\cli.py", line 64, in main
rc = extension.main(parser=parser, args=args)
File "C:\dev\ros2\Lib\site-packages\ros2run\command\run.py", line 73, in main
return run_executable(path=path, argv=args.argv, prefix=prefix)
File "C:\dev\ros2\Lib\site-packages\ros2run\api\__init__.py", line 55, in run_executable
completed_process = subprocess.run(cmd)
File "C:\Python36\lib\subprocess.py", line 403, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Python36\lib\subprocess.py", line 707, in __init__
restore_signals, start_new_session)
File "C:\Python36\lib\subprocess.py", line 992, in _execute_child
startupinfo)
OSError: [WinError 193] %1 is not a valid Win32 application
The text was updated successfully, but these errors were encountered:
Note: it works if calling Lib\lifecycle\lifecycle_service_client_py.py
I think it comes from the fact that it is installed as a program but doesnt have an .exe and python files are not considered "Windows executables" on windows
MOVED TO ros2/demos#173
Bug report
Required Info:
Steps to reproduce issue
Source local_setup.bat and run this command (from this tutorial)
Expected behavior
Actual behavior
Additional information
Same error if I drop the
.py
The text was updated successfully, but these errors were encountered: