SB 2 - Crash on Startup

Hi Keith, I think the dastardly .nib bug has returned to the scroll function in Full screen.

The selection above and below the visible window is OK.

The down button seems OK but the Up button (arrow) fires the scroll bar indicator to the end of the document.

PS B2 looks good :slight_smile:

Huh… I don’t see this - the scroll buttons work fine for me. I’ll check it on my iBook. This is really weird.

Does anybody else see this?

Maybe I’ll just recreate the whole FS .nib file.

Can’t reproduce. Tried heaps of scale, page orientation and scroll-bar combos.

Hi Keith

Several things to report. May be my system - but every other application works fine.

Did all the steps I sent you in the ppm. Then fixed permissions, then the following.

Started up Scrivener and it wanted to update the Tutorial file. It did this then crashed. The backed up Tute file however does exist in the same file as the original Tute file. So it crashed after doing that backup.

It will not load at all now. I have again trashed it and got rid of all the Scrivener files using App Zapper, reloaded from the Disk Image and rebooted. All efforts crash the app. It just won’t start now. Even did a fresh download of the new beta. Still crashes.

My original files appear to be OK in their home folder which, for me, resides in Documents. Just can’t get Scrivener to read them or even start up.

For what it is worth, I decided to see if S Gold worked, so I downloaded the dmg and it works perfectly. MMmmm!!!

See my profile below - could it be related?

Does AppZapper take care of the preference file in your home folder? If not, I did not notice you saying you deleted that one, you might want to look through ~/Library/Preferences for the new Scrivener preference file and remove it. I had a similar problem once where loading anything crashed the program, and doing this fixed it for me.

Hi AmberV

These are the steps I ppm’d to Keith with a screengrab.

I did the following:

Step 1: Trashed S Gold (Scrivener Gold App and com.kayembi.scrivener.plist) using App Zapper.

Step 2: Ran a full directory Rebuild using DiskWarrior and rebooted.

Step 3: Trashed all Scrivener B2 using App Zapper (5.61MB)

  1. Scrivener (app) Scrivener rc2b/Scrivener.app
  2. Scrivener (app support) ~/Library/Application Support/Scrivener
  3. com.literatureand latte.scivener.p.list (27KB)
  4. Scrivener rc2b (folder) Applications/ Scrivener rc2b (2.24MB)

Step 4: Reloaded the Scrivener app from the Disk Image (dmg)

Step 5: Called several Scriv files from my Scrivener folder in my Documents folder.

Then fixed permissions, then the following.

Started up Scrivener and it wanted to update the Tutorial file. It did this then crashed. The backed up Tute file however does exist in the same file as the original Tute file. So it crashed after doing that backup.

It will not load at all now. I have again trashed it and got rid of all the Scrivener files using App Zapper, reloaded from the Disk Image and rebooted. All efforts crash the app. It just won’t start now. Even did a fresh download of the new beta. Still crashes.

Have you trashed the preferences file after doing all of this? (ie. com.literatureandlatte.scrivener - this will have been re-created as soon as you tried to launch the app.) The preferences file will tell Scrivener to try to load the last project loaded, which seems to be crashing your app. Please e-mail me your crash log (library/logs - if that’s not the right path, check the sticky thread at the top of this forum that says where to find crash logs) so that I can see exactly what is happening.

This is really weird. What you did certainly screwed something up big time. :frowning:

Hi Keith,

Forensically removed the .plist file from ~/preferences and extracted the app from the disk image again, trashed what might be conflicting apps, checked the preferences folder again and it still repeats - now it is not crashing but giving me the empty box frame and no content exactly like the screengrab I sent.

I have a persistent idea floating around in my head that says, “memory management crash”.

Is that a possibility?

I am sure AppZapper does it, but Library cache maybe? This is very weird.

Interestingly, none of my .scriv files that I had been working on in beta 1 had a Type or Creator. I used File Buddy to ask them to open in Scrivener - got the same old empty frame set up.

Should the .scriv files have Type and Creator?

Scrivener attempted to update the files but didn’t succeed.

I had trashed SG and its pref file.

Interestingly, none of my .scriv files that I had been working on in beta 1 had a Type or Creator. I used File Buddy to ask them to open in Scrivener - got the same old empty frame set up.

Should the .scriv files have Type and Creator?

Scrivener attempted to update the files but didn’t succeed.

I had previously trashed SG and its pref file.

[size=150]Bingo! Found the problem.[/size]

Several of the Fonts & Colours fonts had not been set by the installation. I entered real values, ie Courier … 14 etc.

Now all works fine.

I decided to ask just a couple of dumb questions. If I can’t see any thing that I typed maybe it’s because Scrivener can’t either. Decided to take a really good look in the preferences and Default Notes etc (all of them) had no font or size entries.

Amazing!

Hope this helps, Keith. Maybe some way to ensure that default fonts at least are loaded during the installation?

Thanks to you and AmberV for puzzling so diligently over this conundrum. I can’t believe it was so obvious. There you go!

Interesting! I have an almost identical problem since beta 1, which after I had downloaded it, conflicted in some way with Scrivener Gold.

Since then, I have repeated a hundred times and more the steps described by Lord Lightning, and tried other things too (downloading with another browser, Cocktail, Macjanitor, etc. etc.). In vain. I could open beta 1 (and can open now beta 2), but I can’t work with it: somehow the application seems to be ‘lame’. I see three little points in the window, and I can’t type text into it.

On my laptop and on another account of my desktop Scrivener b2 works just fine; but on my own account it stubbornly refuses to do its duty.

Conclusion: the problem (which as I said originated when I downloaded beta 1 still having Scrivener Gold on my desktop) must have something to do with my account; but what? I don’t have the faintest idea.

Hi Timotheus,

Yes, you are describing the problem I experienced, exactly.

If you get EITHER a crash on startup for a Project (New or Previous) or you see an empty box frame and no content with resize dots embedded in the frame lines, try this.

As I see it, Scrivener’s fonts are set to Optima 12 for notes and Chalkboard 12 for polaroids titles by default. You may not have these in your fonts file so Scrivener may not be able to see them and therefore can’t call them.

For example, in its ~ (User) Library > Preferences file (com.literatureand latte.scivener.p.list), Scrivener needs to load SCRNotesFontName to see Notes and SCRPolaroidsTitleFontName to see Photograph titles, etc.

Two Choices:
Either

Choice A:

  1. First close Scrivener. Trash the Scrivener .plist file. It is called com.literatureandlatte.scrivener.plist. It is in your home Library folder - the one with the tilde (~)
  2. Boot Scrivener
  3. Go into Scrivener’s Menu Bar:
    Scrivener > Preferences > Fonts & Colours, and then make sure every one of the items in the list has a value: Font name and size.

Default notes font:
Index cards title font:
Photographs title font:
Index cards text font:
Status stamp font:

If you don’t have Optima 12 or Chalkboard 12 use other fonts.

Courier and Helvetica (or whatever you like) and sizes around 12-14 seem to look quite good.

Click the button on the bottom of the panel named APPLY then OK

Choice B:
Start at number 3 without trashing the .plist file and rebooting Scrivener.

If Choice B does not work first up then you will have to start at 1 and trash the preference file.

Please post a response so Keith can repeat and fix the problem.

:slight_smile:

Ah! Yes, I should have thought of that. I had some font corruption issues with the system fonts a while back, and everything on the Mac pretty much looked like your screenshot. Menus were all whacky, Finder was empty, quite scary!

Yes! Makes you smile. This reminds me of the story about the NASA space shuttle launch that was shut down suddenly and mysteriously. After hours of intense problem solving, someone discovered the cleaning lady had pulled the plug from the wall. Ha Ha.

Thanks again.

Problem solved! I would never, never have found the solution on my own. Thank you and thank you again, Lord!

Weird… Now let me get this straight, though - is this a Scrivener problem, or a fonts problem? Is it that you didn’t have Courier New installed or something?
Thanks,
Keith

Yes, I had installed Courier New. But the point was that when, after having trashed the Scrivener .plist file, I first opened Preferences > Fonts and Colours, four of the five font options (Default notes font, Index cards title font, Index cards text font and Status stamp front) did already have a preselected font; the fifth (Photographs title font) turned out to be empty. Having seen this, I just selected a font for “Photographs title font” too, closed Preferences, and then everything worked fine!

Hi Keith,

Could it be a preference fault where the preferences on first install don’t load SCRNotesFontName or SCRPolaroidsTitleFontName or some other critical String or Array?

As I described in my post on the previous page, these values were blank when they should have had a value such as Courier or whatever.

Hope this helps

:slight_smile: