Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Chrome bookmarks do not sync, "quitting Chrome" (Read 9015 times)
Jerry Krinock
Admin
Offline
Posts: 1683
Location: San Jose, California, USA
Joined: Sep 29th, 2008
Re: Chrome bookmarks do not sync, "quitting Chrome"
Reply #4 - Apr 12th, 2013 at 1:41am
Print Post  
I've contacted Jerry privately regarding this issue, because we need to send some data back and forth.  If I forget to post a resolution here after a week or so, reply and wake me up.
  

Jerry Krinock
Back to top
IP Logged
 
Jerry S
New Member
Offline
Posts: 2
Joined: Apr 8th, 2013
Re: Chrome bookmarks do not sync, "quitting Chrome"
Reply #3 - Apr 11th, 2013 at 7:33pm
Print Post  
Thanks for this!  Results:

1) BookMacster Chrome extension tests OK
2) I have many Chrome extensions.  BookMacster is only one of them.
3) When I attempt a sync, I still receive "quitting chrome" forever. 
4) I do not see a Users menu in Chrome.

I have done the following:
* Remove the BookMacster chrome extension from within chrome settings
* Verified that BookMacster saw that it was gone (it did, the option to install re-appeared)
* Reinstalled the extension

The problem remains.

I have this stack trace:

Apr 11 14:29:42 aspencreek.singlewire.lan BookMacster[64671]: *** setObjectForKey: object cannot be nil (key: extensions)
Apr 11 14:29:42 aspencreek.singlewire.lan BookMacster[64671]: (
           0   CoreFoundation                      0x00007fff8baaab06 __exceptionPreprocess + 198
           1   libobjc.A.dylib                     0x00007fff93a253f0 objc_exception_throw + 43
           2   CoreFoundation                      0x00007fff8bb395b7 -[__NSDictionaryM setObject:forKey:] + 135
           3   Bkmxwork                            0x00000001000d68d1 SSYLCCurrentLevel + 102659
           4   Bkmxwork                            0x000000010015394c SSYLCCurrentLevel + 614782
           5   Bkmxwork                            0x000000010015439d SSYLCCurrentLevel + 617423
           6   Bkmxwork                            0x00000001001545c1 SSYLCCurrentLevel + 617971
           7   Bkmxwork                            0x000000010004251f Bkmxwork + 238879
           8   Bkmxwork                            0x000000010004299c Bkmxwork + 240028
           9   Bkmxwork                            0x0000000100043621 Bkmxwork + 243233
           10  Foundation                          0x00007fff8e5f6d3a __NSThreadPerformPerform + 225
           11  CoreFoundation                      0x00007fff8ba29b31 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
           12  CoreFoundation                      0x00007fff8ba29455 __CFRunLoopDoSources0 + 245
           13  CoreFoundation                      0x00007fff8ba4c7f5 __CFRunLoopRun + 789
           14  CoreFoundation                      0x00007fff8ba4c0e2 CFRunLoopRunSpecific + 290
           15  HIToolbox                           0x00007fff92c90eb4 RunCurrentEventLoopInMode + 209
           16  HIToolbox                           0x00007fff92c90b94 ReceiveNextEventCommon + 166
           17  HIToolbox                           0x00007fff92c90ae3 BlockUntilNextEventMatchingListInMode + 62
           18  AppKit                              0x00007fff91322563 _DPSNextEvent + 685
           19  AppKit                              0x00007fff91321e22 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
           20  AppKit                              0x00007fff913191d3 -[NSApplication run] + 517
           21  AppKit                              0x00007fff912bdc06 NSApplicationMain + 869
           22  BookMacster                         0x0000000100001c85 BookMacster + 7301
           23  BookMacster                         0x0000000100001b94 BookMacster + 7060
     )
  
Back to top
 
IP Logged
 
Jerry Krinock
Admin
Offline
Posts: 1683
Location: San Jose, California, USA
Joined: Sep 29th, 2008
Re: Chrome bookmarks do not sync, "quitting Chrome"
Reply #2 - Apr 8th, 2013 at 5:41pm
Print Post  
OK, I found the problem.  It occurred while BookMacster was importing from or exporting to Chrome for the first time while Chrome was running, found that our Chrome extension was not installed, and attempted to install it.  It was expecting a list of extensions in your Chrome preferences but didn't find any.  This is weird because, in my experience, Chrome installs a slew of its own built-in extensions automatically the first time you run it.

But that's definitely the problem.  Let's try and install the extension manually, applying increasing force until it works.

• Launch BookMacster.
• Click in the menu: BookMacster > Manage Browser Add-Ons.  A window will open.
• If it indicates that your Chrome extension is 16 (OK), click Test.  If it passes, you're done.  (Not loaded means that Chrome is not running in the subject profile.  Don't worry about that.)  If test fails, continue.
• Click Install.  If it hangs spinning forever after 10 seconds, that means that it has hung again, in the same way.  Force quit BookMacster.
• Launch Chrome.
• If you see a "Users" menu in the main menu, click it and open a window into the profile that you are syncing in BookMacster.  If you don't see a "Users" menu, you only have one profile.  Continue.
• Quit Chrome.
• Launch BookMacster and try to install the extension again using Manage Browser Add-Ons.  If it works, you're done.  If not, force-quit BookMacster and continue.
• Launch Chrome (into the subject profile if applicable) again.
• Click in the menu: Window > Extensions.  I'm expecting it to say Boo… You have no extensions.  Click on the link Browse the gallery.  You will enter the Chrome web store.
• Click on and install any extension from the Chrome web store.  I think they are all free (no cost), but anyhow, most of them are.
• Quit Chrome.
• Launch BookMacster and try to install the extension again using Manage Browser Add-Ons.  It should work this time.
• If you don't want the extension you installed, launch Chrome back into the Extensions window and click the trash can icon to remove the unwanted.  Note that you should also see a BookMacster Sync extension.  You want to keep that one Smiley

The bug was a simple one and is already fixed for the next version of BookMacster.   Thanks again for the report.
  

Jerry Krinock
Back to top
IP Logged
 
Jerry Krinock
Admin
Offline
Posts: 1683
Location: San Jose, California, USA
Joined: Sep 29th, 2008
Re: Chrome bookmarks do not sync, "quitting Chrome"
Reply #1 - Apr 8th, 2013 at 3:31pm
Print Post  
Jerry S wrote on Apr 8th, 2013 at 3:26pm:
What could be at issue here?
Thank you for the report, Jerry.  I'll decode that exception and get back to you.  I'm presuming that the "latest BookMacster" you have on this problem Mac is BookMacster 1.14.3.
  

Jerry Krinock
Back to top
IP Logged
 
Jerry S
New Member
Offline
Posts: 2
Joined: Apr 8th, 2013
Chrome bookmarks do not sync, "quitting Chrome"
Apr 8th, 2013 at 3:26pm
Print Post  
Hello!

I'm running MacOS 10.8, latest Chrome, latest BookMacster.  It runs on all of my macs save one.

On this one, I attempt a bookshelf export.  Firefox and Safari work fine.  When it goes to Chrome, BM says "Quitting Chrome", Chrome ends, but then nothing happens.  I've waited minutes with no change.

So far, I have:
* Uninstalled/reinstalled the Chrome plugin
* Test on Chrome says OK
* Verified that I am using a single Chrome profile

I see the following exception in system.log:

Apr  8 10:19:08 aspencreek.singlewire.lan BookMacster[3478]: *** setObjectForKey: object cannot be nil (key: extensions)
Apr  8 10:19:08 aspencreek.singlewire.lan BookMacster[3478]: (
           0   CoreFoundation                      0x00007fff8baaab06 __exceptionPreprocess + 198
           1   libobjc.A.dylib                     0x00007fff93a253f0 objc_exception_throw + 43
           2   CoreFoundation                      0x00007fff8bb395b7 -[__NSDictionaryM setObject:forKey:] + 135
           3   Bkmxwork                            0x00000001000d68d1 SSYLCCurrentLevel + 102659
           4   Bkmxwork                            0x000000010015394c SSYLCCurrentLevel + 614782
           5   Bkmxwork                            0x000000010015439d SSYLCCurrentLevel + 617423
           6   Bkmxwork                            0x00000001001545c1 SSYLCCurrentLevel + 617971
           7   Bkmxwork                            0x000000010004251f Bkmxwork + 238879
           8   Bkmxwork                            0x000000010004299c Bkmxwork + 240028
           9   Bkmxwork                            0x0000000100043621 Bkmxwork + 243233
           10  Foundation                          0x00007fff8e5f6d3a __NSThreadPerformPerform + 225
           11  CoreFoundation                      0x00007fff8ba29b31 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
           12  CoreFoundation                      0x00007fff8ba29455 __CFRunLoopDoSources0 + 245
           13  CoreFoundation                      0x00007fff8ba4c7f5 __CFRunLoopRun + 789
           14  CoreFoundation                      0x00007fff8ba4c0e2 CFRunLoopRunSpecific + 290
           15  HIToolbox                           0x00007fff92c90eb4 RunCurrentEventLoopInMode + 209
           16  HIToolbox                           0x00007fff92c90c52 ReceiveNextEventCommon + 356
           17  HIToolbox                           0x00007fff92c90ae3 BlockUntilNextEventMatchingListInMode + 62
           18  AppKit                              0x00007fff91322563 _DPSNextEvent + 685
           19  AppKit                              0x00007fff91321e22 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
           20  AppKit                              0x00007fff913191d3 -[NSApplication run] + 517
           21  AppKit                              0x00007fff912bdc06 NSApplicationMain + 869
           22  BookMacster                         0x0000000100001c85 BookMacster + 7301
           23  BookMacster                         0x0000000100001b94 BookMacster + 7060
           24  ???                                 0x0000000000000002 0x0 + 2
     )



What could be at issue here?  Thanks!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint