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
Hi,
I tried the cookbook steps without success. I was using administrator powershell (if not the installation didn't go through) and then changed to (admin) cmd as explained in the ReadMe until I got stuck at the call of cinc-solo:
Firstly, following the instructions this call is done in the folder ros2-cookbooks/cookbooks/ros2_windows which doesn't have the ros2_windows.json.
Besides that, I don't have the .chef folder neither the solo.rb. When trying to run the call in from ros2-cookbooks (where there is the ros2_windows.json) it fails outputting what I copy below.
I haven't used these tools before, am I doing something wrong?
Thank you!
C:\ros2-cookbooks>c:\cinc-project\cinc\bin\cinc-solo -c ros2-cookbooks\.chef\solo.rb -j ros2_windows.json
[2020-08-21T22:22:52+01:00] WARN: *****************************************
[2020-08-21T22:22:52+01:00] WARN: Did not find config file: C:/ros2-cookbooks/ros2-cookbooks/.chef/solo.rb. Using command line options instead.
[2020-08-21T22:22:52+01:00] WARN: *****************************************
[2020-08-21T22:22:52+01:00] WARN: No cookbooks directory found at or above current directory. Assuming c:\cinc.
[2020-08-21T22:22:52+01:00] WARN: *****************************************
[2020-08-21T22:22:52+01:00] WARN: Did not find config file: C:/ros2-cookbooks/ros2-cookbooks/.chef/solo.rb. Using command line options instead.
[2020-08-21T22:22:52+01:00] WARN: *****************************************
Starting Cinc Client, version 16.4.41
[2020-08-21T22:22:57+01:00] ERROR: Role ros2-development (included by 'top level') is in the runlist but does not exist. Skipping expand.
================================================================================
Error expanding the run_list:
================================================================================
Missing Role(s) in Run List:
----------------------------
* ros2-development included by 'top level'
Original Run List
-----------------
* role[ros2-development]
System Info:
------------
chef_version=16.4.41
platform=windows
platform_version=10.0.18362
ruby=ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x64-mingw32]
program_name=c:/cinc-project/cinc/bin/cinc-solo
executable=c:/cinc-project/cinc/bin/cinc-solo
Running handlers:
[2020-08-21T22:22:57+01:00] ERROR: Running exception handlers
Running handlers complete
[2020-08-21T22:22:57+01:00] ERROR: Exception handlers complete
Cinc Client failed. 0 resources updated in 04 seconds
[2020-08-21T22:22:57+01:00] FATAL: Stacktrace dumped to c:/ros2-cookbooks/ros2-cookbooks/.chef/local-mode-cache/cache/cinc-stacktrace.out
[2020-08-21T22:22:57+01:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2020-08-21T22:22:57+01:00] FATAL: Chef::Exceptions::MissingRole: The expanded run list includes nonexistent roles: ros2-development
The text was updated successfully, but these errors were encountered:
It looks like the big issue here is there is no solo.rb file, which tells chef where to find roles and recipes. I'll create a follow-up PR, but you can create a simple solo.rb in ros2-cookbooks/chef that looks like:
Hi,
I tried the cookbook steps without success. I was using administrator powershell (if not the installation didn't go through) and then changed to (admin) cmd as explained in the ReadMe until I got stuck at the call of cinc-solo:
Firstly, following the instructions this call is done in the folder ros2-cookbooks/cookbooks/ros2_windows which doesn't have the ros2_windows.json.
Besides that, I don't have the .chef folder neither the solo.rb. When trying to run the call in from ros2-cookbooks (where there is the ros2_windows.json) it fails outputting what I copy below.
I haven't used these tools before, am I doing something wrong?
Thank you!
The text was updated successfully, but these errors were encountered: