-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iCub-CRIS training 2021/06/10 #2
Comments
@HosameldinMohamed @isorrentino can you report the problems you were having? |
@Giulero feel free to report the zsh problem. |
@traversaro what we did after creating the environment and installing Gazebo crashes and gives this error
But this is not producible every time I try it. After the training I've tried it many times. In some times Gazebo was starting normally. Note: I have already Gazebo installed from the source. |
Thanks @HosameldinMohamed ! Two comments:
|
@drdanz reported that it would be useful to know what Miniconda and mamba is. The latter explanation will be necessary especially if we switch to use mamba in the instructions. |
Thinkg to add:
|
Link to the video registration: https://youtu.be/DF2aZa1GhYo . |
@traversaro sure! When I type pathremove:5: bad substitution
pathremove:5: bad substitution
pathremove:5: bad substitution If I type it again, in the same terminal (I guess it calls the pathremove:5: bad substitution
pathremove:5: bad substitution
pathremove:5: bad substitution
pathappend:3: bad substitution
pathappend:3: bad substitution
pathappend:3: bad substitution Maybe the issue comes from the lines added in the # >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/icublap127/miniconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/icublap127/miniconda3/etc/profile.d/conda.sh" ]; then
. "/home/icublap127/miniconda3/etc/profile.d/conda.sh"
else
export PATH="/home/icublap127/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<< and conda() {
if [ "$#" -lt 1 ]; then
"$CONDA_EXE" $_CE_M $_CE_CONDA
else
\local cmd="$1"
shift
case "$cmd" in
activate|deactivate)
__conda_activate "$cmd" "$@"
;;
install|update|upgrade|remove|uninstall)
CONDA_INTERNAL_OLDPATH="${PATH}"
__add_sys_prefix_to_path
"$CONDA_EXE" $_CE_M $_CE_CONDA "$cmd" "$@"
\local t1=$?
PATH="${CONDA_INTERNAL_OLDPATH}"
if [ $t1 = 0 ]; then
__conda_reactivate
else
return $t1
fi
;;
*)
CONDA_INTERNAL_OLDPATH="${PATH}"
__add_sys_prefix_to_path
"$CONDA_EXE" $_CE_M $_CE_CONDA "$cmd" "$@"
\local t1=$?
PATH="${CONDA_INTERNAL_OLDPATH}"
return $t1
;;
esac
fi
} present in
__conda_activate() {
if [ -n "${CONDA_PS1_BACKUP:+x}" ]; then
# Handle transition from shell activated with conda <= 4.3 to a subsequent activation
# after conda updated to >= 4.4. See issue #6173.
PS1="$CONDA_PS1_BACKUP"
\unset CONDA_PS1_BACKUP
fi
\local cmd="$1"
shift
\local ask_conda
CONDA_INTERNAL_OLDPATH="${PATH}"
__add_sys_prefix_to_path
ask_conda="$(PS1="$PS1" "$CONDA_EXE" $_CE_M $_CE_CONDA shell.posix "$cmd" "$@")" || \return $?
rc=$?
PATH="${CONDA_INTERNAL_OLDPATH}"
\eval "$ask_conda"
if [ $rc != 0 ]; then
\export PATH
fi
__conda_hashr
} |
Not when i wrote this #2 (comment).
Doing both requests doesn't solve it. Again, some times Gazebo starts normally and others the error happens. Note: I am not sure if it's relevant, but I am not using Ubuntu based OS. I am using Manjaro! |
Ok, this bug officially graduated to its own discussion: conda-forge/gazebo-feedstock#81 . Please continue the discussion there, thanks! |
Just to clarify, if this @HosameldinMohamed problem was not fixed by removing the superbuild's setup.sh, probably it is a problem different from the problem of @isorrentino or @GiulioRomualdi ? |
Thanks! This error are similar to the one experienced by @lrapetti in robotology/robotology-superbuild#779, let's continue the discussion there. My the way, there is any reason why you install |
Not really. I was just using |
I just tested zsh after the fixes in robotology/robotology-superbuild#810 and everything seems to work, no |
This will be fixed by robotology/robotology-superbuild#847 . |
This are actually two distinct problem:
|
Will be fixed by robotology/robotology-superbuild#850 . |
A first run of the traning based on the material on this repo will be done on 2021/06/10 on IIT. The slides used will be:
2021-06-09-conda-for-scientific-robotics-software-research-and-development.pdf
The text was updated successfully, but these errors were encountered: