This is a staging forum for AgileBits, not an official support forum. Visit http://discussions.agilebits.com instead.

1P Safari Extension Hangs Safari, Starts about 1/3 of the time

austin
austin Junior Member
Every third time I start Safari, it hangs while the 1P Safari extension is trying to start. In the Console log, I see:



[code]10-10-04 23:52:24 1PasswordAgent[87445] Failed to activate extension for com.apple.Safari: -1712[/code]



I've tried removing other items which try to insert buttons (e.g., EverNote and the stuff using the SpiceRack software), but 1P doesn't reliably start, and sometimes it prevents Safari from starting. Often, it's every third or fourth start of Safari that not only succeeds but brings up the 1P button.



I do have a number of Safari extensions enabled, but I'm pretty sure those aren't the problem as when I remove the 1P extension, Safari starts up nicely.



I've also tried this with the 3.5.0 beta released today and get the same result.



-a

Comments

  • khad
    khad Social Choreographer
    Hey Austin,



    I'm sorry to hear that you are having this problem. Just for the sake of troubleshooting, have you tried entirely disabling Safari's extensions? (Preferences > Extensions > switched OFF)



    Please let me know. Thanks!
  • austin
    austin Junior Member
    [quote name='khad' timestamp='1286480565' post='12836']

    I'm sorry to hear that you are having this problem. Just for the sake of troubleshooting, have you tried entirely disabling Safari's extensions? (Preferences > Extensions > switched OFF)



    Please let me know. Thanks!

    [/quote]



    I believe so; it's Thanksgiving weekend and I have family coming in, so I may not have time to try this again to verify. What I will do is disable them all, and if 1P reliably starts after that, I will turn them on and enable extensions one by one to see if there's a specific extension causing problems.



    Is a Safari 5 extension that works similar to the Chrome extension being considered so that the process injection doesn't have to be used? (It's not quite clear to me whether Apple would allow that, as they discourage the injection of a plug-in, and disallow the launching of an external app.)
  • khad
    khad Social Choreographer
    1Password currently uses a scripting addition to interact with Safari. Until Safari 5 came along, Safari itself didn't have a real extension system. This has changed with Safari 5, but at the moment we are still using the scripting addition. I'm sorry I don't have anything to announce regarding 1Password and the new Safari 5 extension framework at this time.



    Please let me know how things turn out.



    In the meantime, I hope you enjoy the weekend! <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />
  • austin
    austin Junior Member
    [quote name='khad' timestamp='1286662192' post='12964']1Password currently uses a scripting addition to interact with Safari. Until Safari 5 came along, Safari itself didn't have a real extension system. This has changed with Safari 5, but at the moment we are still using the scripting addition. I'm sorry I don't have anything to announce regarding 1Password and the new Safari 5 extension framework at this time.



    Please let me know how things turn out.[/quote]



    I'm not sure what to think of this, but the problem appears to either be a bad interaction of 1P with Yazsoft's SpeedDownload or a problem with the SpeedDownload plugin. I ran some samples on WebKitPluginHost and it pointed to SpeedDownload (and, this is different, 1P usually appeared after I killed WebKitPluginHost).



    I will post something on their boards about this, but for the moment I've disabled the SpeedDownload plugin and things appear to be a bit better.
  • Sputnik
    Sputnik Junior Member
    Hello,



    I don't want to hijack this thread, but I am experiencing the same behavior as the original author. Namely:



    - Safari launches extremely slowly - it can take several minutes.



    - This error in the console: 10/11/10 10:16:22 AM 1PasswordAgent[186] Failed to activate extension for com.apple.Safari: -1712



    - If I relaunch Safari a few times, 1Password may (or may not) install itself



    I have the following extensions enabled:



    -Google Reader Snow Leopard 1.3

    - Short URL 1.0.3

    - InstapaperBeyond 1.8.10

    - YouTube5 1.2.5

    - Ultimate Status Bar 1.2

    - AutoPagerize 0.1.9

    - Tab Duplicator 1.2.1

    - ClickToFlash 1.8



    I'll disable all extensions and relauch. I've done this before, and 1Password loads fine. If I then re-enable extensions, they all load, and everything works happily together at least until the next launch, or next launch after reboot.



    Thanks,



    Dave



    P.S. If you'd prefer me to open a different thread, no problem - it just seems I'm seeing similar problems.
  • Sputnik
    Sputnik Junior Member
    OK, I can confirm that disabling extensions and relaunching Safari enabled it to run with 1Password enabled.



    I then re-enabled extensions and they are all coexisting happily now, kumbaya.



    But the original problem remains - I don't seem to be able to reliably launch Safari/1Password without disabling/reenabling extensions.



    I am running Safari Version 5.0.2 (6533.18.5) and Mac OS X Version 10.6.4.



    If you have any suggestions as to what I should be doing, please let me know.



    Thanks,



    Dave
  • Sputnik
    Sputnik Junior Member
    Last thing. I'm running SpeedDownload as well.



    Thanks,



    Dave
  • austin
    austin Junior Member
    [quote name='Sputnik' timestamp='1286819123' post='13047']Last thing. I'm running SpeedDownload as well.[/quote]



    I think this is probably the cause; it looked like it was the approach that 1P took to do the insertion, but I think there's something wrong with the SD extension. I'm happily coexisting with a number of extensions installed and active now that I've removed the SD plugin.



    This may change, as it may be a limited fix, but I think that this is headed in the right direction.
  • khad
    khad Social Choreographer
    Thanks for the very helpful insights, Austin. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />



    We will keep an eye out for SpeedDownload related issues and see if there is anything to be done on our end.



    I hope that is useful information for you, Dave. Please let me know if there is anything else I can assist with.



    Thanks again!