Comments (13)
It's already patched in the conda-forge feedstock: https://github.com/conda-forge/rosdep-feedstock/blob/master/recipe/add-robostack.patch
So we just need to define ROS_ETC_DIR
somewhere, similarly to https://github.com/ros/ros_environment/blob/noetic/env-hooks/1.ros_etc_dir.sh.em
from ros-galactic.
After rebuilding the workspace package that should be fixed
from ros-galactic.
Related to #7 .
fyi @Tobias-Fischer @gregfreeman
from ros-galactic.
Possibly a duplicate of #1 .
from ros-galactic.
I just tried after manually sourcing the environment via the commands described in #5 (comment) , but the issue persists. On Windows a file outside the environment is created, but it is not creating an error as apparently I have the permission to do so:
(ros2) C:\Users\STraversaro>rosdep init
Wrote /etc/ros\rosdep\sources.list.d\20-default.list
Recommended: please run
rosdep update
from ros-galactic.
but the rosdep is essentially the same as for noetic, isn't it?
from ros-galactic.
ERROR: cannot create /etc/ros/rosdep/sources.list.d:
[Errno 13] Permission denied: '/etc/ros'
This looks like rosdep init is failing to run because it is trying to write to the root /etc/ros
rather than a conda environment. As far as I know there is no way to avoid this without the changes proposed in ros-infrastructure/rosdep#583
How is that working for the noetic instructions?
from ros-galactic.
I guess it is somehow related to this patch: https://github.com/RoboStack/ros-noetic/blob/cbd8a2011de90923a154bca7533d0e1578269065/patch/ros-noetic-rosdep.patch . However, I tought rosdep is not package by robostack but in conda-forge, let me check that.
from ros-galactic.
Based on the rosdep patch in conda-forge, I guess we need to set ROS_ETC_DIR
somehow, see https://github.com/conda-forge/rosdep-feedstock/blob/master/recipe/add-robostack.patch#L326 .
from ros-galactic.
At a first glance, it seems that in ROS1 ROS_ETC_DIR
is defined in https://github.com/ros/ros_environment/blob/noetic/env-hooks/1.ros_etc_dir.sh.em, that then is copied in the correct location by https://github.com/RoboStack/ros-noetic/blob/6aee2cd0311ebe70219cd32bf85e67a313bb7e0d/additional_recipes/build_catkin.sh#L85 .
This is a related issue: ros/ros_environment#25 .
from ros-galactic.
Ok, it seems that the options are:
- either We define
ROS_ETC_DIR
in some package (as a local package inros-galactic-workspace
?) - or We backport https://github.com/ros-infrastructure/rosdep/pull/583/files to rosdep in conda-forge, and we define
ROSDEP_ETC_DIR
somewhere (see the previous point)
Do you see any other possible solution @Tobias-Fischer @nuclearsandwich ?
from ros-galactic.
Fix suggested in RoboStack/vinca#13
from ros-galactic.
Works fine
from ros-galactic.
Related Issues (20)
- rviz2 crashes with Ubuntu 22.04 with libGL error: MESA-LOADER: failed to open swrast: error HOT 6
- `rosdep` on Windows debugging advice?
- Windows MoveIt errors with `srdfdom.dll` missing from `%CONDA_PREFIX%\Library\bin` folder. (works in humble) HOT 8
- Ignition Gazebo crashes on start (works in humble but not galactic) HOT 13
- how would i install ros-galactic-octomap-msgs using mamba HOT 2
- ERROR conda.cli.main_run:execute | inside docker HOT 2
- PCL version HOT 2
- ROS default msgs missing functions HOT 4
- ModuleNotFoundError: No module named 'rclpy._rclpy_pybind11' when running qrt_graph HOT 1
- ItemIdentityException when trying to run RViz2 HOT 4
- Fail to install `rosidl` due to python version incompatible HOT 4
- After running colcon build, the file install/setup.bash is not generated. HOT 6
- rviz2 does not start on OS X M1 HOT 12
- Windows ros2cli not found HOT 2
- Fix Windows build after PR 75 HOT 10
- osx-64 uses qt-main which is incompatible with conda-forge (fixed in humble)
- Create activate scripts for PowerShell HOT 3
- Fix build of mimick vendor in CI for windows HOT 2
- ModuleNotFoundError: No module named 'rclpy._rclpy_pybind11' on Windows on Python 3.9 HOT 7
- Fix build Pilz industrial motion planner on Win HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ros-galactic.