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

NSInvalidArgumentException error

Fr33rid3r
Fr33rid3r Junior Member
<div class="IPBDescription">reinstall 1Password</div>After removing Safari (I now use Chrome), I can no longer use 1Password on my iMac as it keeps crashing.

According to the crash report, it looks like it's because the extensions were installed for Safari.



Thankfully I installed the Chrome plugin, otherwise I wouldn't be able to access my passwords...



Just thought you should know.

Comments

  • [Deleted User]
    edited July 2011
    Hello Fr33rid3r and welcome to the Forums!



    I'm sorry you are having trouble starting 1Password, but I'm glad you are able to use the Chrome plugin in the interim.



    It sounds like your 1Password installation is damaged. To resolve this:



    1. Download 1Password from our web site:

    [url="http://agilebits.com/downloads"]http://agilebits.com/downloads[/url]

    Click on the "Download Now" button under "1Password 3"

    2. Quit your web browser(s).

    3. Drag the newly downloaded version of 1Password to the same location as any previous one -- replacing it

    4. Run 1Password at least once and then your web browser(s).



    Your information is stored in a data file separate from the application, so it will not be harmed by this procedure.



    Please let me know how it turns out.



    Cheers!



    Brandt
  • Fr33rid3r
    Fr33rid3r Junior Member
    Thanks for your reply.



    I have already re-installed Snow Leopard (in preparation for OSX Lion which hopefully we'll see this week!) so didn't try re-installing 1Password.



    I just wanted to report the bug.
  • [Deleted User]
    edited July 2011
    Fr33rid3r,



    Thanks for the follow up. Hope you enjoy Lion as much as I have while testing their developer releases!



    Let me know how 1P works for you on Lion.



    Brandt
  • khad
    khad Social Choreographer
    It looks like your 1Password installation was damaged. Numerous folks have removed Safari.app from their system to no detriment to 1Password. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />



    If we can be of further assistance, please let us know.



    We are always here to help!
  • Fr33rid3r
    Fr33rid3r Junior Member
    edited July 2011
    [quote name='khad' timestamp='1310106331' post='31453']

    It looks like your 1Password installation was damaged. Numerous folks have removed Safari.app from their system to no detriment to 1Password. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />



    If we can be of further assistance, please let us know.



    We are always here to help!

    [/quote]



    Hmmmmmm. How would the 1Password installation become damaged simply by removing Safari?



    I was curious to see if this error could be replicated, so removed Safari again.



    I'm sorry to inform you, but 1Password crashes with the same error as before.

    This time, I downloaded 1Password 3 for Mac version 3.6.1 and followed the steps outlined by Brandt but 1Password still crashes with the same error.



    I am attaching the crash report for you.

    Hope it helps.



    Update:

    I had a look at the ws.agile.1Password.plist file in ~/Library/Preferences and it contains the entry

    Safari Extension Enabled Boolean YES



    I deleted this .plist file and 1Password now works!!
  • brenty
    edited July 2011
    Hey there, Fr33rid3r!



    [s]Thanks for sharing that. I will bring this up with the rest of the team, and hopefully we can have 1Password handle this odd case more gracefully.[/s] Apparently, we already have a fix for this and it will be in the next update! [img]http://forum.agile.ws/public/style_emoticons/default/huh.gif[/img]



    That said...huh?! Why would you want to install the Safari extension in the first place if you plan on removing Safari itself? I guess you're just the adventurous type, eh? [img]http://forum.agile.ws/public/style_emoticons/default/laugh.gif[/img]



    [quote name='Fr33rid3r' timestamp='1310129157' post='31487']



    Hmmmmmm. How would the 1Password installation become damaged simply by removing Safari?



    I was curious to see if this error could be replicated, so removed Safari again.



    I'm sorry to inform you, but 1Password crashes with the same error as before.

    This time, I downloaded 1Password 3 for Mac version 3.6.1 and followed the steps outlined by Brandt but 1Password still crashes with the same error.



    I am attaching the crash report for you.

    Hope it helps.



    Update:

    I had a look at the ws.agile.1Password.plist file in ~/Library/Preferences and it contains the entry

    Safari Extension Enabled Boolean YES



    I deleted this .plist file and 1Password now works!!

    [/quote]
  • Fr33rid3r
    Fr33rid3r Junior Member
    [quote name='brenty' timestamp='1310170085' post='31532']

    hopefully we can have 1Password handle this odd case more gracefully.[/s]

    [/quote]

    That's all I wanted to hear!



    [quote name='brenty' timestamp='1310170085' post='31532']

    That said...huh?! Why would you want to install the Safari extension in the first place if you plan on removing Safari itself? I guess you're just the adventurous type, eh? [img]http://forum.agile.ws/public/style_emoticons/default/laugh.gif[/img]

    [/quote]

    Well, I didn't do it on purpose the first time! <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/smile.gif' class='bbc_emoticon' alt=':)' />

    I just wasn't happy to be told it was a damaged installation.
  • [quote name='Fr33rid3r' timestamp='1310197505' post='31568']

    Well, I didn't do it on purpose the first time! <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/smile.gif' class='bbc_emoticon' alt=':)' />

    I just wasn't happy to be told it was a damaged installation.

    [/quote]



    Not a problem! These things happen, though. It doesn't reflect on you poorly.



    I think what khad was getting at is that the installation may have been damaged from the start, and the resulting problems were triggered when 1Password couldn't find Safari as expected. This is sort of what happened, except there was no damage, just a bit of a bug there. Sorry for the trouble! <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/smile.gif' class='bbc_emoticon' alt=':)' />