storr icon indicating copy to clipboard operation
storr copied to clipboard

'The system cannot find the path specified'

Open casa-henrym opened this issue 1 year ago • 2 comments

I've tried to use {storr} to cache geocoding results but it is failing:

cannot rename file 'C:\Users\...\...\...\...\...\Address store.rds/scratch\file2cf431c3182d' to 'C:\Users\...\...\...\...\...\Address store.rds/keys/objects/15/<key>', reason 'The system cannot find the path specified'

I have confirmed that the file does exist but I wonder if the mixed use of back- and forward-slashes is causing an issue?

casa-henrym avatar Dec 18 '24 00:12 casa-henrym

The slashes will be fine. Most likely you have exceeded windows' max file length working in a highly nested directory.

richfitz avatar Dec 18 '24 17:12 richfitz

Hmm, I see the maximum path length is 260 characters. My paths, despite being somewhat deeply nested, would have been less than 200 characters.

Having said that: I am on a tightly controlled and highly restricted Windows virtual desktop. Windows Defender Controlled Folder Access has caused issues in the past but I see nothing in the Event log this time that would suggest this is the issue this time.

casa-henrym avatar Dec 18 '24 23:12 casa-henrym