conda-forge / gazebo-feedstock

A conda-smithy repository for gazebo.
BSD 3-Clause "New" or "Revised" License
9 stars 8 forks source link

conda-forge's Gazebo puts file outside of conda environment #100

Open traversaro opened 2 years ago

traversaro commented 2 years ago

I just setup a clean system with WSL, and I noticed the following:

(gazebo) traversaro@IITICUBLAP257:~$ gazebo --verbose
Gazebo multi-robot simulator, version 11.8.1
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
Gazebo multi-robot simulator, version 11.8.1
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 172.29.146.55
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 172.29.146.55
[Wrn] [GuiIface.cc:298] Couldn't locate specified .ini. Creating file at "/home/traversaro/.gazebo/gui.ini"
[Msg] Loading world file [/home/traversaro/mambaforge/envs/gazebo/share/gazebo-11/worlds/empty.world]

Indeed, the whole ~/.gazebo folder is put there by conda, but it creates a possibility of cross-talking with apt packages.

traversaro commented 2 years ago

Cross-link to related issue: https://github.com/conda-forge/conda-forge.github.io/issues/1539 .