I have a large project which I found out wasn’t syncing with onedrive. I reinstalled onedrive and then opened my project. It gave some warning about missing binder stuff and started reindexing the search indexes, which sounds all logical. But somewhere between 60 and 70% I got an alloc error which means it ran out of memory and even crashed some parts of my windows like the video driver.
How do I fix my non-opening project? I tried importing it into a new created project but that now gives the same error. The project contains many, many images, so perhaps that doesn’t help but I’m totally stuck now.
Are you by any chance trying to run your project from OneDrive?
Otherwise, how did you sync to OneDrive?
What is the size of your project in megabytes?
In addition to @Kevitec57 …
Are the Onedrive files “offline” and all files available to Scrivener?
You did not mention any other devices. Do you have a purpose in syncing with Onedrive?
and
https://scrivener.tenderapp.com/help/kb/cloud-syncing/using-scrivener-with-cloud-sync-services
Thanks for the reply.
I do run the project (not the application btw) from OneDrive. I never had problems with that before but apparently a few days ago OneDrive stopped working, of which I wasn’t aware. I reinstalled OneDrive but because I worked on the project, there was a mismatch between the online version and the one on the disk.
All the files are on my disk and not corrupted, Scrivener just runs out of memory when reindexing and the project effectively becomes unusable.
The project as total is 6.5 GB. As I said, there a lot of pictures there.
So, as asked, is the folder where your Scrivener project(s) set for “offline” or not? (Reinstallation may have changed your settings)
Thanks for the reply.
As far as I can tell all the files are download on my disk and should be available. My purpose was keeping a backup online in OneDrive, but because that wasn’t update things started to go wrong.
My main problem is that the reindexing fails and crashes my machine.
But, I am asking a different question and will ask again, then I’ll let it be. Is the folder holding the Scrivener project(s) set for “offline” in OneDrive?
Unless you have reason to sync your projects, better to put the Scrivener project(s) outside OneDrive and local, e.g. ~/documents/Scrivener. Set your automatic Scrivener backups (as zip files) to be on OneDrive, if you want. That being said I don’t consider sync services a reliable backup as any flaw or deletion (accidental or otherwise) will destroy the backup and then sync the flaw everywhere. Hopefully you have a good system backup setup.
The folder isn’t currently set to offline.
I’ll do that and see what happens but the problem that I can’t skip the reindexing and just access my project files is a lot more annoying and I don’t look forward to piecing my project back together.
That is likely the root cause of your problem. As documented by L&L, synced files have to be “offline” and all files available. Things are failing you as not all files are on your local drive as Scrivener expects.
I do not know if changing now to “offline” will fix things. Hopefully the files on OneDrive’s servers hold everything and not just the flawed copy that you have local. Tread carefully.
Unless you have a real reason, other than “backup”, as I advised above, best to NOT put Scrivener project files on OneDrive. Keep everything local to avoid Microsoft OneDrive messing with your files.
RMS 100% agree, I sync the backups on a cloud service because it is hard to corrupt a zip file. But even that should be set to save offline. Never place your active project folder in the same location as your backups.