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

Knox 2.0 Doesn't Remember License # After Restart

JPhil
JPhil Junior Member
edited December 1969 in Knox
I downloaded and upgraded to Knox 2.0 several days ago. I activated my license using the new license number provided and was able to see my existing vaults. When I restart my iMac Vault opens on the dock (not the menu bar as I have indicated in preferences) and it is still in trial mode and doesn't show any of my vaults. I have to open Knox, input my new license number again, and close it before it will reappear on my menu bar showing me as a licensed user. Any suggestions on how I can fix this problem? Thanks

Comments

  • Nik
    Nik
    edited December 1969
    Welcome to the forums, JPhil. Sorry about the trouble you're having. This is strange, it sounds like the preferences are not being written properly. If you run OS X's Console application (Applications/Utilities), do you see anything there pertaining to Knox?
  • JPhil
    JPhil Junior Member
    edited December 1969
    When I run the console application I see the following entries for Knox:

    6/5/10 7:40:59 AM Knox[241] -[NSCFDictionary localDiskBackupPath]: unrecognized selector sent to instance 0x31be60

    6/5/10 7:40:59 AM Knox[241] -[NSCFDictionary localDiskBackupPath]: unrecognized selector sent to instance 0x31be60

    6/5/10 7:39:22 AM Knox[270] -[NSFileManager pathFromFSRef:] ERROR! CFURLCreateFromFSRef: Nil url!

    6/5/10 7:39:22 AM Knox[270] -[NSFileManager pathFromFSRef:] ERROR! CFURLCreateFromFSRef: Nil url!

    6/5/10 7:39:22 AM Knox[270] -[NSFileManager pathFromFSRef:] ERROR! CFURLCreateFromFSRef: Nil url!

    6/5/10 7:39:22 AM Knox[270] -[NSFileManager pathFromFSRef:] ERROR! CFURLCreateFromFSRef: Nil url!

    6/5/10 7:39:22 AM [0x0-0x13013].com.knoxformac.knox 2010-06-05 07:39:22.540 Knox[270:107] -[NSFileManager pathFromFSRef:] ERROR! CFURLCreateFromFSRef: Nil url!

    6/5/10 7:39:22 AM [0x0-0x13013].com.knoxformac.knox 2010-06-05 07:39:22.543 Knox[270:107] -[NSFileManager pathFromFSRef:] ERROR! CFURLCreateFromFSRef: Nil url!

    6/5/10 7:39:22 AM [0x0-0x13013].com.knoxformac.knox 2010-06-05 07:39:22.543 Knox[270:107] -[NSFileManager pathFromFSRef:] ERROR! CFURLCreateFromFSRef: Nil url!

    6/5/10 7:39:22 AM [0x0-0x13013].com.knoxformac.knox 2010-06-05 07:39:22.543 Knox[270:107] -[NSFileManager pathFromFSRef:] ERROR! CFURLCreateFromFSRef: Nil url!

    6/5/10 7:39:22 AM Knox[270] -[NSFileManager pathFromFSRef:] ERROR! CFURLCreateFromFSRef: Nil url!

    6/5/10 7:39:22 AM [0x0-0x13013].com.knoxformac.knox 2010-06-05 07:39:22.611 Knox[270:107] -[NSFileManager pathFromFSRef:] ERROR! CFURLCreateFromFSRef: Nil url!

    6/5/10 7:39:22 AM Knox[270] -[NSFileManager pathFromFSRef:] ERROR! CFURLCreateFromFSRef: Nil url!

    6/5/10 7:39:22 AM Knox[270] -[NSFileManager pathFromFSRef:] ERROR! CFURLCreateFromFSRef: Nil url!

    6/5/10 7:39:22 AM [0x0-0x13013].com.knoxformac.knox 2010-06-05 07:39:22.612 Knox[270:107] -[NSFileManager pathFromFSRef:] ERROR! CFURLCreateFromFSRef: Nil url!

    6/5/10 7:39:22 AM [0x0-0x13013].com.knoxformac.knox 2010-06-05 07:39:22.613 Knox[270:107] -[NSFileManager pathFromFSRef:] ERROR! CFURLCreateFromFSRef: Nil url!

    6/5/10 7:39:22 AM Knox[270] -[NSFileManager pathFromFSRef:] ERROR! CFURLCreateFromFSRef: Nil url!

    6/5/10 7:39:22 AM [0x0-0x13013].com.knoxformac.knox 2010-06-05 07:39:22.614 Knox[270:107] -[NSFileManager pathFromFSRef:] ERROR! CFURLCreateFromFSRef: Nil url!



    These are just the entries for 1 day; other days have equal numbers of entries.
  • MartyS
    MartyS AgileBits Customer Care (retired)
    edited December 1969
    This sounds like a problem in your Knox preferences. The only workaround is to delete the preferences file and then tell Knox about the vaults that it should track.



    Please follow these steps to reset the Knox preferences:



    1. Quit Knox.



    2. Use the Apple Finder to remove the Knox preferences file. To do this, go to your Library > Preferences folder and move the "com.knoxformac.knox.plist" file to your Desktop. They can be trashed later, but for now be conservative so you don't accidentally trash the wrong file.



    3. Start Knox. Since Knox thinks this is the first time you've run it on this computer you will see the Welcome screen.



    4. Click on the Vaults pane. You should now drag from the Finder any Knox vaults that you want to "manage" within Knox to the Vaults area of the preferences. A green plus-sign ("+") will appear and you can release the vault. Repeat with any other vaults. You *will* need to setup any desired backup location for each vault and review the other Knox preferences.



    And yes, you'll have to enter your Knox 2 license once again but you've got it memorized now, right? ;)
  • taoman
    taoman Member
    edited December 1969
    Hi Marty,



    maybe, we don't use the same app knoxformac,

    but we I quit the app, the com.knoxformac.knox.plist doesn't exist anymore, created only when you launch the app ???



    waht else ? will say a famous american actor
  • MartyS
    MartyS AgileBits Customer Care (retired)
    edited December 1969
    [quote name='taoman']maybe, we don't use the same app knoxformac,

    but we I quit the app, the com.knoxformac.knox.plist doesn't exist anymore, created only when you launch the app ???[/QUOTE]



    The Preferences file for Knox is called com.knoxformac.knox.plist — that's just historical from the previous developers. But the file should [B]not[/B] go away unless you or "something" deletes it. Just to make sure I understand: when you're not running Knox the file doesn't exist, when you run Knox it gets created and when you quit Knox it goes away again... everytime?
  • taoman
    taoman Member
    edited December 1969
    Hi Marty,



    I made a mistake, the file exists if Knox is started or quit

    but "Keep open vaults after a restart" doesn't work for me, and i am sure of that (I do the test 3 times)



    Kind regards
  • MikeT
    MikeT Agile Samurai
    edited December 1969
    [quote name='taoman']Hi Marty,



    I made a mistake, the file exists if Knox is started or quit

    but "Keep open vaults after a restart" doesn't work for me, and i am sure of that (I do the test 3 times)



    Kind regards[/QUOTE]



    Just to be clear, the license number is working. Just the open vaults are not opening once reboot, is that right?
  • exquited
    exquited Junior Member
    I have a problem with Knox as it doesn't remember my license after restarting the app.



    Tried various things, but none of them worked:

    [list]

    [*]Delete preference file

    [*]Delete cache

    [*]Remove Knox and install latest version 2.0.8

    [/list]

    Also this mac has a clean install from about a month ago.



    The output from Console.app when I start the app and go into Preferences > License:



    [code]

    25.01.11 11:10:52 [0x0-0x7cc7cc].com.knoxformac.knox 28 CoreFoundation 0x981d7291 CFRunLoopRunInMode + 97

    25.01.11 11:10:52 [0x0-0x7cc7cc].com.knoxformac.knox 29 HIToolbox 0x98663004 RunCurrentEventLoopInMode + 392

    25.01.11 11:10:52 [0x0-0x7cc7cc].com.knoxformac.knox 30 HIToolbox 0x98662dbb ReceiveNextEventCommon + 354

    25.01.11 11:10:52 [0x0-0x7cc7cc].com.knoxformac.knox 31 HIToolbox 0x98662c40 BlockUntilNextEventMatchingListInMode + 81

    25.01.11 11:10:52 [0x0-0x7cc7cc].com.knoxformac.knox 32 AppKit 0x9027c78d _DPSNextEvent + 847

    25.01.11 11:10:52 [0x0-0x7cc7cc].com.knoxformac.knox 33 AppKit 0x9027bfce -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156

    25.01.11 11:10:52 [0x0-0x7cc7cc].com.knoxformac.knox 34 AppKit 0x9023e247 -[NSApplication run] + 821

    25.01.11 11:10:52 [0x0-0x7cc7cc].com.knoxformac.knox 35 AppKit 0x902362d9 NSApplicationMain + 574

    25.01.11 11:10:52 [0x0-0x7cc7cc].com.knoxformac.knox 36 Knox 0x00002b8e start + 54

    25.01.11 11:10:52 [0x0-0x7cc7cc].com.knoxformac.knox 37 ??? 0x00000002 0x0 + 2

    25.01.11 11:10:52 [0x0-0x7cc7cc].com.knoxformac.knox )

    25.01.11 11:10:57 Knox[27838] -[NSFileManager pathFromFSRef:] ERROR! CFURLCreateFromFSRef: Nil url!

    25.01.11 11:10:57 Knox[27838] *** -[NSCFArray insertObject:atIndex:]: attempt to insert nil

    25.01.11 11:11:12 Knox[27838] -[NSCFDictionary localDiskBackupPath]: unrecognized selector sent to instance 0x51fb50

    25.01.11 11:11:12 Knox[27838] HIToolbox: ignoring exception '-[NSCFDictionary localDiskBackupPath]: unrecognized selector sent to instance 0x51fb50' that raised inside Carbon event dispatch

    (

    0 CoreFoundation 0x9826f6ba __raiseError + 410

    1 libobjc.A.dylib 0x970ca509 objc_exception_throw + 56

    2 CoreFoundation 0x982bc90b -[NSObject(NSObject) doesNotRecognizeSelector:] + 187

    3 CoreFoundation 0x98215c36 ___forwarding___ + 950

    4 CoreFoundation 0x98215802 _CF_forwarding_prep_0 + 50

    5 Knox 0x00023b09 -[KVaultManager setInfoObject:forKey:] + 416

    6 Knox 0x00024a30 -[KVaultManager _gatherAllVaultsFromDirectory:] + 907

    7 Knox 0x0002119a -[KVaultManager _gatherAllVaultsFromKnoxFolder] + 412

    8 Knox 0x000254ce -[KVaultManager verifyAndDiscoverVaultFiles] + 39

    9 Knox 0x000056bd -[KAppDelegate menuNeedsUpdate:] + 299

    10 AppKit 0x902afd10 -[NSMenu _populateWithEventRef:] + 306

    11 AppKit 0x902aeef0 -[NSCarbonMenuImpl _carbonPopulateEvent:handlerCallRef:] + 424

    12 AppKit 0x902aec61 NSSLMMenuEventHandler + 404

    13 HIToolbox 0x98635ecf _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1567

    14 HIToolbox 0x98635196 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 411

    15 HIToolbox 0x98634ff5 SendEventToEventTargetWithOptions + 58

    16 HIToolbox 0x98681dd6 _Z16SendMenuPopulateP8MenuDataP20OpaqueEventTargetRefmdmP14OpaqueEventRefPh + 356

    17 HIToolbox 0x98681698 _ZL15SendMenuOpeningP14MenuSelectDataP8MenuDatadmP14__CFDictionaryhPh + 266

    18 HIToolbox 0x9882a079 _ZL19PopUpMenuSelectCoreP8MenuData5PointdS1_tjPK4RecttmS4_S4_PK10__CFStringPP13OpaqueMenuRefPt + 1004

    19 HIToolbox 0x9882a71f _HandlePopUpMenuSelection7 + 678

    20 AppKit 0x90544d2b _NSSLMPopUpCarbonMenu3 + 3938

    21 AppKit 0x907ceb4c +[NSStatusBarButtonCell popupStatusBarMenu:inRect:ofView:withEvent:] + 962

    22 AppKit 0x907d06de -[NSStatusItem popUpStatusItemMenu:] + 175

    23 Knox 0x0003547c -[KStatusItemView _popStatusItemMenu] + 236

    24 Knox 0x00034e4e -[KStatusItemView mouseDown:] + 114

    25 AppKit 0x90391c68 -[NSWindow sendEvent:] + 5549

    26 AppKit 0x907cf169 -[NSStatusBarWindow sendEvent:] + 82

    27 AppKit 0x902aa817 -[NSApplication sendEvent:] + 6431

    28 AppKit 0x9023e2a7 -[NSApplication run] + 917

    29 AppKit 0x902362d9 NSApplicationMain + 574

    30 Knox 0x00002b8e start + 54

    )

    [/code]



    Also odd: When I enter the license manually I have to click two times before it recognizes and displays the license.



    I'd be happy if you could look into this. Thanks!
  • MikeT
    MikeT Agile Samurai
    Hi exquiteid,



    Thanks for the Crash report, we’ll look into for you.



    Can you open Knox’s Preferences and look at the Backups section, is the path to the backup folder correct? The crash is saying something is wrong with it. Try to reset the path.
  • exquited
    exquited Junior Member
    Hello MikeT



    I have no backup path setup right now. I deleted the preference file, but it seems that doesn't help. I also can't create or add any vaults.



    So, currently Knox is unusable for me.
  • khad
    khad Social Choreographer
    edited February 2011
    To diagnose this issue, I will need to see some of your log files to see what's happening.



    Home > Library > Logs > Knox > Knox.log



    For some users, this file may not exist. Don't be alarmed if that's your situation as well.



    I'll also need to look at the other logs in the Console.app while you attempt to reproduce the problem with Knox. You can get these logs as follows:



    1. Launch Console.app which can be found in the /Applications/Utilities folder.

    2. Click the "Clear Display" button on the toolbar.

    3. Launch Knox and reproduce the problem. Then wait 15 seconds to let the Console refresh.

    4. Press Command-A to select all the logs and Command-C to copy them to your clipboard.

    5. After starting a reply to this email, press Command-V to paste the logs.



    Please send me these logs at support@agile.ws, and I'll try to help more.



    Thanks!