Skip to content
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

Missing local_setup.ps1 on win-64 ros humble #108

Open
1 task done
ardiya opened this issue Sep 29, 2023 · 6 comments
Open
1 task done

Missing local_setup.ps1 on win-64 ros humble #108

ardiya opened this issue Sep 29, 2023 · 6 comments
Labels
bug Something isn't working windows

Comments

@ardiya
Copy link

ardiya commented Sep 29, 2023

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

Getting the following error. Missing local_setup.ps1

&: C:\Users\xxx\Software\Miniforge\etc\conda\activate.d\ros-humble-ros-workspace_activate.ps1:10
Line |
  10 |  & "${env:CONDA_PREFIX}\Library\local_setup.ps1"
     |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The term 'C:\Users\xxx\Software\Miniforge\Library\local_setup.ps1' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path
     | was included, verify that the path is correct and try again.

For reference, I can see the local_setup.bat but not local_setup.ps1. I think we need to find how the .ps1 is linked/created. Not sure if issue from robostack or from ros/ament.
image

Reproduce steps:

mamba create -n ros_env
mamba activate ros_env

conda config --env --add channels conda-forge
conda config --env --add channels robostack-staging
conda config --env --remove channels defaults

mamba install ros-humble-ros-base ros-humble-ros-core

Open new tab and then the error message above starts appearing.

Installed packages

argcomplete               3.1.2              pyhd8ed1ab_0    conda-forge
boltons                   23.0.0             pyhd8ed1ab_0    conda-forge
brotli-python             1.1.0           py310h00ffb61_0    conda-forge
bullet                    3.25                 h3bcd3f7_0    conda-forge
bullet-cpp                3.25                 hecd3228_0    conda-forge
bzip2                     1.0.8                h8ffe710_4    conda-forge
ca-certificates           2023.7.22            h56e8100_0    conda-forge
cairo                     1.16.0            h412253b_1017    conda-forge
catkin_pkg                1.0.0              pyhd8ed1ab_0    conda-forge
certifi                   2023.7.22          pyhd8ed1ab_0    conda-forge
cffi                      1.15.1          py310h628cb3f_3    conda-forge
charset-normalizer        3.2.0              pyhd8ed1ab_0    conda-forge
cmake                     3.27.4               hf0feee3_4    conda-forge
colorama                  0.4.6              pyhd8ed1ab_0    conda-forge
conda                     23.3.1          py310h5588dad_0    conda-forge
conda-libmamba-solver     23.3.0             pyhd8ed1ab_0    conda-forge
conda-package-handling    2.2.0              pyh38be061_0    conda-forge
conda-package-streaming   0.9.0              pyhd8ed1ab_0    conda-forge
console_bridge            1.0.2                h5362a0b_1    conda-forge
cppcheck                  2.12.1          py310h47ce786_1    conda-forge
cryptography              41.0.3          py310h6e82f81_0    conda-forge
distro                    1.8.0              pyhd8ed1ab_0    conda-forge
docutils                  0.20.1          py310h5588dad_2    conda-forge
eigen                     3.4.0                h91493d7_0    conda-forge
empy                      3.3.4              pyh9f0ad1d_1    conda-forge
exceptiongroup            1.1.3              pyhd8ed1ab_0    conda-forge
expat                     2.5.0                h63175ca_1    conda-forge
flake8                    6.1.0              pyhd8ed1ab_0    conda-forge
fmt                       9.1.0                h181d51b_0    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.14.2               hbde0cde_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
foonathan-memory          0.7.2                h57928b3_1    conda-forge
freetype                  2.12.1               hdaf720e_2    conda-forge
fribidi                   1.0.10               h8d14728_0    conda-forge
getopt-win32              0.1                  hcfcfb64_1    conda-forge
gettext                   0.21.1               h5728263_0    conda-forge
gmock                     1.14.0               h57928b3_1    conda-forge
graphite2                 1.3.13                     1000    conda-forge
graphviz                  8.1.0                h51cb2cd_0    conda-forge
gtest                     1.14.0               h91493d7_1    conda-forge
gts                       0.7.6                h6b5321d_4    conda-forge
harfbuzz                  8.2.1                h7ab893a_0    conda-forge
icu                       73.2                 h63175ca_0    conda-forge
idna                      3.4                pyhd8ed1ab_0    conda-forge
importlib-metadata        6.8.0              pyha770c72_0    conda-forge
importlib_resources       6.1.0              pyhd8ed1ab_0    conda-forge
iniconfig                 2.0.0              pyhd8ed1ab_0    conda-forge
intel-openmp              2023.2.0         h57928b3_49503    conda-forge
jsonpatch                 1.32               pyhd8ed1ab_0    conda-forge
jsonpointer               2.0                        py_0    conda-forge
krb5                      1.21.2               heb0366b_0    conda-forge
lark-parser               0.12.0             pyhd8ed1ab_0    conda-forge
lerc                      4.0.0                h63175ca_0    conda-forge
libarchive                3.6.2                h6f8411a_1    conda-forge
libblas                   3.9.0              18_win64_mkl    conda-forge
libcblas                  3.9.0              18_win64_mkl    conda-forge
libcurl                   8.2.1                hd5e4a3a_0    conda-forge
libdeflate                1.19                 hcfcfb64_0    conda-forge
libexpat                  2.5.0                h63175ca_1    conda-forge
libffi                    3.4.2                h8ffe710_5    conda-forge
libgd                     2.3.3                h4c0c323_8    conda-forge
libglib                   2.78.0               he8f3873_0    conda-forge
libhwloc                  2.9.3           default_haede6df_1009    conda-forge
libiconv                  1.17                 h8ffe710_0    conda-forge
libjpeg-turbo             2.1.5.1              hcfcfb64_1    conda-forge
liblapack                 3.9.0              18_win64_mkl    conda-forge
libmamba                  1.4.2                h8a7d157_0    conda-forge
libmambapy                1.4.2           py310h3fe4c2e_0    conda-forge
libpng                    1.6.39               h19919ed_0    conda-forge
libsolv                   0.7.24               h12be248_3    conda-forge
libsqlite                 3.43.0               hcfcfb64_0    conda-forge
libssh2                   1.11.0               h7dfc565_0    conda-forge
libtiff                   4.6.0                h4554b19_1    conda-forge
libuv                     1.44.2               hcfcfb64_1    conda-forge
libwebp                   1.3.2                hcfcfb64_0    conda-forge
libwebp-base              1.3.2                hcfcfb64_0    conda-forge
libxcb                    1.15                 hcd874cb_0    conda-forge
libxml2                   2.11.5               hc3477c8_1    conda-forge
libxslt                   1.1.37               h6070c61_1    conda-forge
libzlib                   1.2.13               hcfcfb64_5    conda-forge
lxml                      4.9.3           py310h46d54dd_1    conda-forge
lz4-c                     1.9.4                hcfcfb64_0    conda-forge
lzo                       2.10              he774522_1000    conda-forge
m2w64-gcc-libgfortran     5.3.0                         6    conda-forge
m2w64-gcc-libs            5.3.0                         7    conda-forge
m2w64-gcc-libs-core       5.3.0                         7    conda-forge
m2w64-gmp                 6.1.0                         2    conda-forge
m2w64-libwinpthread-git   5.0.0.4634.697f757               2    conda-forge
mamba                     1.4.2           py310hd9d798f_0    conda-forge
mccabe                    0.7.0              pyhd8ed1ab_0    conda-forge
menuinst                  1.4.19          py310h5588dad_1    conda-forge
miniforge_console_shortcut 1.0                  h57928b3_0    conda-forge
mkl                       2022.1.0           h6a75c08_874    conda-forge
msys2-conda-epoch         20160418                      1    conda-forge
netifaces                 0.11.0          py310h8d17308_2    conda-forge
numpy                     1.26.0          py310hf667824_0    conda-forge
openssl                   3.1.3                hcfcfb64_0    conda-forge
orocos-kdl                1.5.1                h63175ca_4    conda-forge
packaging                 23.1               pyhd8ed1ab_0    conda-forge
pango                     1.50.14              h07c897b_2    conda-forge
pcre                      8.45                 h0e60522_0    conda-forge
pcre2                     10.40                h17e33f8_0    conda-forge
pip                       23.2.1             pyhd8ed1ab_0    conda-forge
pixman                    0.42.2               h63175ca_0    conda-forge
pluggy                    1.3.0              pyhd8ed1ab_0    conda-forge
psutil                    5.9.5           py310h8d17308_1    conda-forge
pthread-stubs             0.4               hcd874cb_1001    conda-forge
pthreads-win32            2.9.1                hfa6e2cd_3    conda-forge
pybind11                  2.11.1          py310h232114e_2    conda-forge
pybind11-abi              4                    hd8ed1ab_3    conda-forge
pybind11-global           2.11.1          py310h232114e_2    conda-forge
pybullet                  3.25            py310hecd3228_0    conda-forge
pycodestyle               2.11.0             pyhd8ed1ab_0    conda-forge
pycosat                   0.6.4           py310h8d17308_1    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pydocstyle                6.3.0              pyhd8ed1ab_0    conda-forge
pyflakes                  3.1.0              pyhd8ed1ab_0    conda-forge
pygments                  2.16.1                   pypi_0    pypi
pyopenssl                 23.2.0             pyhd8ed1ab_1    conda-forge
pyparsing                 3.1.1              pyhd8ed1ab_0    conda-forge
pysocks                   1.7.1              pyh0701188_6    conda-forge
pytest                    7.4.2              pyhd8ed1ab_0    conda-forge
python                    3.10.12         h4de0772_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python_abi                3.10                    3_cp310    conda-forge
pyyaml                    6.0.1           py310h8d17308_1    conda-forge
reproc                    14.2.4               hcfcfb64_0    conda-forge
reproc-cpp                14.2.4               h63175ca_0    conda-forge
requests                  2.31.0             pyhd8ed1ab_0    conda-forge
ros-humble-action-msgs    1.2.1           py310ha45506e_3    robostack-staging
ros-humble-actionlib-msgs 4.2.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake    1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-auto 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-copyright 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-core 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-cppcheck 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-cpplint 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-export-definitions 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-export-dependencies 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-export-include-directories 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-export-interfaces 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-export-libraries 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-export-link-flags 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-export-targets 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-flake8 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-gen-version-h 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-gmock 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-gtest 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-include-directories 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-libraries 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-lint-cmake 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-pep257 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-pytest 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-python 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-ros 0.10.0          py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-target-dependencies 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-test 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-uncrustify 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-version 1.3.3           py310ha45506e_3    robostack-staging
ros-humble-ament-cmake-xmllint 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-copyright 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-cppcheck 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-cpplint  0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-flake8   0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-index-cpp 1.4.0           py310ha45506e_3    robostack-staging
ros-humble-ament-index-python 1.4.0           py310ha45506e_3    robostack-staging
ros-humble-ament-lint     0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-lint-auto 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-lint-cmake 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-lint-common 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-package  0.14.0          py310ha45506e_3    robostack-staging
ros-humble-ament-pep257   0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-uncrustify 0.12.5          py310ha45506e_3    robostack-staging
ros-humble-ament-xmllint  0.12.5          py310ha45506e_3    robostack-staging
ros-humble-builtin-interfaces 1.2.1           py310ha45506e_3    robostack-staging
ros-humble-class-loader   2.2.0           py310haec4aa5_3    robostack-staging
ros-humble-common-interfaces 4.2.3           py310ha45506e_3    robostack-staging
ros-humble-composition-interfaces 1.2.1           py310ha45506e_3    robostack-staging
ros-humble-console-bridge-vendor 1.4.1           py310haec4aa5_3    robostack-staging
ros-humble-diagnostic-msgs 4.2.3           py310ha45506e_3    robostack-staging
ros-humble-domain-coordinator 0.10.0          py310ha45506e_3    robostack-staging
ros-humble-eigen3-cmake-module 0.1.1           py310ha45506e_3    robostack-staging
ros-humble-fastcdr        1.0.24          py310ha45506e_3    robostack-staging
ros-humble-fastrtps       2.6.4           py310h3b33bf3_3    robostack-staging
ros-humble-fastrtps-cmake-module 2.2.0           py310ha45506e_3    robostack-staging
ros-humble-foonathan-memory-vendor 1.2.0           py310ha45506e_3    robostack-staging
ros-humble-geometry-msgs  4.2.3           py310ha45506e_3    robostack-staging
ros-humble-geometry2      0.25.2          py310ha45506e_3    robostack-staging
ros-humble-gmock-vendor   1.10.9004       py310ha45506e_3    robostack-staging
ros-humble-gtest-vendor   1.10.9004       py310ha45506e_3    robostack-staging
ros-humble-kdl-parser     2.6.4           py310ha45506e_3    robostack-staging
ros-humble-keyboard-handler 0.0.5           py310ha45506e_3    robostack-staging
ros-humble-launch         1.0.4           py310ha45506e_3    robostack-staging
ros-humble-launch-ros     0.19.4          py310ha45506e_3    robostack-staging
ros-humble-launch-testing 1.0.4           py310ha45506e_3    robostack-staging
ros-humble-launch-testing-ament-cmake 1.0.4           py310ha45506e_3    robostack-staging
ros-humble-launch-testing-ros 0.19.4          py310ha45506e_3    robostack-staging
ros-humble-launch-xml     1.0.4           py310ha45506e_3    robostack-staging
ros-humble-launch-yaml    1.0.4           py310ha45506e_3    robostack-staging
ros-humble-libstatistics-collector 1.3.0           py310ha45506e_3    robostack-staging
ros-humble-libyaml-vendor 1.2.2           py310ha45506e_3    robostack-staging
ros-humble-lifecycle-msgs 1.2.1           py310ha45506e_3    robostack-staging
ros-humble-message-filters 4.3.2           py310ha45506e_3    robostack-staging
ros-humble-nav-msgs       4.2.3           py310ha45506e_3    robostack-staging
ros-humble-orocos-kdl-vendor 0.2.5           py310ha45506e_3    robostack-staging
ros-humble-osrf-pycommon  2.0.2           py310ha45506e_3    robostack-staging
ros-humble-pluginlib      5.1.0           py310ha45506e_3    robostack-staging
ros-humble-pybind11-vendor 2.4.2           py310ha45506e_3    robostack-staging
ros-humble-python-cmake-module 0.10.0          py310ha45506e_3    robostack-staging
ros-humble-rcl            5.3.2           py310ha45506e_3    robostack-staging
ros-humble-rcl-action     5.3.2           py310ha45506e_3    robostack-staging
ros-humble-rcl-interfaces 1.2.1           py310ha45506e_3    robostack-staging
ros-humble-rcl-lifecycle  5.3.2           py310ha45506e_3    robostack-staging
ros-humble-rcl-logging-interface 2.3.1           py310ha45506e_3    robostack-staging
ros-humble-rcl-logging-spdlog 2.3.1           py310h5cedc13_3    robostack-staging
ros-humble-rcl-yaml-param-parser 5.3.2           py310ha45506e_3    robostack-staging
ros-humble-rclcpp         16.0.3          py310ha45506e_3    robostack-staging
ros-humble-rclcpp-action  16.0.3          py310ha45506e_3    robostack-staging
ros-humble-rclcpp-components 16.0.3          py310ha45506e_3    robostack-staging
ros-humble-rclcpp-lifecycle 16.0.3          py310ha45506e_3    robostack-staging
ros-humble-rclpy          3.3.7           py310ha45506e_3    robostack-staging
ros-humble-rcpputils      2.4.0           py310ha45506e_3    robostack-staging
ros-humble-rcutils        5.1.2           py310ha45506e_3    robostack-staging
ros-humble-rmw            6.1.1           py310ha45506e_3    robostack-staging
ros-humble-rmw-connextdds 0.11.1          py310ha45506e_3    robostack-staging
ros-humble-rmw-connextdds-common 0.11.1          py310ha45506e_3    robostack-staging
ros-humble-rmw-dds-common 1.6.0           py310ha45506e_3    robostack-staging
ros-humble-rmw-fastrtps-cpp 6.2.2           py310ha45506e_3    robostack-staging
ros-humble-rmw-fastrtps-dynamic-cpp 6.2.2           py310ha45506e_3    robostack-staging
ros-humble-rmw-fastrtps-shared-cpp 6.2.2           py310ha45506e_3    robostack-staging
ros-humble-rmw-implementation 2.8.2           py310ha45506e_3    robostack-staging
ros-humble-rmw-implementation-cmake 6.1.1           py310ha45506e_3    robostack-staging
ros-humble-robot-state-publisher 3.0.2           py310ha45506e_3    robostack-staging
ros-humble-ros-base       0.10.0          py310ha45506e_3    robostack-staging
ros-humble-ros-core       0.10.0          py310ha45506e_3    robostack-staging
ros-humble-ros-environment 3.2.2           py310ha45506e_3    robostack-staging
ros-humble-ros-workspace  1.0.2           py310ha45506e_4    robostack-staging
ros-humble-ros2action     0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2bag        0.15.4          py310ha45506e_3    robostack-staging
ros-humble-ros2cli        0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2cli-common-extensions 0.1.1           py310ha45506e_3    robostack-staging
ros-humble-ros2component  0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2doctor     0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2interface  0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2launch     0.19.4          py310ha45506e_3    robostack-staging
ros-humble-ros2lifecycle  0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2multicast  0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2node       0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2param      0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2pkg        0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2run        0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2service    0.18.5          py310ha45506e_3    robostack-staging
ros-humble-ros2topic      0.18.5          py310ha45506e_3    robostack-staging
ros-humble-rosbag2        0.15.4          py310ha45506e_3    robostack-staging
ros-humble-rosbag2-compression 0.15.4          py310ha45506e_3    robostack-staging
ros-humble-rosbag2-compression-zstd 0.15.4          py310ha45506e_3    robostack-staging
ros-humble-rosbag2-cpp    0.15.4          py310ha45506e_3    robostack-staging
ros-humble-rosbag2-interfaces 0.15.4          py310ha45506e_3    robostack-staging
ros-humble-rosbag2-py     0.15.4          py310ha45506e_3    robostack-staging
ros-humble-rosbag2-storage 0.15.4          py310ha45506e_3    robostack-staging
ros-humble-rosbag2-storage-default-plugins 0.15.4          py310ha45506e_3    robostack-staging
ros-humble-rosbag2-transport 0.15.4          py310ha45506e_3    robostack-staging
ros-humble-rosgraph-msgs  1.2.1           py310ha45506e_3    robostack-staging
ros-humble-rosidl-adapter 3.1.4           py310ha45506e_3    robostack-staging
ros-humble-rosidl-cli     3.1.4           py310ha45506e_3    robostack-staging
ros-humble-rosidl-cmake   3.1.4           py310ha45506e_3    robostack-staging
ros-humble-rosidl-default-generators 1.2.0           py310ha45506e_3    robostack-staging
ros-humble-rosidl-default-runtime 1.2.0           py310ha45506e_3    robostack-staging
ros-humble-rosidl-generator-c 3.1.4           py310ha45506e_3    robostack-staging
ros-humble-rosidl-generator-cpp 3.1.4           py310ha45506e_3    robostack-staging
ros-humble-rosidl-generator-py 0.14.4          py310ha45506e_3    robostack-staging
ros-humble-rosidl-parser  3.1.4           py310ha45506e_3    robostack-staging
ros-humble-rosidl-runtime-c 3.1.4           py310ha45506e_3    robostack-staging
ros-humble-rosidl-runtime-cpp 3.1.4           py310ha45506e_3    robostack-staging
ros-humble-rosidl-runtime-py 0.9.3           py310ha45506e_3    robostack-staging
ros-humble-rosidl-typesupport-c 2.0.0           py310ha45506e_3    robostack-staging
ros-humble-rosidl-typesupport-cpp 2.0.0           py310ha45506e_3    robostack-staging
ros-humble-rosidl-typesupport-fastrtps-c 2.2.0           py310ha45506e_3    robostack-staging
ros-humble-rosidl-typesupport-fastrtps-cpp 2.2.0           py310ha45506e_3    robostack-staging
ros-humble-rosidl-typesupport-interface 3.1.4           py310ha45506e_3    robostack-staging
ros-humble-rosidl-typesupport-introspection-c 3.1.4           py310ha45506e_3    robostack-staging
ros-humble-rosidl-typesupport-introspection-cpp 3.1.4           py310ha45506e_3    robostack-staging
ros-humble-rpyutils       0.2.1           py310ha45506e_3    robostack-staging
ros-humble-rti-connext-dds-cmake-module 0.11.1          py310ha45506e_3    robostack-staging
ros-humble-sensor-msgs    4.2.3           py310ha45506e_3    robostack-staging
ros-humble-shape-msgs     4.2.3           py310ha45506e_3    robostack-staging
ros-humble-shared-queues-vendor 0.15.4          py310ha45506e_3    robostack-staging
ros-humble-spdlog-vendor  1.3.1           py310h5cedc13_3    robostack-staging
ros-humble-sqlite3-vendor 0.15.4          py310h2bd8c7d_3    robostack-staging
ros-humble-sros2          0.10.4          py310ha45506e_3    robostack-staging
ros-humble-sros2-cmake    0.10.4          py310ha45506e_3    robostack-staging
ros-humble-statistics-msgs 1.2.1           py310ha45506e_3    robostack-staging
ros-humble-std-msgs       4.2.3           py310ha45506e_3    robostack-staging
ros-humble-std-srvs       4.2.3           py310ha45506e_3    robostack-staging
ros-humble-stereo-msgs    4.2.3           py310ha45506e_3    robostack-staging
ros-humble-tf2            0.25.2          py310haec4aa5_3    robostack-staging
ros-humble-tf2-bullet     0.25.2          py310ha45506e_3    robostack-staging
ros-humble-tf2-eigen      0.25.2          py310ha45506e_3    robostack-staging
ros-humble-tf2-eigen-kdl  0.25.2          py310ha45506e_3    robostack-staging
ros-humble-tf2-geometry-msgs 0.25.2          py310ha45506e_3    robostack-staging
ros-humble-tf2-kdl        0.25.2          py310ha45506e_3    robostack-staging
ros-humble-tf2-msgs       0.25.2          py310ha45506e_3    robostack-staging
ros-humble-tf2-py         0.25.2          py310ha45506e_3    robostack-staging
ros-humble-tf2-ros        0.25.2          py310ha45506e_3    robostack-staging
ros-humble-tf2-ros-py     0.25.2          py310ha45506e_3    robostack-staging
ros-humble-tf2-sensor-msgs 0.25.2          py310ha45506e_3    robostack-staging
ros-humble-tf2-tools      0.25.2          py310ha45506e_3    robostack-staging
ros-humble-tinyxml-vendor 0.8.3           py310ha45506e_3    robostack-staging
ros-humble-tinyxml2-vendor 0.7.5           py310h3073ef2_3    robostack-staging
ros-humble-tracetools     4.1.1           py310ha45506e_3    robostack-staging
ros-humble-trajectory-msgs 4.2.3           py310ha45506e_3    robostack-staging
ros-humble-uncrustify-vendor 2.0.2           py310ha45506e_3    robostack-staging
ros-humble-unique-identifier-msgs 2.2.1           py310ha45506e_3    robostack-staging
ros-humble-urdf           2.6.0           py310ha45506e_3    robostack-staging
ros-humble-urdf-parser-plugin 2.6.0           py310ha45506e_3    robostack-staging
ros-humble-urdfdom        3.0.2           py310haec4aa5_3    robostack-staging
ros-humble-urdfdom-headers 1.0.6           py310ha45506e_3    robostack-staging
ros-humble-visualization-msgs 4.2.3           py310ha45506e_3    robostack-staging
ros-humble-yaml-cpp-vendor 8.0.2           py310ha45506e_3    robostack-staging
ros-humble-zstd-vendor    0.15.4          py310h1059200_3    robostack-staging
ros2-distro-mutex         0.3.0                    humble    robostack-staging
rosdistro                 0.9.0           py310h5588dad_1    conda-forge
rospkg                    1.5.0              pyhd8ed1ab_0    conda-forge
ruamel.yaml               0.17.32         py310h8d17308_0    conda-forge
ruamel.yaml.clib          0.2.7           py310h8d17308_1    conda-forge
setuptools                61.0.0          py310h5588dad_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
snowballstemmer           2.2.0              pyhd8ed1ab_0    conda-forge
spdlog                    1.11.0               hfbadfc6_1    conda-forge
sqlite                    3.43.0               hcfcfb64_0    conda-forge
tbb                       2021.10.0            h91493d7_1    conda-forge
tinyxml                   2.6.2                h2d74725_2    conda-forge
tinyxml2                  9.0.0                h0e60522_2    conda-forge
tk                        8.6.12               h8ffe710_0    conda-forge
tomli                     2.0.1              pyhd8ed1ab_0    conda-forge
toolz                     0.12.0             pyhd8ed1ab_0    conda-forge
tqdm                      4.66.1             pyhd8ed1ab_0    conda-forge
tzdata                    2023c                h71feb2d_0    conda-forge
ucrt                      10.0.22621.0         h57928b3_0    conda-forge
uncrustify                0.74.0               h57928b3_0    conda-forge
urllib3                   2.0.4              pyhd8ed1ab_0    conda-forge
vc                        14.3                h64f974e_17    conda-forge
vc14_runtime              14.36.32532         hfdfe4a8_17    conda-forge
vs2015_runtime            14.36.32532         h05e6639_17    conda-forge
wheel                     0.41.2             pyhd8ed1ab_0    conda-forge
win_inet_pton             1.1.0              pyhd8ed1ab_6    conda-forge
xorg-kbproto              1.0.7             hcd874cb_1002    conda-forge
xorg-libice               1.1.1                hcd874cb_0    conda-forge
xorg-libsm                1.2.4                hcd874cb_0    conda-forge
xorg-libx11               1.8.6                hefa74cf_0    conda-forge
xorg-libxau               1.0.11               hcd874cb_0    conda-forge
xorg-libxdmcp             1.1.3                hcd874cb_0    conda-forge
xorg-libxext              1.3.4                hcd874cb_2    conda-forge
xorg-libxpm               3.5.16               hcd874cb_0    conda-forge
xorg-libxt                1.3.0                hcd874cb_1    conda-forge
xorg-xextproto            7.3.0             hcd874cb_1003    conda-forge
xorg-xproto               7.0.31            hcd874cb_1007    conda-forge
xz                        5.2.6                h8d14728_0    conda-forge
yaml                      0.2.5                h8ffe710_2    conda-forge
yaml-cpp                  0.7.0                h63175ca_2    conda-forge
zipp                      3.17.0             pyhd8ed1ab_0    conda-forge
zlib                      1.2.13               hcfcfb64_5    conda-forge
zstandard                 0.19.0          py310h8d17308_0    conda-forge
zstd                      1.5.5                h12be248_0    conda-forge

Environment info

active environment : base
    active env location : C:\Users\xxx\Software\Miniforge
            shell level : 1
       user config file : C:\Users\xxx\.condarc
 populated config files : C:\Users\xxx\Software\miniforge\.condarc
                          C:\Users\xxx\.condarc
                          C:\Users\xxx\Software\Miniforge\.condarc
          conda version : 23.3.1
    conda-build version : not installed
         python version : 3.10.12.final.0
       virtual packages : __archspec=1=x86_64
                          __cuda=11.6=0
                          __win=0=0
       base environment : C:\Users\xxx\Software\miniforge  (writable)
      conda av data dir : C:\Users\xxx\Software\miniforge\etc\conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/robostack-staging/win-64
                          https://conda.anaconda.org/robostack-staging/noarch
                          https://conda.anaconda.org/robostack/win-64
                          https://conda.anaconda.org/robostack/noarch
                          https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : C:\Users\xxx\Software\miniforge\pkgs
                          C:\Users\xxx\.conda\pkgs
                          C:\Users\xxx\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\xxx\Software\miniforge\envs
                          C:\Users\xxx\.conda\envs
                          C:\Users\xxx\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/23.3.1 requests/2.31.0 CPython/3.10.12 Windows/10 Windows/10.0.19045
          administrator : False
             netrc file : None
           offline mode : Fals
@ardiya ardiya added the bug Something isn't working label Sep 29, 2023
@traversaro
Copy link
Member

As mentioned in the docs (in https://robostack.github.io/GettingStarted.html), powershell is not supported/tested at the moment, see RoboStack/ros-galactic#91 . Some work was done in RoboStack/vinca#34, but not tested in depth. I guess the issue is on the vinca/robostack side.

@ardiya
Copy link
Author

ardiya commented Sep 29, 2023

Thanks for quick response @traversaro. I didn't really read that. I will try with cmd

@ardiya
Copy link
Author

ardiya commented Dec 6, 2023

I really wanted the powershell to work with ros-galactic, so I tried to dig more info by reading the code.

I looked at the sibling local_setup.bat in Robostack's conda env and found that it's generated by ament_package. Unfortunately, the repo doesn't support powershell, related issue: ament/ament_package#58
image

However, I downloaded the ros2 windows binary and found that the local_setup.ps1 actually exists there and it is generated by https://github.com/colcon/colcon-powershell/blob/master/colcon_powershell/shell/template/prefix.ps1.em
image
It seems to be similar, checking the python.exe path.

So, I think to have PowerShell working in Robostack, we should start integrating the colcon-powershell into the build process. The colcon-powershell looks promising as it also generate the prefix, per-package, and hook for powershell.

@Tobias-Fischer
Copy link
Contributor

Ah, great find! colcon-powershell already exists on conda-forge. Seems to be a matter of finding out how to incorporate it into the build process.

/cc @traversaro

@Tobias-Fischer
Copy link
Contributor

I guess one issue is that we use catkin/ament for building our packages, not colcon. So I'm not sure how it would work, we might need to change the build process potentially.

@Tobias-Fischer
Copy link
Contributor

The harder / better way would probably be to add templates for ament_package at https://github.com/ament/ament_package/tree/rolling/ament_package/template

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working windows
Projects
None yet
Development

No branches or pull requests

3 participants