Incredibly frustrated with Scrivener. No comments importing and can't do an external sync

I worked on a couple of chapters in a word/pages document to edit down and want to reimport with comments and in the past this has worked. I saved it both as an rtf and a word file and it did not roundtrip. (in word, the comments are just fine).

Secondly, I have been unable to do an external sync for months because it gets hung up. I want rich text docs and don’t want to lose formatting. extremely frustrated with scrivener!

Could you be a little more specific on the ‘gets hung up’? Have you raised a ticket? Do you have a file you could upload to support?

No use getting ‘extremely frustrated’ if you haven’t given the forum and/or Scrivener support the opportunity to sort your issue.

I have sent at least half a dozen messages to support about the external sync rich text problem. it stops at a certain point and goes in a loop trying to quit. It hangs.

as for the comments, it worked before and is no longer working. I do not know why.

Are you indicating no response? If so, most unusual. Checked SPAM etc?

How are you importing the Word document? I just drag and drop Word docs into the Binder and this works for me. Did importing with comments work for yu recently and stop working recently, or has it been a while since you imported from Word with comments? The answer might point in different directions for what may have changed.

Also, does it fail with any Word doc with comments or just one particular doc? (And, to leave no stone unturned, I guess we could ask if it is failing only in this one Scriv project?)

I would double-check Scriv app settings. There used to be teo different Word conversion algorithms you could choose between. If you still see that option, Scriv’s own house-built routine is generally to be preferred.

I guess my first thought would be to wonder where the folder you are doing external sync to is located, and to ask if you experience the same problem with any project or just one specific one, and whether the problem occurs if you sync to external folder located somewhere else, like if you tried syncing to a folder in your Document’s folder.

so i keep getting a variation of this.
i am creating a new folder inside dropbox. I’ve tried other places too but it doesn’t seem to matter.

the other thing i am now worried about is, short of copying and pasting the entire manuscript, section by section, i am going to lose all the timeline and metadata… i don’t think i had that stuff in the compiled document… anyway

Exception Name: NSRangeException
-------
Exception Reason: *** -[__NSCFString rangeOfString:options:range:locale:]: Range {28745, 2624} out of bounds; string length 31365
-------
0 CoreFoundation 0x00007ff80bf5df0b __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff80bcbeb9d objc_exception_throw + 48
2 Foundation 0x00007ff80ccee247 -[NSString rangeOfString:options:range:locale:] + 549
3 Foundation 0x00007ff80ccee014 -[NSString rangeOfString:options:range:] + 29
4 ScrAppKit 0x0000000107390d03 -[NSAttributedString(KBAdditions) extendedRTFFromRange:documentAttributes:RTFAttributes:] + 24418
5 Scrivener 0x00000001063f25b9 Scrivener + 3507641
6 Scrivener 0x00000001063f2c50 Scrivener + 3509328
7 Scrivener 0x00000001063f4490 Scrivener + 3515536
8 AppKit 0x00007ff80eb1472d -[NSApplication(NSResponder) sendAction:to:from:] + 288
9 AppKit 0x00007ff80eb145d4 -[NSControl sendAction:to:] + 86
10 AppKit 0x00007ff80eb14506 __26-[NSCell _sendActionFrom:]_block_invoke + 131
11 AppKit 0x00007ff80eb1440f -[NSCell _sendActionFrom:] + 171
12 AppKit 0x00007ff80eb14356 -[NSButtonCell _sendActionFrom:] + 96
13 AppKit 0x00007ff80eb111c4 NSControlTrackMouse + 1817
14 AppKit 0x00007ff80eb10a87 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 121
15 AppKit 0x00007ff80eb1095a -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 679
16 AppKit 0x00007ff80eb0fd28 -[NSControl mouseDown:] + 678
17 AppKit 0x00007ff80eb0e207 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 4949
18 AppKit 0x00007ff80ea82150 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2582
19 AppKit 0x00007ff80ea8151a -[NSWindow(NSEventRouting) sendEvent:] + 352
20 AppKit 0x00007ff80ea7f8e8 -[NSApplication(NSEvent) sendEvent:] + 352
21 Scrivener 0x0000000106113873 Scrivener + 497779
22 AppKit 0x00007ff80ed3889f -[NSApplication _handleEvent:] + 65
23 AppKit 0x00007ff80e9005ce -[NSApplication run] + 623
24 AppKit 0x00007ff80e8d4447 NSApplicationMain + 816
25 dyld 0x0000000113b964fe start + 462

A crash report is a different issue from simply failing to sync.

Could you tell me which version of Scrivener you have, please, and with which version of Mac OS?

This resembles a bug that we have on the list of things to fix. It likely has to do with a particular use of styles in the documents. We have several samples to work from at this time which reproduce it. In one user’s project, it was the use of styles in conjunction with the Format ▸ Paragraph ▸ HTML Header Level setting being anything other than “Body” for that paragraph. We’ve also seen the stock “Block Quote” style throw this exception.

If you go to File → Export → Files, you are able to export the project with Metadata. Default compile formats don’t include metadata, but you can edit an existing format or create your own and include things like metadata, synopsis, and notes, so it’s possible to get most things out of Scrivener pretty easily. Writing history can also be exported as a CSV.

What is your purpose for using the external sync feature? I ask because you mention Dropbox here and the external sync feature is not designed for syncing projects between devices; many Scrivener users who keep their files in Dropbox are doing so specifically to sync between devices.

i used block quotes a bunch so that is a problem

so you can do that but how does it survive when you reimport it?

i am still getting this problem–is there a way to figure out what is causing it. I still can’t do an external sync anywhere.

Exception Name: NSRangeException

Exception Reason: *** -[__NSCFString rangeOfString:options:range:locale:]: Range {9223372036854775807, 9223372036854779440} out of bounds; string length 3631

0 CoreFoundation 0x00007ff814bbff0b __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff814920b9d objc_exception_throw + 48
2 Foundation 0x00007ff815950257 -[NSString rangeOfString:options:range:locale:] + 549
3 Foundation 0x00007ff815950024 -[NSString rangeOfString:options:range:] + 29
4 ScrAppKit 0x000000010db94f0b -[NSAttributedString(KBAdditions) extendedRTFFromRange:documentAttributes:RTFAttributes:] + 8554
5 Scrivener 0x000000010cbfa5b9 Scrivener + 3507641
6 Scrivener 0x000000010cbfac50 Scrivener + 3509328
7 Scrivener 0x000000010cbfc490 Scrivener + 3515536
8 AppKit 0x00007ff81777697d -[NSApplication(NSResponder) sendAction:to:from:] + 288
9 AppKit 0x00007ff817776824 -[NSControl sendAction:to:] + 86
10 AppKit 0x00007ff817776756 __26-[NSCell _sendActionFrom:]_block_invoke + 131
11 AppKit 0x00007ff81777665f -[NSCell _sendActionFrom:] + 171
12 AppKit 0x00007ff8177765a6 -[NSButtonCell _sendActionFrom:] + 96
13 AppKit 0x00007ff817773414 NSControlTrackMouse + 1817
14 AppKit 0x00007ff817772cd7 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 121
15 AppKit 0x00007ff817772baa -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 679
16 AppKit 0x00007ff817771f78 -[NSControl mouseDown:] + 678
17 AppKit 0x00007ff817770457 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 4949
18 AppKit 0x00007ff8176e4390 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2582
19 AppKit 0x00007ff8176e375a -[NSWindow(NSEventRouting) sendEvent:] + 352
20 AppKit 0x00007ff8176e1b28 -[NSApplication(NSEvent) sendEvent:] + 352
21 Scrivener 0x000000010c91b873 Scrivener + 497779
22 AppKit 0x00007ff81799b1a7 -[NSApplication _handleEvent:] + 65
23 AppKit 0x00007ff81756293e -[NSApplication run] + 623
24 AppKit 0x00007ff8175367b7 NSApplicationMain + 816
25 dyld 0x00000001199d84fe start + 462

i will try it to documents and see if it changes but I think it has to do with formatting.

how do you reimport the metadata when you are roundtripping? I am finding extracting drafts out of scrivener and reimporting them with any new changes to be incredibly time consuming.

Don’t import them. Put Scrivener and the edited document (probably a Word file, but you can open it in Pages) side by side, view the edits or track/changes, and make changes in the Scrivener project.
why I don’t accept/reject in Word (or import from Word)

2 Likes

This appears to be a known bug related to the use of Styles. We’re aware of the issue and are working on a fix.

I know but it has literally been years. If there is a style I can avoid pls tell me. It’s actually an unusable feature now

this is not a feasible method for a 200,000 word manuscript.

Someone asked upstream why you were using the Sync to External Folder function. If we knew your purpose we might be able to help in some other way. Can you say something about your workflow that uses the Sync External function?

gr

p.s. BTW, and maybe yu remember this, the Sync to External Folder function was originally designed for a purpose that has been superceded/solved for many (though not all) folks by the advent of iOS Scrivener.

1 Like