Incompat/Corrupted Project Files [User Workaround/Fix]

User avatar
StarTigress
Posts: 70
Joined: Mon Oct 25, 2010 2:44 am
Platform: Windows

Mon Nov 08, 2010 6:21 pm Post

If you are getting either the "project is incompatible" message or the "Scrivener has encountered a problem and needs to close" message, this is how I work around it.

My fix for corrupted projects:

1.) Open your corrupted "Project" file by right clicking the project file Scrivener icon (the yin yang "S" file) within your project folder and selecting to open with wordpad or notepad or another simple text editor. (*Alternatively, open the project file from within the text editor by selecting the "open any file" option when browsing your project.scriv folder.)

2.) In word pad, "cut" or "copy" everything out between <binder> and </binder>.

3.) Open Scrivener from a non-corrupted tutorial or other project file. If you have no noncorrupted tutorials or files to open it from, you will have to redownload a Scrivener beta and open it from the tutorial. After opening Scrivener successfully, create a "dummy project" -- just an empty project for the purposes of creating an uncorrupted base project file.

4.) Open the dummy project file in wordpad or notepad. Delete everything between <binder> and </binder>.

5.) Paste in the stuff you cut/copied between <binder> and </binder> that was in your old, corrupted project file. Save and close.

6.) Move the dummy project file to your corrupted project folder. Replace your old project file, or back this project file up in a separate folder before replacing.

7.) Your corrupted file is now replaced and your binder should open as it used to.
I <3 Scrivener for Windows Beta. Thanks to everybody who helped create it!!!

"A pen went scribbling along and when it tried to write love, it broke...." ~Rumi

ot
otherdeb
Posts: 1
Joined: Fri Nov 12, 2010 3:21 am
Platform: Windows

Fri Nov 12, 2010 3:40 am Post

I did what you said, and now all I have is a huge mess of stuff. Now it just opens in notepad, rather than my binder in Scrivener.

I've lost 2 days of work on my project, and I am really upset.

What can I do to get my project back?

el
eltos_lightfoot
Posts: 3
Joined: Sat Oct 09, 2010 4:38 pm

Sat Nov 20, 2010 4:18 pm Post

This happens in Win7 and Vista when the file extensions get changed. What happened was that notepad/wordpad changed your file to a .txt file. You have to delete that file extension by first going into my computer, hitting the alt key to get the menu to appear, go to tools, then folder options, then click on the view tab, and uncheck "Hide extensions for known file types".

ad
adelheid
Posts: 4
Joined: Wed Oct 27, 2010 10:09 pm
Platform: Windows

Mon Nov 22, 2010 7:43 am Post

Used the fix above but have had no success.

Problem does not appear to be with the binder code, as trying the above fix resulted in the binder looking right folder wise, but without content. When I copied the content folders across, I again got a message that the project is incompatible with the current version of Scrivener.

I'm using Vista on a Dell Inspiron. My computer did shut down last night while Scrivener was still open. The tutorial file still opens perfectly well.

User avatar
MimeticMouton
Posts: 8771
Joined: Wed May 05, 2010 5:39 am
Platform: Mac + Windows
Location: city of rain
Contact:

Sun Nov 28, 2010 7:38 pm Post

I figured out (in a sense) why StarTigress's fix is working, and so I posted an update for a fix that should preserve all the meta-data (which will otherwise be lost if all you're copying is what's between the <binder> tags).

Adelheid, give it a try and see if it works for you...

viewtopic.php?f=30&t=10293&start=0
Jennifer Hughes
(MM for short)