Hello, I've been trying to turn the sample HelloWorld application from the cloud9 IDE. I have followed the steps listed on the developer guide but get stuck on step 4 bundling https://docs.aws.amazon.com/robomaker/latest/dg/gs-simulation.html.
This is the output I get when I attempt to bundle the HelloWorld Robot:
[367.691s] DEBUG:colcon.colcon_bundle.verb:Start: workspace.tar.gz
[367.696s] ERROR:colcon:colcon bundle: [Errno 13] Permission denied: '/usr/local/lib/python3.6/dist-packages/colcon_bundle/verb/assets/v2_workspace_setup.bash'
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/colcon_core/command.py", line 528, in verb_main
rc = context.args.main(context=context)
File "/usr/local/lib/python3.6/dist-packages/colcon_bundle/verb/bundle.py", line 143, in main
dependencies_changed)
File "/usr/local/lib/python3.6/dist-packages/colcon_bundle/verb/_archive_generators.py", line 104, in generate_archive_v2
workspace_tar_gz_path)
File "/usr/local/lib/python3.6/dist-packages/colcon_bundle/verb/_overlay_utilities.py", line 32, in create_workspace_overlay
_CONTEXT_VAR_BASH
File "/usr/local/lib/python3.6/dist-packages/colcon_bundle/verb/_overlay_utilities.py", line 160, in _generate_template
with open(script_location, 'w') as file:
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.6/dist-packages/colcon_bundle/verb/assets/v2_workspace_setup.bash'
I'm not really sure how to fix this or how to give permission. I have tried reinstalling colcon and updating colcon, but all have seemed to fail for me. Can someone please give me the steps to bundle and not run into this permissions error?
Edited by: akp271 on Feb 9, 2021 12:53 PM