# Issue loading a file from a onedrive backed directory

**URL:** <https://discourse.slicer.org/t/issue-loading-a-file-from-a-onedrive-backed-directory/39494>\
**Category:** Support\
**Created:** [October 2, 2024, 1:43pm UTC](https://discourse.slicer.org/t/issue-loading-a-file-from-a-onedrive-backed-directory/39494 "2024-10-02T13:43:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matteboo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/matteboo/32/66548_2.png) [@Matteboo](https://discourse.slicer.org/u/Matteboo)\
**Post date:** [October 2, 2024, 1:43pm UTC](https://discourse.slicer.org/t/issue-loading-a-file-from-a-onedrive-backed-directory/39494/1 "2024-10-02T13:43:41Z")

</div>

Hello,  
I’m setting up a new computer and I’m having issues with oneDrive backed data. I’m using the same code and version of slicer on both computer. On the new computer, I get the following error using slicer.util.loadVolume

```auto
RuntimeError: Failed to load node from file: C:/Users/~/OneDrive - company/volume.nii
Error: Loading C:/Users/~/OneDrive - company/volume.nii - load failed.

```

The exact same code runs without any issue on the old computer. Same Onedrive.

I read this topic but it didn’t bring me any help.

> [@Windows: Unable to import DICOM files that are in a OneDrive-backed up folder](https://discourse.slicer.org/t/windows-unable-to-import-dicom-files-that-are-in-a-onedrive-backed-up-folder/36153):
>
> TL;DR: on Windows, do not use folders that are backed up by Microsoft OneDrive for DICOM images that you want to import into Slicer DICOMBrowser! @vkt1414 and I have been debugging an issue that we thought is a problem with our extension, but upon further investigation it turned out the issue was not in the extension. Logs showed that DCMTK failed to open the DICOM files our extension was downloading. Initially, I thought this is due to the presence of dots in the folder hierarchy, but @pieper …

If anybody has a solution or know what possible difference I should check between the computers I’m open to suggestions.  
I’m motivated to fix this issue so I don’t have to change several parts of my code so don’t hesitate to ask me to investigate the difference between the computers.
