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

NSInvalidArgument Exception after PIF import

tji
tji
edited October 2010 in Mac
I just bought 1Password, and began importing various data.



I found that Macheist had a nice export feature to output all the purchased app licenses in 1Password PIF format. So, I exported it to a file, and imported it into 1Password.



During the import, I got the NSInvalidArgument exception. After that, I quit 1Password, intending to re-try it.



But, now on re-start, I get the same exception immediately after entering my password.





Is there any way to recover, without losing all my data?

Comments

  • khad
    khad Social Choreographer
    Hi tji,



    I'm sorry that you're having this problem. Please try reinstalling 1Password:



    1. Download 1Password from our web site:

    http://agilewebsolutions.com/downloads

    Click on the "Download Now" button to the right of "1Password 3"

    2. Quit your web browser and 1Password, if it's running

    3. Open your Applications folder and drag 1Password to the Trash

    4. Install the new copy of 1Password you just downloaded

    5. Run 1Password and then your web browser



    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. Thanks!
  • [quote name='khad' timestamp='1287432135' post='13546']

    Hi tji,



    I'm sorry that you're having this problem. Please try reinstalling 1Password:



    1. Download 1Password from our web site:

    http://agilewebsolutions.com/downloads

    Click on the "Download Now" button to the right of "1Password 3"

    2. Quit your web browser and 1Password, if it's running

    3. Open your Applications folder and drag 1Password to the Trash

    4. Install the new copy of 1Password you just downloaded

    5. Run 1Password and then your web browser



    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. Thanks!

    [/quote]





    I did the above, and got the same crash after authenticating into 1Password.



    Here is some information from the crash dump:





    Process: 1Password [5658]

    Path: /Applications/1Password.app/Contents/MacOS/1Password

    Identifier: ws.agile.1Password

    Version: 3.4.4 (30767)

    Code Type: X86-64 (Native)

    Parent Process: launchd [98]



    Date/Time: 2010-10-18 13:37:23.267 -0700

    OS Version: Mac OS X 10.6.4 (10F569)

    Report Version: 6



    Interval Since Last Report: 661180 sec

    Crashes Since Last Report: 12

    Per-App Interval Since Last Report: 28763 sec

    Per-App Crashes Since Last Report: 7

    Anonymous UUID: 8CF24192-125D-4826-8C41-34D3EE9820F0



    Exception Type: EXC_CRASH (SIGABRT)

    Exception Codes: 0x0000000000000000, 0x0000000000000000

    Crashed Thread: 0 Dispatch queue: com.apple.main-thread



    Application Specific Information:

    abort() called



    Thread 0 Crashed: Dispatch queue: com.apple.main-thread

    0 libSystem.B.dylib 0x00007fff844743d6 __kill + 10

    1 libSystem.B.dylib 0x00007fff84514972 abort + 83

    2 libstdc++.6.dylib 0x00007fff85d11af3 __cxxabiv1::__terminate(void <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_star.png' class='bbc_emoticon' alt='(*)' />()) + 29

    3 libstdc++.6.dylib 0x00007fff85d11b16 __cxxabiv1::__unexpected(void <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_star.png' class='bbc_emoticon' alt='(*)' />()) + 0

    4 libstdc++.6.dylib 0x00007fff85d11bfc __gxx_exception_cleanup(_Unwind_Reason_Code, _Unwind_Exception*) + 0

    5 libobjc.A.dylib 0x00007fff85197192 object_getIvar + 0

    6 com.apple.CoreFoundation 0x00007fff83075999 -[NSException raise] + 9

    7 com.apple.AppKit 0x00007fff807d0af4 _NXDoLocalRunAlertPanel + 1101

    8 com.apple.AppKit 0x00007fff807d1043 NSRunAlertPanel + 170

    9 com.apple.AppKit 0x00007fff805419d3 -[NSApplication run] + 651

    10 com.apple.AppKit 0x00007fff8053a5f8 NSApplicationMain + 364

    11 ws.agile.1Password 0x0000000100001b6c start + 52



    Thread 1: Dispatch queue: com.apple.libdispatch-manager

    (snipped)
  • khad
    khad Social Choreographer
    Please try restoring from a backup (File > Restore Data File from Backup…). Your most recent back is listed at the top.



    You may want to make a copy of your data file before doing so. Select your data file in Finder and choose File > Duplicate from the menu bar. That way if the problem persists (and it is thus unrelated to the import), you can go back to it without any trouble.



    I hope that helps. Please let me know!
  • [quote name='khad' timestamp='1287435657' post='13562']

    Please try restoring from a backup (File > Restore Data File from Backup…). Your most recent back is listed at the top.



    You may want to make a copy of your data file before doing so. Select your data file in Finder and choose File > Duplicate from the menu bar. That way if the problem persists (and it is thus unrelated to the import), you can go back to it without any trouble.



    I hope that helps. Please let me know!

    [/quote]



    I did restore from the backup. That backup was from when the 1password DB was almost empty, but it did begin working again.

    I re-loaded my web passwords, but did not attempt to re-import the PIF file, to avoid re-corrupting.





    This corruption is a pretty concerning problem, it's hard to rely on 1password if the DB is going to be fragile and potentially lock me out of critical account data.
  • khad
    khad Social Choreographer
    edited October 2010
    Please try reimporting the 1PIF and let me know if you experience the same issue. It could be that the 1PIF (which you stated was [i]not[/i] created by 1Password but MacHeist) is not in the correct format. I am sorry that we do not have control over the way MacHeist formats their 1PIF files. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_sadsmile.png' class='bbc_emoticon' alt=':-(' />