How to Prevent OneDrive from Moving the Smaart Directory

Created by Casey Guli, Modified on Fri, 09 Jun 2023 at 10:08 AM by Casey Guli

How to Prevent OneDrive from Moving the Smaart Directory


This article applies to both Windows and macOS operating systems.



Smaart generally does not work well with OneDrive -- or any other cloud-storage and syncing services that backup folders on a computer's hard drive to a "cloud" -- due to how these services handle backing up the files. Instead of simply making a copy of the folders and their contents onto the cloud, OneDrive will override the standard Documents folder and use its own directory when backing up and syncing to the cloud. This breaks Smaart because it cannot see the OneDrive directory, so the files it's expecting (such as the configuration or trace files) are gone and cause a crash.


 

This issue can be confirmed if the Smaart folder (or its most recent version) can be found in:
/Users/<your_username>/OneDrive/Documents


 

To remedy this, we have to tell OneDrive to stop syncing the Documents folder entirely since there isn't a way to tell OneDrive not to sync specific folders or directories. Steps to change the OneDrive backup settings on Windows can be found here while steps for macOS can be found here.


 

Once the Documents folder is no longer being synced, move the copy within OneDrive back onto the local hard drive (/Users/<your_username>/Documents) and restart Smaart. If issues persist, you may have to create a new folder then import your traces and curves within Smaart from the previous folder.


 

If you're looking to move data between computers or save it to a shared located, the best practice is to create and back up a separate directory on your hard drive that you can copy files to. Please also note that configuration files cannot be shared between computers. If Smaart is not loading with the configuration file pulled from OneDrive, a new one will need to be created as it is likely corrupt.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article