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

Keyboard shortcut not working [FIXED]

mattl
mattl Junior Member
Using the latest beta 3.7.1 beta 1 and the latest extension in safari under Lion and just lost the keyboard shortcut doesn't work. I checked under Keyboard preferences that there isn't a conflict with command-slash. Something's wrong, can't figure out what...help!
«1

Comments

  • MikeT
    MikeT Agile Samurai
    [quote name='mattl' timestamp='1312075367' post='35326']

    Using the latest beta 3.7.1 beta 1 and the latest extension in safari under Lion and just lost the keyboard shortcut doesn't work. I checked under Keyboard preferences that there isn't a conflict with command-slash. Something's wrong, can't figure out what...help!

    [/quote]Hi Matti,





    I’m sorry about this, many of our users confirmed that if you restart Safari without saving its state on Lion, it’ll fix the issue. Please open Safari, press “Command + Option + Q” to close it without a saved state and then open Safari again, this should fix the keyboard shortcut.



    If not, it is possible that the extension hasn’t been updated in Safari. Please follow the [url="http://help.agilebits.com/1Password3/safari_5.1_install_update.html#how_to_update_the_new_safari_51_extension"]instruction here to update it.[/url]



    I hope that helps, please let me know.
  • I'm running the latest beta version of the app (3.7.1.BETA-1) and extension (3.7.b4), and at first I thought the main cmd-\ shortcut wasn't working at all on websites where I had a password stored. I would hit it and nothing would happen. Then I realised that if I hit it twice, it autofills in the expected way. Which seems odd.



    Incidentally I was also unable to use auto-unlock but I realised it was a conflict with Glims, but when I uninstalled and reinstalled Glims it solved that problem.
  • mattl
    mattl Junior Member
    edited August 2011
    [quote name='MikeT' timestamp='1312088726' post='35345']

    Hi Matti,





    I’m sorry about this, many of our users confirmed that if you restart Safari without saving its state on Lion, it’ll fix the issue. Please open Safari, press “Command + Option + Q” to close it without a saved state and then open Safari again, this should fix the keyboard shortcut.



    If not, it is possible that the extension hasn’t been updated in Safari. Please follow the [url="http://help.agilebits.com/1Password3/safari_5.1_install_update.html#how_to_update_the_new_safari_51_extension"]instruction here to update it.[/url]



    I hope that helps, please let me know.

    [/quote]



    Did those things, just updated the 1P application and the extension. Now have extension 3.7b7. Closed Safari without a saved state, still no shortcut. Appreciate any other ideas, will keep updating extension regularly.
  • khad
    khad Social Choreographer
    What happens if you change the keyboard shortcut to another key combination in 1Password' preferences? Is the problem with ⌘\ specifically or all keyboard shortcuts? Does ⌥⌘\ open the All Logins section in the browser?



    Could you please try the new Beta release (3.7.1.BETA-2) and see if it fixes this problem? You can do this by going to the 1Password > Preferences window, selecting the Update panel, enable the "Include Beta versions" checkbox, and then click Check Now. Once the update is installed, try again and see if it helps.
  • dweeks
    dweeks Junior Member
    edited August 2011
    I have problems, too.



    Safari 5.1,the latest 1Password beta 3.71 beta 2, and the latest Safari extension.



    I can't even get Command \ to invoke the logins window. Nothing happens. Same in Firefox 5.
  • mattl
    mattl Junior Member
    [quote name='khad' timestamp='1312200366' post='35597']

    What happens if you change the keyboard shortcut to another key combination in 1Password' preferences? Is the problem with ⌘\ specifically or all keyboard shortcuts? Does ⌥⌘\ open the All Logins section in the browser?



    Could you please try the new Beta release (3.7.1.BETA-2) and see if it fixes this problem? You can do this by going to the 1Password > Preferences window, selecting the Update panel, enable the "Include Beta versions" checkbox, and then click Check Now. Once the update is installed, try again and see if it helps.

    [/quote]



    I'm using the latest beta, should have posted this in the beta section, perhaps. Also latest extension. I tried to change the shortcuts, but that didn't help. ⌥⌘\ doesn't work either.
  • A User
    edited August 2011
    I had the same problem (even after changing to a new shortcut, uninstalling the extension, etc). Here is how I fixed it.



    [b][Instruction removed as it was a dangerous procedure and Agilebits do not recommend doing this -MikeT][/b]



    I probably did a bunch of too many things there in an effort to be sure to delete the culprit file, but since simply uninstalling the extension didn't work I figured I would go into the Library folder and delete some stuff <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/smile.gif' class='bbc_emoticon' alt=':)' /> Looks like it worked.





    A quick note: In Lion, the Library folder is now hidden by default. To unhide it, open Terminal and type [code]chflags nohidden ~/Library[/code].
  • Hi dweeks,



    This is strange, there haven't been any changes to our Firefox 5 extension so the Command + \ keyboard shortcut should still work. If you go to 1Password > Preferences > Logins can you make sure the keyboard shortcut is set correctly?



    Please let me know,





    [quote name='dweeks' timestamp='1312208644' post='35646']

    I have problems, too.



    Safari 5.1,the latest 1Password beta 3.71 beta 2, and the latest Safari extension.



    I can't even get Command \ to invoke the logins window. Nothing happens. Same in Firefox 5.

    [/quote]
  • Thanks for posting this, it's very strange that you had to go through all of this, as you said just removing the extension and then reinstalling it should just do the trick.



    That said, I think the key step is the one you pointed out here:



    [quote name='A User' timestamp='1312210053' post='35654']

    1. Open finder and go to YourUsername -> Library. Search for "1password" and select to show only results from the Library folder.

    2. From the results, delete "1Password(beta)-1.safariextension" (a folder) and "1password(beta)-1.safariextz" (extension)

    [/quote]



    The precise path the extensions should be located in is:



    [code]~/Library/Safari/Extensions[/code]



    Make sure Safari is not running at this point, just to be on the safe side. The easiest way to then reinstall the extension is to click the following link to download the extension, then double-click it to install:



    http://cdn.agilebits.com/dist/1P/ext/1PasswordBeta.safariextz



    [quote]A quick note: In Lion, the Library folder is now hidden by default. To unhide it, open Terminal and type [code]chflags nohidden ~/Library[/code].[/quote]



    Another option, which doesn't involve the Terminal, is to go to the 'Go' menu from a Finder window and hold down the Option ⌥ key to reveal 'Library' as one of the choices you can navigate to.



    Matti, could you try the above to see if this does the trick for you?
  • paul7
    paul7 Junior Member
    I was having the same problem running 10.6.8, Safari 5.1, and 1Password extension 3.7.b2. What fixed it was to quit and re-start Safari. Maybe there should be some warning to tell you to quit and restart Safari after installing the extension.
  • mattl
    mattl Junior Member
    [quote name='stu' timestamp='1312228505' post='35717']

    Thanks for posting this, it's very strange that you had to go through all of this, as you said just removing the extension and then reinstalling it should just do the trick.



    That said, I think the key step is the one you pointed out here:







    The precise path the extensions should be located in is:



    [code]~/Library/Safari/Extensions[/code]



    Make sure Safari is not running at this point, just to be on the safe side. The easiest way to then reinstall the extension is to click the following link to download the extension, then double-click it to install:



    http://cdn.agilebits.com/dist/1P/ext/1PasswordBeta.safariextz







    Another option, which doesn't involve the Terminal, is to go to the 'Go' menu from a Finder window and hold down the Option ⌥ key to reveal 'Library' as one of the choices you can navigate to.



    Matti, could you try the above to see if this does the trick for you?

    [/quote]



    Deleting the extension from ~/Library/Safari/Extensions then reinstalling it, then command-option-quitting Safari worked on the MB Air. Will try it on the home iMac to see if that works later tonight.



    Thanks for the help.
  • [quote name='mattl' timestamp='1312230439' post='35738']

    Deleting the extension from ~/Library/Safari/Extensions then reinstalling it, then command-option-quitting Safari worked on the MB Air. Will try it on the home iMac to see if that works later tonight.



    Thanks for the help.

    [/quote]



    Thanks for the update, mattl, glad to hear that worked for the MacBook Air (I really need to get one) do keep us posted about how things turn out on the iMac.
  • mattl
    mattl Junior Member
    [quote name='stu' timestamp='1312231706' post='35750']

    Thanks for the update, mattl, glad to hear that worked for the MacBook Air (I really need to get one) do keep us posted about how things turn out on the iMac.

    [/quote]



    The simple approach that worked on the Air did not work on the iMac. The more thorough approach described by A User did not work either. Still stuck on the iMac. Using the b8 extension now.



    Any further advice appreciated.
  • roustem
    roustem AgileBits Founder
    [quote name='mattl' timestamp='1312251167' post='35832']

    The simple approach that worked on the Air did not work on the iMac. The more thorough approach described by A User did not work either. Still stuck on the iMac. Using the b8 extension now.



    Any further advice appreciated.

    [/quote]



    Please open Console.app and then restart Safari. Do you see any new messages in the "All Messages" or in ~/Library/Logs/1Password/1PasswordAgent.log?
  • mattl
    mattl Junior Member
    edited August 2011
    [quote name='roustem' timestamp='1312252318' post='35837']

    Please open Console.app and then restart Safari. Do you see any new messages in the "All Messages" or in ~/Library/Logs/1Password/1PasswordAgent.log?

    [/quote]



    just updated to final 3.7.1 and extension 3.7b9. did the option command quit of Safari after replacing the latest extension after trashing the old one. Still doesn't work.



    Console.app output in all messages:





    8/1/11 8:45:52.169 PM Safari: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.

    8/1/11 8:45:52.169 PM Safari: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.

    8/1/11 8:45:52.170 PM Safari: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.



    in 1PasswordAgent.log:



    [31089] Mon Aug 1 20:45:55 2011| [SES] Using extension database: '/Users/matt/Library/Safari/Databases/safari-extension_com.agilebits.onepassword-safari-2bua8c4s2c_0/000000000000000d.db'

    [31089] Mon Aug 1 20:45:55 2011| [SES] Using extension database: '/Users/matt/Library/Safari/Databases/safari-extension_com.agilebits.onepassword-safari-2bua8c4s2c_0/000000000000000d.db'



    Not much there, but maybe this gives you a clue...
  • roustem
    roustem AgileBits Founder
    Thanks!



    You should see something like this:





    [code][31089] Mon Aug 1 23:52:23 2011| [SES] Using extension database: '/Users/roustem/Library/Safari/Databases/safari-extension_com.agilebits.onepassword-safari-2bua8c4s2c_0/000000000000000a.db'

    [31089] Mon Aug 1 23:52:23 2011| [SES] 1Password locked

    [31089] Mon Aug 1 23:52:23 2011| [AES] Starting server on port 6258

    [31089] Mon Aug 1 23:52:23 2011| [AES] didAddClient

    [31089] Mon Aug 1 23:52:23 2011| [AES] Adding client [3A20608D-1348-4568-A4D3-4650EA2D9386]: com.apple.Safari

    [31089] Mon Aug 1 23:52:26 2011| [SES] Using extension database: '/Users/roustem/Library/Safari/Databases/safari-extension_com.agilebits.onepassword-safari-2bua8c4s2c_0/000000000000000a.db'

    [/code]



    Most importantly — a message about starting the server and another message about adding Safari as a client.
  • mattl
    mattl Junior Member
    [quote name='roustem' timestamp='1312257226' post='35893']

    Thanks!



    You should see something like this:





    [code][31089] Mon Aug 1 23:52:23 2011| [SES] Using extension database: '/Users/roustem/Library/Safari/Databases/safari-extension_com.agilebits.onepassword-safari-2bua8c4s2c_0/000000000000000a.db'

    [31089] Mon Aug 1 23:52:23 2011| [SES] 1Password locked

    [31089] Mon Aug 1 23:52:23 2011| [AES] Starting server on port 6258

    [31089] Mon Aug 1 23:52:23 2011| [AES] didAddClient

    [31089] Mon Aug 1 23:52:23 2011| [AES] Adding client [3A20608D-1348-4568-A4D3-4650EA2D9386]: com.apple.Safari

    [31089] Mon Aug 1 23:52:26 2011| [SES] Using extension database: '/Users/roustem/Library/Safari/Databases/safari-extension_com.agilebits.onepassword-safari-2bua8c4s2c_0/000000000000000a.db'

    [/code]



    Most importantly — a message about starting the server and another message about adding Safari as a client.

    [/quote]



    I logged out then back in to my user account, opened Safari



    in 1PasswordAgent.log



    [31089] Mon Aug 1 20:59:27 2011| == Opening log session ==

    [31089] Mon Aug 1 20:59:27 2011| Starting 1PasswordAgent 3.7.1 #31089 built Aug 1 2011 22:39:46

    [31089] Mon Aug 1 20:59:27 2011| Trying to load Localizable.strings [English] from the main bundle

    [31089] Mon Aug 1 20:59:27 2011| Cannot find English version, using English localization for Localizable.strings

    [31089] Mon Aug 1 20:59:31 2011| Initializing AGHtmlDatabase object with path 'file://localhost/Users/matt/Dropbox/1Password.agilekeychain/'.

    [31089] Mon Aug 1 20:59:31 2011| watchProfile

    [31089] Mon Aug 1 20:59:31 2011| reloadAllObjects

    [31089] Mon Aug 1 20:59:31 2011| Database (AGHtmlDatabase:file://localhost/Users/matt/Dropbox/1Password.agilekeychain/) load time [Cache]: 0.216+0.003 (933 objects)

    [31089] Mon Aug 1 20:59:31 2011| [SES] Using extension database: '/Users/matt/Library/Safari/Databases/safari-extension_com.agilebits.onepassword-safari-2bua8c4s2c_0/000000000000000d.db'

    [31089] Mon Aug 1 20:59:31 2011| [SES] 1Password locked

    [31089] Mon Aug 1 20:59:31 2011| [AES] Starting server on port 10191

    [31089] Mon Aug 1 20:59:34 2011| [SES] Using extension database: '/Users/matt/Library/Safari/Databases/safari-extension_com.agilebits.onepassword-safari-2bua8c4s2c_0/000000000000000d.db'

    [31089] Mon Aug 1 20:59:34 2011| [SES] 1Password locked

    [31089] Mon Aug 1 21:02:18 2011| [SES] Using extension database: '/Users/matt/Library/Safari/Databases/safari-extension_com.agilebits.onepassword-safari-2bua8c4s2c_0/000000000000000d.db'

    [31089] Mon Aug 1 21:02:18 2011| [SES] 1Password locked





    In All Messages, same message as in my previous post.
  • roustem
    roustem AgileBits Founder
    I wonder what prevents Safari from connecting to 1PasswordAgent -- there are no connection messages in the logs.



    Please try to open Activity Monitor application and search for 1PasswordAgent:



    [img]https://img.skitch.com/20110802-emwupwm1kjxeyp1bycgjjggw24.png[/img]



    Select 1PasswordAgent and the click "Quit Process". 1PasswordAgent will restart in a few seconds.



    After that, restart Safari and see if there are any connection messages in the log.



    Thank you!
  • mattl
    mattl Junior Member
    [quote name='roustem' timestamp='1312258544' post='35897']

    I wonder what prevents Safari from connecting to 1PasswordAgent -- there are no connection messages in the logs.



    Please try to open Activity Monitor application and search for 1PasswordAgent:



    [img]https://img.skitch.com/20110802-emwupwm1kjxeyp1bycgjjggw24.png[/img]



    Select 1PasswordAgent and the click "Quit Process". 1PasswordAgent will restart in a few seconds.



    After that, restart Safari and see if there are any connection messages in the log.



    Thank you!

    [/quote]



    Here's a clue:

    [31089] Mon Aug 1 21:18:01 2011| == Opening log session ==

    [31089] Mon Aug 1 21:18:01 2011| Starting 1PasswordAgent 3.7.1 #31089 built Aug 1 2011 22:39:46

    [31089] Mon Aug 1 21:18:01 2011| Trying to load Localizable.strings [English] from the main bundle

    [31089] Mon Aug 1 21:18:01 2011| Cannot find English version, using English localization for Localizable.strings

    [31089] Mon Aug 1 21:18:01 2011| Initializing AGHtmlDatabase object with path 'file://localhost/Users/matt/Dropbox/1Password.agilekeychain/'.

    [31089] Mon Aug 1 21:18:01 2011| watchProfile

    [31089] Mon Aug 1 21:18:01 2011| reloadAllObjects

    [31089] Mon Aug 1 21:18:01 2011| Database (AGHtmlDatabase:file://localhost/Users/matt/Dropbox/1Password.agilekeychain/) load time [Cache]: 0.059+0.003 (933 objects)

    [31089] Mon Aug 1 21:18:01 2011| [SES] Using extension database: '/Users/matt/Library/Safari/Databases/safari-extension_com.agilebits.onepassword-safari-2bua8c4s2c_0/000000000000000d.db'

    [31089] Mon Aug 1 21:18:01 2011| [SES] 1Password locked

    [31089] Mon Aug 1 21:18:01 2011| [AES] Starting server on port 10191

    [31089] Mon Aug 1 21:18:04 2011| [SES] Using extension database: '/Users/matt/Library/Safari/Databases/safari-extension_com.agilebits.onepassword-safari-2bua8c4s2c_0/000000000000000d.db'

    [31089] Mon Aug 1 21:18:07 2011| [AES] didAddClient

    [31089] Mon Aug 1 21:18:07 2011| Crypto operation failed: -4301

    [31089] Mon Aug 1 21:18:07 2011| [AES] Invalid socket data. Ignoring

    [31089] Mon Aug 1 21:18:49 2011| [SES] Using extension database: '/Users/matt/Library/Safari/Databases/safari-extension_com.agilebits.onepassword-safari-2bua8c4s2c_0/000000000000000d.db'

    [31089] Mon Aug 1 21:18:49 2011| [SES] Using extension database: '/Users/matt/Library/Safari/Databases/safari-extension_com.agilebits.onepassword-safari-2bua8c4s2c_0/000000000000000d.db'



    Looks like a problem after the didAddClient.
  • dteare
    dteare Agile Founder
    [quote name='mattl' timestamp='1312258911' post='35900']

    [31089] Mon Aug 1 21:18:07 2011| [AES] didAddClient

    [31089] Mon Aug 1 21:18:07 2011| Crypto operation failed: -4301

    [31089] Mon Aug 1 21:18:07 2011| [AES] Invalid socket data. Ignoring

    [/quote]



    Ah, so the plot thickens! Thank you so much for posting this, it is very useful.



    I have a hunch about what has happened. Could you please run this command from Terminal and post the results?



    [code]sqlite3 -line ~/Library/Safari/Databases/Databases.db "select * from Databases where name = 'OnePassword';"[/code]



    Thank you!
  • mattl
    mattl Junior Member
    [quote name='dteare' timestamp='1312294517' post='35987']

    Ah, so the plot thickens! Thank you so much for posting this, it is very useful.



    I have a hunch about what has happened. Could you please run this command from Terminal and post the results?



    [code]sqlite3 -line ~/Library/Safari/Databases/Databases.db "select * from Databases where name = 'OnePassword';"[/code]



    Thank you!

    [/quote]





    guid = 13

    origin = safari-extension_com.agilebits.onepassword-safari-2bua8c4s2c_0

    name = OnePassword

    displayName = 1Password Database

    estimatedSize = 104857600

    path = 000000000000000d.db





    Hope this helps
  • dteare
    dteare Agile Founder
    [quote name='mattl' timestamp='1312294803' post='35989']

    Hope this helps

    [/quote]



    Thanks for the quick reply. This info does indeed help a lot, but it doesn't match my hunch since everything looks perfectly fine.



    It looks like we'll need to add more logging to see what's happening. Please post the updated logs once the new 1Password 3.7.2 beta is released. Likely sometime later today or tomorrow at the latest.
  • MikeT
    MikeT Agile Samurai
    Hi Mattl,



    This may not fix it but I’d like you to do the following to at least eliminate it as a possible cause.



    [list=1][*]Open Safari, go to its Preferences > Extensions[*]Select 1Password on the left side and press the Uninstall button on the right[*]Quit Safari with “Command + Option + Q”[*]Open Finder, go to [code]Home > Library > Safari > Databases[/code][*]Confirm for us that you don’t see the following folder: [code]safari-extension_com.agilebits.onepassword-safari-2bua8c4s2c_0 [/code][*]If you do, please move this to the desktop[*]Open 1Password and let it install the Safari 5.1 extension or you can go to the 1Password Menu > Preferences > Browsers to press the “Install Safari extension” button[*]After Safari finish installing it, wait a few seconds, switch back to 1Password and go to Help > Troubleshooting > Restart Agent[*]Wait a minute, go back to Safari, quit it with “Command + Option + Q” again and start it up, see if Safari works better now.[/list]
  • dteare
    dteare Agile Founder
    [quote name='mattl' timestamp='1312251167' post='35832']

    The simple approach that worked on the Air did not work on the iMac. The more thorough approach described by A User did not work either. Still stuck on the iMac. Using the b8 extension now.

    [/quote]



    I just wanted to clarify: you mentioned you are using Lion in the OP, but are both the Air and the iMac running Lion?
  • mattl
    mattl Junior Member
    [quote name='dteare' timestamp='1312301563' post='36041']

    I just wanted to clarify: you mentioned you are using Lion in the OP, but are both the Air and the iMac running Lion?

    [/quote]



    Yes, running Lion on both. Will look for the next 1P beta and will try the steps above later tonight when I'm back at the home iMac...
  • MikeT
    MikeT Agile Samurai
    Hi Harry, welcome to the forums!



    Thanks for letting us know about Glims, we’ll look into that. We just released the update for both the 1Password app and the extension, 3.7.1 and 3.7b9 respectively. [url="http://help.agilebits.com/1Password3/safari_install_update.html#how_to_update_the_new_safari_51_extension"]Please update both[/url] and see if that’ll fix the issue with the keyboard shortcut.



    You do have to unlock the 1Password extension first before the command + \ can respond. We’re looking into fixing this, so that it’d prompt for the password before filling in.



    I hope this helps, please let me know.
  • Sorry, I should have replied to my own post sooner, really; I think one of the updates solved the problem for me. Thanks!



    [quote name='MikeT' timestamp='1312305570' post='36062']

    Hi Harry, welcome to the forums!



    Thanks for letting us know about Glims, we’ll look into that. We just released the update for both the 1Password app and the extension, 3.7.1 and 3.7b9 respectively. [url="http://help.agilebits.com/1Password3/safari_install_update.html#how_to_update_the_new_safari_51_extension"]Please update both[/url] and see if that’ll fix the issue with the keyboard shortcut.



    You do have to unlock the 1Password extension first before the command + \ can respond. We’re looking into fixing this, so that it’d prompt for the password before filling in.



    I hope this helps, please let me know.

    [/quote]
  • MartyS
    MartyS AgileBits Customer Care (retired)
    [quote name='mattl' timestamp='1312301744' post='36042']

    Yes, running Lion on both. Will look for the next 1P beta and will try the steps above later tonight when I'm back at the home iMac...

    [/quote]



    Thanks for the update! Please let us know what you find out when you have the time.
  • mrtoner
    mrtoner Senior Member
    edited August 2011
    Using 3.7.1/3.7b9, cmd-\ is unresponsive. Extension seems to work fine otherwise.



    [b]Update[/b]: the shortcut is hit-and-miss.
  • mattl
    mattl Junior Member
    [quote name='MikeT' timestamp='1312296199' post='36009']

    Hi Mattl,



    This may not fix it but I’d like you to do the following to at least eliminate it as a possible cause.



    [list=1][*]Open Safari, go to its Preferences > Extensions[*]Select 1Password on the left side and press the Uninstall button on the right[*]Quit Safari with “Command + Option + Q”[*]Open Finder, go to [code]Home > Library > Safari > Databases[/code][*]Confirm for us that you don’t see the following folder: [code]safari-extension_com.agilebits.onepassword-safari-2bua8c4s2c_0 [/code][*]If you do, please move this to the desktop[*]Open 1Password and let it install the Safari 5.1 extension or you can go to the 1Password Menu > Preferences > Browsers to press the “Install Safari extension” button[*]After Safari finish installing it, wait a few seconds, switch back to 1Password and go to Help > Troubleshooting > Restart Agent[*]Wait a minute, go back to Safari, quit it with “Command + Option + Q” again and start it up, see if Safari works better now.[/list]

    [/quote]



    This did not work.