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

[BUG]: OSError: [Errno 18] Invalid cross-device link: '/tmp/tmp24o3zb58/dump.rdb' -> '/data1/d******/test/sotopia/redis-data/dump.rdb' #281

Open
debajyotimaz opened this issue Feb 4, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@debajyotimaz
Copy link

Description of the bug

sotopia install
/data2/anaconda3/envs/sotopia/lib/python3.11/site-packages/pydantic/_internal/_config.py:345: UserWarning: Valid config keys have changed in V2:

  • 'fields' has been removed
    warnings.warn(message, UserWarning)

                        ███████      ███████  ██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████                          
                        █████        ██       ██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████                          
                        █████      ███        ████████         ██████████████  ███████████████████████████  ████████████████xx████████████████████████x███████████████xxx█xxx███                          
                        █████  ██████         ███████   █████   ███     ███       ████    ████  ██    ██████████     ███████xx██x██xxxxx████xxxxx███xxxxxxx███xxxxx███xxx█xxx███                          
                        █████      ███        ████████       ████    ██   ███  █████   ██   ██     █    ██  ██   ██   ██████xx██xxx██xxxx██xx████████xxx████xxx███xx██xxx█xxx███                          
                        █████        ██       █████████████     █  █████   ██  ████  █████   █  ██████  ██  ██  ████  ██████xx██xx█████xx██xxxxxx████xxx████xx████xx██xxx█xxx███                          
                        █████         ██████  ███████   ██████  █   ████  ███  ████   ████   █   ████   ██  █   ████  ██████xx██xx█████xx████████xx██xxx████xx████xx██xxx█xxx███                          
                        █████        ███      █████████        ███       █████    ███      ███  █      ███  ██         █████xx██xx█████xx██xxxxxxxx███xxxxx█xxxxxxxxx█xxx█xxx███                          
                        █████       ██        ████████████████████████████████████████████████  ████████████████████████████████████████████████████████████████████████████████                          
                        █████   █████       ██████████████████████████████████████████████████  ████████████████████████████████████████████████████████████████████████████████                          
    

Do you want to use Docker to install redis or directly install Redis stack binary? We recommand you to use Docker. [Docker/Binary] (Docker): Yes
Please select one of the available options
Do you want to use Docker to install redis or directly install Redis stack binary? We recommand you to use Docker. [Docker/Binary] (Docker): Docker
Do you want to load the database with published data? [Yes/No] (Yes): Yes
[10:53:04] Loading the database with data from https://huggingface.co/datasets/cmu-lti/sotopia-pi/resolve/main/dump.rdb?download=true. install.py:69
This data is from the Sotopia-π Dataset.
Licensed under CC-BY-SA 4.0.
Please cite the following paper(s) if you use this data:
@inproceedings{
wang2024sotopiapi,
title={SOTOPIA-$\pi$: Interactive Learning of Socially Intelligent Language Agents},
author={Ruiyi Wang and Haofei Yu and Wenxin Zhang and Zhengyang Qi and Maarten Sap and Graham Neubig and Yonatan Bisk and Hao Zhu},"
booktitle={Proceedings of the Annual Meeting of the Association for Computational Linguistics (ACL) 2024},
year={2024},
}
@inproceedings{
zhou2024sotopia,
title={{SOTOPIA}: Interactive Evaluation for Social Intelligence in Language Agents},
author={Xuhui Zhou and Hao Zhu and Leena Mathur and Ruohong Zhang and Haofei Yu and Zhengyang Qi and Louis-Philippe Morency and Yonatan Bisk and Daniel Fried and Graham Neubig
and Maarten Sap},
booktitle={The Twelfth International Conference on Learning Representations},
year={2024},
url={https://openreview.net/forum?id=mM7VurbA4r}
}

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1098 100 1098 0 0 3325 0 --:--:-- --:--:-- --:--:-- 3327
100 244M 100 244M 0 0 23.1M 0 0:00:10 0:00:10 --:--:-- 26.1M
[10:53:15] Database downloaded successfully. install.py:280
Enter the directory where you want to store the data. Press enter to use the current directory.: /data1/debajyoti/test/sotopia
╭─────────────────────────────────────────────────────────────────────────────────── Traceback (most recent call last) ────────────────────────────────────────────────────────────────────────────────────╮
│ /data2/anaconda3/envs/sotopia/lib/python3.11/site-packages/sotopia/cli/install/install.py:316 in install │
│ │
│ 313 │ │ │ │ │ ) │
│ 314 │ │ │ │ │ exit(0) │
│ 315 │ │ │ else: │
│ ❱ 316 │ │ │ │ (Path(tmpdir) / "dump.rdb").rename( │
│ 317 │ │ │ │ │ Path(directory) / "redis-data/dump.rdb" │
│ 318 │ │ │ │ ) │
│ 319 │ │ try: │
│ │
│ ╭─────────────────────────────────────────────────────────────────────────────── locals ───────────────────────────────────────────────────────────────────────────────╮ │
│ │ console = │ │
│ │ current_directory = PosixPath('/data2/anaconda3/envs/sotopia/lib/python3.11/site-packages/sotopia/cli/install') │ │
│ │ custom_database_url = None │ │
│ │ directory = '/data1/debajyoti/test/sotopia' │ │
│ │ fn = PosixPath('/data2/anaconda3/envs/sotopia/lib/python3.11/site-packages/sotopia/cli/install/published_datasets.json') │ │
│ │ load_database = True │ │
│ │ load_sotopia_pi_data = True │ │
│ │ mapping = { │ │
│ │ │ ' ': Segment(' ', Style(color=Color('black', ColorType.STANDARD, number=0), bgcolor=Color('black', ColorType.STANDARD, number=0))), │ │
│ │ │ '█': Segment('█', Style(color=Color('white', ColorType.STANDARD, number=7))), │ │
│ │ │ 'x': Segment( │ │
│ │ │ │ 'x', │ │
│ │ │ │ Style(color=Color('magenta', ColorType.STANDARD, number=5), bgcolor=Color('magenta', ColorType.STANDARD, number=5)) │ │
│ │ │ ) │ │
│ │ } │ │
│ │ next_state = 'custom_url' │ │
│ │ overwrite_existing_data = None │ │
│ │ pixels = <sotopia.cli.rich_pixels._pixel.Pixels object at 0x7fdf7a7dcf50> │ │
│ │ published_datasets = Datasets( │ │
│ │ │ datasets=[ │ │
│ │ │ │ Dataset( │ │
│ │ │ │ │ id='sotopia-pi', │ │
│ │ │ │ │ display_name='Sotopia-π Dataset', │ │
│ │ │ │ │ url='https://huggingface.co/datasets/cmu-lti/sotopia-pi/resolve/main/dump.rdb?downloa'+6, │ │
│ │ │ │ │ venue='ACL 2024', │ │
│ │ │ │ │ license='CC-BY-SA 4.0', │ │
│ │ │ │ │ citation='@inproceedings{\n wang2024sotopiapi,\n title={SOTOPIA-$\pi$: Interactive Lea'+794 │ │
│ │ │ │ ), │ │
│ │ │ │ Dataset( │ │
│ │ │ │ │ id='sotopia', │ │
│ │ │ │ │ display_name='Sotopia Dataset', │ │
│ │ │ │ │ url='https://cmu.box.com/shared/static/xiivc5z8rnmi1zr6vmk1ohxslylvynur', │ │
│ │ │ │ │ venue='ICLR 2024', │ │
│ │ │ │ │ license='CC-BY-SA 4.0', │ │
│ │ │ │ │ citation='@inproceedings{\n zhou2024sotopia,\n title={{SOTOPIA}: Interactive Evaluatio'+399 │ │
│ │ │ │ ), │ │
│ │ │ │ Dataset( │ │
│ │ │ │ │ id='agent_vs_script', │ │
│ │ │ │ │ display_name='Agent vs. Script Dataset', │ │
│ │ │ │ │ url='https://huggingface.co/datasets/cmu-lti/agent_vs_script/resolve/main/dump.rdb?do'+11, │ │
│ │ │ │ │ venue='arXiv', │ │
│ │ │ │ │ license='AI2 Impact License', │ │
│ │ │ │ │ citation='@misc{zhou2024real,\n title={Is this the real life? Is this just fantasy? The '+703 │ │
│ │ │ │ ) │ │
│ │ │ ] │ │
│ │ ) │ │
│ │ redis_data_path = None │ │
│ │ system = 'Linux' │ │
│ │ tmpdir = '/tmp/tmp24o3zb58' │ │
│ │ tmpdir_context = <TemporaryDirectory '/tmp/tmp24o3zb58'> │ │
│ │ url = 'https://huggingface.co/datasets/cmu-lti/sotopia-pi/resolve/main/dump.rdb?downloa'+6 │ │
│ │ use_docker = True │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /data2/anaconda3/envs/sotopia/lib/python3.11/pathlib.py:1175 in rename │
│ │
│ 1172 │ │ ╭──────────────────────────────── locals ─────────────────────────────────╮ │
│ 1173 │ │ Returns the new Path instance pointing to the target path. │ self = PosixPath('/tmp/tmp24o3zb58/dump.rdb') │ │
│ 1174 │ │ """ │ target = PosixPath('/data1/debajyoti/test/sotopia/redis-data/dump.rdb') │ │
│ ❱ 1175 │ │ os.rename(self, target) ╰─────────────────────────────────────────────────────────────────────────╯ │
│ 1176 │ │ return self.class(target) │
│ 1177 │ │
│ 1178 │ def replace(self, target): │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
OSError: [Errno 18] Invalid cross-device link: '/tmp/tmp24o3zb58/dump.rdb' -> '/data1/debajyoti/test/sotopia/redis-data/dump.rdb'

Image

Steps To Reproduce

conda 23.7.4
Python 3.11.11

Additional Information

Followed the same installation guidelines given in https://github.com/sotopia-lab/sotopia to install locally.
I am trying to install it in a ssh server remotely.

@debajyotimaz debajyotimaz added the bug Something isn't working label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant