rstudio / pins-r

Pin, discover, and share resources
https://pins.rstudio.com
Other
312 stars 63 forks source link

[EEXIST] Error While Attempting To Read In pins Data #598

Closed rmccombie closed 1 year ago

rmccombie commented 2 years ago

While attempting to read in pins data, the following error is received:

> data_ed <- pin_read(board = board_rsconnect(), name = "et18378/data_ed_dt")
Connecting to RSC 2021.09.0 at <https://server_name>
Error: [EEXIST] Failed to copy '/tmp/RtmpJvpYRv/file33931451cd351' to '/home/et18378/.cache/pins/rsc-e62371cfd77db754024f9c5ed3556a73/0102056a-79ba-4c51-b81c-f386b6204d9e/203/data.txt': file already exists

Directory listing:

ls -la /home/et18378/.cache/pins/rsc-e62371cfd77db754024f9c5ed3556a73/0102056a-79ba-4c51-b81c-f386b6204d9e/203/
total 20
drwxr-xr-x+ 2 et18378 domain users 4096 Jan 27 09:56 .
drwxr-xr-x+ 4 et18378 domain users 4096 Jan 27 09:56 ..
-r--r--r--+ 1 et18378 domain users  187 Jan 27 09:56 data.txt

(Ticket ref: 70914)

juliasilge commented 1 year ago

In #667 we changed the Connect content cache over to use environments (instead of files on disk). This means that:

Thanks again for the report! 🙌 For now, the user will need to install from GitHub to have these improvements but we will do a release soon.

github-actions[bot] commented 1 year ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.