Skip to content

Commit

Permalink
[Polymetis] Fix spdlog dependency break (#1393)
Browse files Browse the repository at this point in the history
* Pin spdlog

* Pin pytest-benchmark

* Pin lower pytest-benchmark version

* Unpin polymetis in eyehandcal

* Debug

* Pin same version of spdlog

* Update graspnet-baseline

Co-authored-by: 1heart <yixin1996@gmail.com>
  • Loading branch information
exhaustin and 1heart authored Nov 4, 2022
1 parent ab52b18 commit 6d2dc81
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions perception/sandbox/eyehandcal/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ dependencies:
- scipy=1.7.3
- cmake
- pybind11
- py
- pip
- pip:
- ../../realsense_driver/
Expand Down
2 changes: 1 addition & 1 deletion perception/sandbox/polygrasp/third_party/graspnet-baseline
6 changes: 3 additions & 3 deletions polymetis/polymetis/conda/conda_recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ requirements:
- poco ==1.9.0 # needed by libfranka
- python ==3.8
- pytorch ==1.10.0
- spdlog
- spdlog=1.10.0=h924138e_0
- urdfdom=2.3.3=hc9558a2_0
- urdfdom_headers=1.0.5=hc9558a2_2
- yaml-cpp ==0.6.3
Expand Down Expand Up @@ -59,11 +59,11 @@ requirements:
- pymodbus
- pyserial
- pytest
- pytest-benchmark
- pytest-benchmark=4.0.0
- python ==3.8
- pytorch ==1.10.0
- scipy
- spdlog
- spdlog=1.10.0=h924138e_0
- sphinx
- sphinx-book-theme
- tqdm
Expand Down
4 changes: 2 additions & 2 deletions polymetis/polymetis/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ dependencies:
- pymodbus ==2.5.3
- pyserial
- pytest
- pytest-benchmark
- pytest-benchmark=4.0.0
- scipy
- spdlog
- spdlog=1.10.0=h924138e_0
- sphinx
- sphinx-copybutton
- sphinx-book-theme
Expand Down

2 comments on commit 6d2dc81

@AlexanderKhazatsky
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this is you guys or me, but just to be safe I thought I'd let you guys know that after this update I'm getting the following issue:

(polymetis-local) sasha@watney:~/household_robot_dataset/R2D2/scripts/server$ launch_robot.py robot_client=franka_hardware
Warning: Failed to load 'libtorchscript_pinocchio.so' from CONDA_PREFIX, loading from default build directory instead: '/home/sasha/household_robot_dataset/fairo/polymetis/polymetis/build/torch_isolation/libtorchscript_pinocchio.so'
Warning: Failed to load 'libtorchrot.so' from CONDA_PREFIX, loading from default build directory instead: '/home/sasha/household_robot_dataset/fairo/polymetis/polymetis/build/torch_isolation/libtorchrot.so'
/home/sasha/anaconda3/envs/polymetis-local/lib/python3.8/site-packages/hydra/plugins/config_source.py:190: UserWarning:
Missing @Package directive robot_client/franka_hardware.yaml in pkg://polymetis.conf.
See https://hydra.cc/docs/next/upgrades/0.11_to_1.0/adding_a_package_directive
warnings.warn(message=msg, category=UserWarning)
Traceback (most recent call last):
File "/home/sasha/anaconda3/envs/polymetis-local/lib/python3.8/pathlib.py", line 1266, in mkdir
self._accessor.mkdir(self, mode)
PermissionError: [Errno 13] Permission denied: 'outputs/2022-11-04/15-52-59'

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

@Jdvakil
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AlexanderKhazatsky Try running sudo chown $USER:$GROUP outputs/*

Please sign in to comment.