Not closing down properly: a message

li
lindywarrell
Posts: 68
Joined: Fri Nov 27, 2009 9:50 am
Location: Australia

Sat Feb 06, 2010 5:49 am Post

Every time I re-open Scrivener after closing down, I receive the following message. What is going on??

This project was either not closed properly or is currently open on another machine. Please note that if the same project is open on two machines concurrently, data could be lost. Before the project can be opened, its search strings need re-synchronising. This process could take several minutes. Continue?

I only have one computer and this worries me as I am well into a novel and would hate something to stuff up. Cheers, Lindy :roll:

Online
User avatar
AmberV
Posts: 24272
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Ourense, Galiza
Contact:

Sat Feb 06, 2010 7:14 am Post

Hmm, can you repeat this result with a new, blank project?
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles

User avatar
KB
Site Admin
Posts: 20732
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Sat Feb 06, 2010 11:44 am Post

This message indicates that either Scrivener has crashed, that it has been closed down improperly in some other way, or that you are opening a file that was copied while it was opened.

Could you please give me your exact workflow with this project, i.e:

1) How are you closing Scrivener down?
2) When you close it down, do you receive an error such as, "Quit Unexpectedly"?
3) Are you copying the project at all?

Thanks and all the best,
Keith

li
lindywarrell
Posts: 68
Joined: Fri Nov 27, 2009 9:50 am
Location: Australia

Mon Feb 08, 2010 10:15 pm Post

This problem has not come up again recently. It could be that it happens when I force a save as I exit but I'll check and otherwise keep an eye on it and let you know if it happens again. It was doing it repeatedly so i don't know what has actually changed.

li
lindywarrell
Posts: 68
Joined: Fri Nov 27, 2009 9:50 am
Location: Australia

Mon Feb 08, 2010 10:18 pm Post

Ok. I just saved and closed my novel project, opened another project then closed that without saving. I tried to open the novel project again and the warning came up again so I guess it is to do with a manual (not forced) save before exit?? When I say 'ok' Scrivener they says it is synchronising settings and my novel project opens intact (thankfully).

Cheers
Lindy

User avatar
KB
Site Admin
Posts: 20732
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Mon Feb 08, 2010 11:04 pm Post

Hi,

It sounds like a bug where memory isn't getting flushed properly when a project is closed, so that when another project is opened the original project (which should no longer be around) tries to do something. I recently fixed a bug like this for Scriv 2.0, and it may be the same bug. When you see the "Quit Unexpectedly" panel next time, could you please copy the gobbledegook that's in the window and paste it into your reply here? The trouble with those "Quit Unexpectedly" windows is that Apple insists you send them to them, whereas it's me who needs the information in it, not them.

Many thanks and all the best,
Keith

li
lindywarrell
Posts: 68
Joined: Fri Nov 27, 2009 9:50 am
Location: Australia

Tue Feb 09, 2010 7:01 am Post

I don't get any warning on closing. The dialog warning only comes up when I try to re-open...anyway, I'll keep a close eye and a log of when/how etc...Cheers, Lindy

ST
STK
Posts: 2
Joined: Thu Feb 11, 2010 11:55 am
Location: Tokyo

Thu Feb 11, 2010 12:15 pm Post

I've had the same message numerous times when launching, but I never paid much attention to it as I often copy the project file to a thumb drive and open it on a different machine. Just after the 1.53 upgrade though, I got it for ALL .scriv files on my hard disk, whether I'd used them recently or not.

I then got this message:

"While the project was opening, files were detected within the project package that do not exist in the binder. This may have been caused by a permissions conflict, in which the file system refused the deletion of files from inside the .scriv package that had been deleted from the project binder, or by synchronization between different versions of the project.

The recovered files can be found in the "_Recovered Files" folder at the bottom of the binder.

Scrivener attempts to recover such files whenever a project is opened. To disable this behaviour for a project, hold down the Option key while the project is opening. If file recovery is disabled, holding down the Option key on open will re-enable it."


In each case, the 'recovered file' was the short story manuscript template, and nothing else. I didn't notice any data loss, thank god.

I've never noticed anything unusual when Scrivener was shutting down, nor has there ever been an error message at that time. One thing I did notice was that after clicking "install and relaunch", Scrivener shut down but didn't re-launch.

And since this is my first post here and it's a problem report, I just want to say I'm very happy with Scrivener otherwise. I love the look and feel and it's the best of its kind I've seen so far :)

User avatar
KB
Site Admin
Posts: 20732
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Thu Feb 11, 2010 12:28 pm Post

Hi STK,

This is actually a completely different message and issue. 1.52 and 1.53 got much better at detecting files within the project package that hadn't been deleted properly. And a previous version of Scrivener had a bug whereby the synopsis files didn't get deleted for files that were deleted when you emptied the Trash. This means that in files created in 1.1, there could have been some files inside the package that weren't deleted as they should have been. When you upgraded to 1.53, Scrivener detected these files and placed them in a _Recovered Files directory, so that you could decide whether they should indeed be deleted. This should be a one-time thing. (Also note that this message appears for a couple of the project templates, because I forgot to update them for 1.53 and they were created in an earlier version).

Hope that makes sense. Thanks for the kind words!

All the best,
Keith

ST
STK
Posts: 2
Joined: Thu Feb 11, 2010 11:55 am
Location: Tokyo

Thu Feb 11, 2010 10:00 pm Post

Ah, gotcha -- thanks Keith. The 'recovered files' message followed right after the incorrect shutdown message, so I figured they were related somehow. Thanks for the quick explanation!

User avatar
KB
Site Admin
Posts: 20732
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Thu Feb 11, 2010 11:42 pm Post

Ah, I didn't realise you got the improper shutdown message as well. It is possible they were related in that case, but unlikely.
All the best,
Keith

li
lindywarrell
Posts: 68
Joined: Fri Nov 27, 2009 9:50 am
Location: Australia

Sun Mar 07, 2010 7:05 pm Post

I attach a screenshot of the error message that this topic was started on. What happened today was that I decided to put the Scrivener folder as a sub-folder in my Writing folder on the Mac instead of being on its own amongst so many others. when I went to open my book file, the error came up. I relocated the Scrivener folder back to the Mac list of main folders and the error message did not come up. Knowing me, I would have moved Scrivener before - most likely to and from the Writing folder trying to decide where it belonged so perhaps this is problem solvered as they say...Cheers, Lindy
Attachments
Scrivenerror.jpg
Error message on my desktop
Scrivenerror.jpg (165.33 KiB) Viewed 709 times

User avatar
KB
Site Admin
Posts: 20732
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Mon Mar 08, 2010 5:09 pm Post

Did you move the project while it was open? Or at least copy it to the other folder while it was open? If so, then the copied project would contain a flag which tells Scrivener it is open, so that you would see this error message when opening it.

Could that be the case?

All the best,
Keith

li
lindywarrell
Posts: 68
Joined: Fri Nov 27, 2009 9:50 am
Location: Australia

Mon Mar 08, 2010 6:40 pm Post

No, I moved it when it was closed. Just dragged it from my long Mac folder list into my folder called Writing. That's all.

User avatar
KB
Site Admin
Posts: 20732
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Mon Mar 08, 2010 6:46 pm Post

Strange. Then it didn't close properly for some reason - did you receive a "Quit Unexpectedly" message?