Autokey stops working after a few minutes

189 views
Skip to first unread message

Joe

unread,
Jan 19, 2013, 4:56:17 PM1/19/13
to autoke...@googlegroups.com
Recent issue (was fine before - for a very long time.)
After I start AutoKey, it works fine for a minute or two then stops.  The menu comes up and I can exit it using a right click on the taskbar icon, but pressing a hotkey (Ctrl-P in this case) does nothing.  It's like the key is dead.

I let AutoKey run in logging mode for a long time (while doing other things) until the problem occurred.  Here is a snip of what looks like a problem.

I'm not much at reading traces, but it looks like the problem occurs just after my script ran successfully.

Any help would be appreciated.

I don't do a whole lot with AutoKey, but the things I use get used many times every day.

This was done using AutoKey-qt, but the same happens (not traced) in AutoKey-gtk. (I have them both installed, but only run one -qt).

I included the script that was triggered in the trace.  I have not modified it since August and I use it many times a day, so it probably didn't cause the error unless something in autokey or the systems it uses has changed.

TIA
    Joe

kubuntu precise (12.04), AutoKey-qt 0.90.4 (from ppa), Toshiba i5 notebook, KDE 4.8.5 (that came with the distro)  - all updates applied on a regular basis as they become available.

2013-01-19 15:30:10,518 DEBUG - iomediator - <ctrl> pressed
2013-01-19 15:30:10,970 DEBUG - service - Raw key: u'p', modifiers: ['<ctrl>'], Key: p
2013-01-19 15:30:10,970 DEBUG - service - Window visible title: u'Your Geek Squad repair has shipped - Inbox - rita...@main.nc.us - Mozilla Thunderbird', Window class: 'Mail.Thunderbird'
2013-01-19 15:30:10,971 INFO - service - Matched hotkey phrase/script with prompt=False
2013-01-19 15:30:10,971 DEBUG - service - Script runner executing: Script('print2file')
2013-01-19 15:30:10,973 DEBUG - iomediator - Send via event interface
2013-01-19 15:30:10,974 DEBUG - service - Ignored locking error in handle_keypress
2013-01-19 15:30:10,978 DEBUG - interface - Send modified key: modifiers: [u'<alt>'] key: f
2013-01-19 15:30:11,332 DEBUG - iomediator - <ctrl> released
2013-01-19 15:30:11,978 DEBUG - iomediator - Send via event interface
2013-01-19 15:30:11,980 DEBUG - interface - Sending string: u'p'
2013-01-19 15:30:13,982 DEBUG - iomediator - Send via event interface
2013-01-19 15:30:13,984 DEBUG - interface - Send special key: [u'<tab>']
2013-01-19 15:30:13,986 DEBUG - interface - Send special key: [u'<home>']
2013-01-19 15:30:15,985 DEBUG - iomediator - Send via event interface
2013-01-19 15:30:15,986 DEBUG - iomediator - Send via event interface
2013-01-19 15:30:15,987 DEBUG - interface - Send special key: [u'<tab>']
2013-01-19 15:30:15,990 DEBUG - interface - Sending string: u'02'
2013-01-19 15:30:18,923 DEBUG - service - Raw key: u'<enter>', modifiers: [], Key: <enter>
2013-01-19 15:30:18,924 DEBUG - service - Window visible title: u'Print', Window class: 'thunderbird.Thunderbird'
2013-01-19 15:30:18,925 DEBUG - service - No phrase/script matched hotkey
Exception in thread KeypressHandler-thread:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/dist-packages/autokey/iomediator.py", line 204, in run
    target.handle_keypress(rawKey, modifiers, key, windowName, windowClass)
  File "/usr/lib/python2.7/dist-packages/autokey/service.py", line 179, in handle_keypress
    currentInput, windowInfo, True)
  File "/usr/lib/python2.7/dist-packages/autokey/service.py", line 304, in __checkTextMatches
    if item.check_input(buffer, windowInfo):
  File "/usr/lib/python2.7/dist-packages/autokey/model.py", line 735, in check_input
    abbr = self._should_trigger_abbreviation(buffer)
  File "/usr/lib/python2.7/dist-packages/autokey/model.py", line 134, in _should_trigger_abbreviation
    if self.__checkInput(buffer, abbr):
  File "/usr/lib/python2.7/dist-packages/autokey/model.py", line 147, in __checkInput
    stringBefore, typedAbbr, stringAfter = self._partition_input(buffer, abbr)
  File "/usr/lib/python2.7/dist-packages/autokey/model.py", line 194, in _partition_input
    stringBefore, typedAbbr, stringAfter = currentString.rpartition(abbr)
ValueError: empty separator

2013-01-19 15:30:24,799 DEBUG - service - Received mouse click - resetting buffer
2013-01-19 15:30:27,493 DEBUG - service - Received mouse click - resetting buffer
2013-01-19 15:30:31 ...............

# print2file

import string
import time
import os

## Copyleft 2012/08/31 - JPmicrosystems GPL
## Change <ctrl>+p for Firefox and Thunderbird
## to print to file in a special print queue using
## numbered file names, 01, 02, ... so the print jobs stay in order
## Intended for use with duplexpr
## http://sourceforge.net/projects/duplexpr/
## User must manually create print queue folder (~/pq)
## and set all *.print_to_filename variables in prefs.js (about:config)
## to path to print queue/01.ps
## e.g. /home/shelelia/pq/01.ps

## Hotkey <ctrl>+p
## Window Filter .*Mozilla.*

## Changes <ctrl>+p to
## Print to file and looks at the print queue (~/pq)
## Finds the last print file number and increments it by one
## Also handles files ending in ".pdf" or ".ps"
## Doesn't send final <Enter> so additional options like Print Selection
## can be set by the user 
##Fails if Loading file to print takes longer than the second delay

def filenum ():
    ## Gets next file number
    ## Set path to print queue
    path = os.getenv("HOME") + '/pq'
    ## Get all the files in the print queue in a list
    ## Handle filesystem error
    try:
        dirlist=os.listdir(path)
    except:
        return "EE"
       
    ## And sort it in reverse order
    ## So the largest numbered file is first
    dirlist.sort(reverse=True)
   
    ## If there aren't any files then
    ## Set last file to 0
    ## else, set it to the last file with a valid number
    ## Defend script against non-numeric file names
    ## go down the reverse sorted list until a numeric one is found
    fn=""
    if len(dirlist) == 0:
      fn = ""
    else:
        files = len(dirlist)
        i = 0
        while (i < files) and (fn == ""):
            name = dirlist[i]
            name = string.replace(name,".pdf","")
            name = string.replace(name,".PDF","")
            name = string.replace(name,".ps","")
            name = string.replace(name,".PS","")
            if name.isdigit():
                fn = str(int(name) + 1)
            i += 1
             
    if fn == "":
      fn = "01"
 
    ## If it's less than 2 characters long,
    ## Left pad it with a zero
    ## To maintain the sorting order
    if len(fn) < 2:
      fn = '0' + fn
     
    return fn


## Open the File menu
## (can't use <ctrl>+p because that's the hotkey)
keyboard.send_keys("<alt>+f")
time.sleep(1.0)
## Select Print
keyboard.send_keys("p")
time.sleep(2.0)
## tab to the printer selection list, then to the top of the list
## which is the Print to File selection
keyboard.send_keys("<tab><home>")
time.sleep(2.0)
## tab to the file name field and enter the print queue directory path
keyboard.send_keys("<tab>")

output = filenum()

## complete the file name field in the print dialog
## But don't send an enter so the user can select
## options before printing
keyboard.send_keys(output)

Joe

unread,
Jan 31, 2013, 11:42:38 AM1/31/13
to autoke...@googlegroups.com
More testing:
I copied all my scripts to another directory and deleted them from the
one autokey looks at.
Started autokey with logging and tried one of my phrases (B_if ) in kate
(text editor).
Looks like the same problem - so it's not related to my scripts.
Later, I may try a complete reinstall.
Log follows.

Joe

bigbird@ramdass:~$ autokey-gtk -l
ERROR:root:Could not find any typelib for AppIndicator3
INFO:root:Initialising application
2013-01-31 11:28:58,902 INFO - root - Initialising application
INFO:root:Initialise global hotkeys
2013-01-31 11:28:58,917 INFO - root - Initialise global hotkeys
INFO:config-manager:Loading config from existing file:
/home/bigbird/.config/autokey/autokey.json
2013-01-31 11:28:58,918 INFO - config-manager - Loading config from
existing file: /home/bigbird/.config/autokey/autokey.json
DEBUG:config-manager:Loading folder at
'/home/bigbird/.config/autokey/data/My Phrases'
2013-01-31 11:28:58,919 DEBUG - config-manager - Loading folder at
'/home/bigbird/.config/autokey/data/My Phrases'
DEBUG:config-manager:Loading folder at
'/home/bigbird/.config/autokey/data/Sample Scripts'
2013-01-31 11:28:58,924 DEBUG - config-manager - Loading folder at
'/home/bigbird/.config/autokey/data/Sample Scripts'
INFO:config-manager:Configuration changed - rebuilding in-memory structures
2013-01-31 11:28:58,925 INFO - config-manager - Configuration changed -
rebuilding in-memory structures
DEBUG:inotify:Adding watch for /home/bigbird/.config/autokey/data/My Phrases
2013-01-31 11:28:58,925 DEBUG - inotify - Adding watch for
/home/bigbird/.config/autokey/data/My Phrases
DEBUG:inotify:Adding watch for /home/bigbird/.config/autokey/data/My
Phrases/Addresses
2013-01-31 11:28:58,925 DEBUG - inotify - Adding watch for
/home/bigbird/.config/autokey/data/My Phrases/Addresses
DEBUG:inotify:Adding watch for /home/bigbird/.config/autokey/data/Sample
Scripts
2013-01-31 11:28:58,925 DEBUG - inotify - Adding watch for
/home/bigbird/.config/autokey/data/Sample Scripts
DEBUG:inotify:Adding watch for /home/bigbird/autokey_scripts
2013-01-31 11:28:58,925 DEBUG - inotify - Adding watch for
/home/bigbird/autokey_scripts
INFO:config-manager:Successfully loaded configuration
2013-01-31 11:28:58,926 INFO - config-manager - Successfully loaded
configuration
DEBUG:inotify:Adding watch for /home/bigbird/.config/autokey/data
2013-01-31 11:28:58,926 DEBUG - inotify - Adding watch for
/home/bigbird/.config/autokey/data
DEBUG:inotify:Adding watch for /home/bigbird/.config/autokey
2013-01-31 11:28:58,926 DEBUG - inotify - Adding watch for
/home/bigbird/.config/autokey
DEBUG:config-manager:Global settings: {'showTrayIcon': True,
'sortByUsageCount': True, 'scriptGlobals': {}, 'undoUsingBackspace':
True, 'notificationIcon': u'autokey-status', 'enableQT4Workaround':
False, 'promptToSave': True, 'menuTakesFocus': False, 'interfaceType':
u'XRecord', 'windowDefaultSize': [600, 400], 'showToolbar': True,
'serviceRunning': True, 'columnWidths': [138, 45, 110],
'workAroundApps': u'.*VirtualBox.*|krdc.Krdc', 'hPanePosition': 303,
'isFirstRun': False}
2013-01-31 11:28:58,926 DEBUG - config-manager - Global settings:
{'showTrayIcon': True, 'sortByUsageCount': True, 'scriptGlobals': {},
'undoUsingBackspace': True, 'notificationIcon': u'autokey-status',
'enableQT4Workaround': False, 'promptToSave': True, 'menuTakesFocus':
False, 'interfaceType': u'XRecord', 'windowDefaultSize': [600, 400],
'showToolbar': True, 'serviceRunning': True, 'columnWidths': [138, 45,
110], 'workAroundApps': u'.*VirtualBox.*|krdc.Krdc', 'hPanePosition':
303, 'isFirstRun': False}
INFO:service:Starting service
2013-01-31 11:28:58,926 INFO - service - Starting service
Xlib.protocol.request.QueryExtension
DEBUG:interface:Modifier masks: {'<capslock>': 2, '<meta>': 8,
'<alt_gr>': 128, '<numlock>': 16, '<hyper>': 64, '<ctrl>': 4, '<shift>':
1, '<alt>': 8, '<super>': 64}
2013-01-31 11:28:58,956 DEBUG - interface - Modifier masks:
{'<capslock>': 2, '<meta>': 8, '<alt_gr>': 128, '<numlock>': 16,
'<hyper>': 64, '<ctrl>': 4, '<shift>': 1, '<alt>': 8, '<super>': 64}
DEBUG:interface:Alt-Grid: XK_Alt_R, 65514
2013-01-31 11:28:58,985 DEBUG - interface - Alt-Grid: XK_Alt_R, 65514
DEBUG:interface:[(92, 0), (92, 2)]
2013-01-31 11:28:58,986 DEBUG - interface - [(92, 0), (92, 2)]
DEBUG:interface:X Server Keymap
2013-01-31 11:28:58,987 DEBUG - interface - X Server Keymap
DEBUG:interface:[\] : [(51, 0), (51, 2)]
2013-01-31 11:28:58,987 DEBUG - interface - [\] : [(51, 0), (51, 2)]
DEBUG:interface:[|] : [(51, 1), (51, 3), (94, 4), (94, 6)]
2013-01-31 11:28:58,988 DEBUG - interface - [|] : [(51, 1), (51, 3),
(94, 4), (94, 6)]
DEBUG:interface:[`] : [(49, 0), (49, 2)]
2013-01-31 11:28:58,988 DEBUG - interface - [`] : [(49, 0), (49, 2)]
DEBUG:interface:[1] : [(10, 0), (10, 2)]
2013-01-31 11:28:58,988 DEBUG - interface - [1] : [(10, 0), (10, 2)]
DEBUG:interface:[2] : [(11, 0), (11, 2)]
2013-01-31 11:28:58,989 DEBUG - interface - [2] : [(11, 0), (11, 2)]
DEBUG:interface:[3] : [(12, 0), (12, 2)]
2013-01-31 11:28:58,989 DEBUG - interface - [3] : [(12, 0), (12, 2)]
DEBUG:interface:[4] : [(13, 0), (13, 2)]
2013-01-31 11:28:58,990 DEBUG - interface - [4] : [(13, 0), (13, 2)]
DEBUG:interface:[5] : [(14, 0), (14, 2)]
2013-01-31 11:28:58,990 DEBUG - interface - [5] : [(14, 0), (14, 2)]
DEBUG:interface:[6] : [(15, 0), (15, 2)]
2013-01-31 11:28:58,990 DEBUG - interface - [6] : [(15, 0), (15, 2)]
DEBUG:interface:[7] : [(16, 0), (16, 2)]
2013-01-31 11:28:58,991 DEBUG - interface - [7] : [(16, 0), (16, 2)]
DEBUG:interface:[8] : [(17, 0), (17, 2)]
2013-01-31 11:28:58,991 DEBUG - interface - [8] : [(17, 0), (17, 2)]
DEBUG:interface:[9] : [(18, 0), (18, 2)]
2013-01-31 11:28:58,992 DEBUG - interface - [9] : [(18, 0), (18, 2)]
DEBUG:interface:[0] : [(19, 0), (19, 2)]
2013-01-31 11:28:58,992 DEBUG - interface - [0] : [(19, 0), (19, 2)]
DEBUG:interface:[-] : [(20, 0), (20, 2)]
2013-01-31 11:28:58,992 DEBUG - interface - [-] : [(20, 0), (20, 2)]
DEBUG:interface:[=] : [(21, 0), (21, 2)]
2013-01-31 11:28:58,993 DEBUG - interface - [=] : [(21, 0), (21, 2)]
DEBUG:interface:[~] : [(49, 1), (49, 3)]
2013-01-31 11:28:58,993 DEBUG - interface - [~] : [(49, 1), (49, 3)]
DEBUG:interface:[!] : [(10, 1), (10, 3)]
2013-01-31 11:28:58,994 DEBUG - interface - [!] : [(10, 1), (10, 3)]
DEBUG:interface:[@] : [(11, 1), (11, 3)]
2013-01-31 11:28:58,994 DEBUG - interface - [@] : [(11, 1), (11, 3)]
DEBUG:interface:[#] : [(12, 1), (12, 3)]
2013-01-31 11:28:58,995 DEBUG - interface - [#] : [(12, 1), (12, 3)]
DEBUG:interface:[$] : [(13, 1), (13, 3)]
2013-01-31 11:28:58,995 DEBUG - interface - [$] : [(13, 1), (13, 3)]
DEBUG:interface:[%] : [(14, 1), (14, 3)]
2013-01-31 11:28:58,995 DEBUG - interface - [%] : [(14, 1), (14, 3)]
DEBUG:interface:[^] : [(15, 1), (15, 3)]
2013-01-31 11:28:58,996 DEBUG - interface - [^] : [(15, 1), (15, 3)]
DEBUG:interface:[&] : [(16, 1), (16, 3)]
2013-01-31 11:28:58,996 DEBUG - interface - [&] : [(16, 1), (16, 3)]
DEBUG:interface:[*] : [(17, 1), (17, 3)]
2013-01-31 11:28:58,997 DEBUG - interface - [*] : [(17, 1), (17, 3)]
DEBUG:interface:[(] : [(187, 0), (18, 1), (187, 2), (18, 3)]
2013-01-31 11:28:58,997 DEBUG - interface - [(] : [(187, 0), (18, 1),
(187, 2), (18, 3)]
DEBUG:interface:[)] : [(188, 0), (19, 1), (188, 2), (19, 3)]
2013-01-31 11:28:58,997 DEBUG - interface - [)] : [(188, 0), (19, 1),
(188, 2), (19, 3)]
DEBUG:interface:[q] : [(24, 0), (24, 2)]
2013-01-31 11:28:58,998 DEBUG - interface - [q] : [(24, 0), (24, 2)]
DEBUG:interface:[w] : [(25, 0), (25, 2)]
2013-01-31 11:28:58,998 DEBUG - interface - [w] : [(25, 0), (25, 2)]
DEBUG:interface:[e] : [(26, 0), (26, 2)]
2013-01-31 11:28:58,998 DEBUG - interface - [e] : [(26, 0), (26, 2)]
DEBUG:interface:[r] : [(27, 0), (27, 2)]
2013-01-31 11:28:58,999 DEBUG - interface - [r] : [(27, 0), (27, 2)]
DEBUG:interface:[t] : [(28, 0), (28, 2)]
2013-01-31 11:28:58,999 DEBUG - interface - [t] : [(28, 0), (28, 2)]
DEBUG:interface:[y] : [(29, 0), (29, 2)]
2013-01-31 11:28:58,999 DEBUG - interface - [y] : [(29, 0), (29, 2)]
DEBUG:interface:[u] : [(30, 0), (30, 2)]
2013-01-31 11:28:58,999 DEBUG - interface - [u] : [(30, 0), (30, 2)]
DEBUG:interface:[i] : [(31, 0), (31, 2)]
2013-01-31 11:28:58,999 DEBUG - interface - [i] : [(31, 0), (31, 2)]
DEBUG:interface:[o] : [(32, 0), (32, 2)]
2013-01-31 11:28:58,999 DEBUG - interface - [o] : [(32, 0), (32, 2)]
DEBUG:interface:[p] : [(33, 0), (33, 2)]
2013-01-31 11:28:58,999 DEBUG - interface - [p] : [(33, 0), (33, 2)]
DEBUG:interface:[[] : [(34, 0), (34, 2)]
2013-01-31 11:28:58,999 DEBUG - interface - [[] : [(34, 0), (34, 2)]
DEBUG:interface:[]] : [(35, 0), (35, 2)]
2013-01-31 11:28:58,999 DEBUG - interface - []] : [(35, 0), (35, 2)]
DEBUG:interface:[a] : [(38, 0), (38, 2)]
2013-01-31 11:28:59,000 DEBUG - interface - [a] : [(38, 0), (38, 2)]
DEBUG:interface:[s] : [(39, 0), (39, 2)]
2013-01-31 11:28:59,000 DEBUG - interface - [s] : [(39, 0), (39, 2)]
DEBUG:interface:[d] : [(40, 0), (40, 2)]
2013-01-31 11:28:59,000 DEBUG - interface - [d] : [(40, 0), (40, 2)]
DEBUG:interface:[f] : [(41, 0), (41, 2)]
2013-01-31 11:28:59,000 DEBUG - interface - [f] : [(41, 0), (41, 2)]
DEBUG:interface:[g] : [(42, 0), (42, 2)]
2013-01-31 11:28:59,000 DEBUG - interface - [g] : [(42, 0), (42, 2)]
DEBUG:interface:[h] : [(43, 0), (43, 2)]
2013-01-31 11:28:59,000 DEBUG - interface - [h] : [(43, 0), (43, 2)]
DEBUG:interface:[j] : [(44, 0), (44, 2)]
2013-01-31 11:28:59,000 DEBUG - interface - [j] : [(44, 0), (44, 2)]
DEBUG:interface:[k] : [(45, 0), (45, 2)]
2013-01-31 11:28:59,000 DEBUG - interface - [k] : [(45, 0), (45, 2)]
DEBUG:interface:[l] : [(46, 0), (46, 2)]
2013-01-31 11:28:59,000 DEBUG - interface - [l] : [(46, 0), (46, 2)]
DEBUG:interface:[;] : [(47, 0), (47, 2)]
2013-01-31 11:28:59,001 DEBUG - interface - [;] : [(47, 0), (47, 2)]
DEBUG:interface:['] : [(48, 0), (48, 2)]
2013-01-31 11:28:59,001 DEBUG - interface - ['] : [(48, 0), (48, 2)]
DEBUG:interface:[z] : [(52, 0), (52, 2)]
2013-01-31 11:28:59,001 DEBUG - interface - [z] : [(52, 0), (52, 2)]
DEBUG:interface:[x] : [(53, 0), (53, 2)]
2013-01-31 11:28:59,001 DEBUG - interface - [x] : [(53, 0), (53, 2)]
DEBUG:interface:[c] : [(54, 0), (54, 2)]
2013-01-31 11:28:59,001 DEBUG - interface - [c] : [(54, 0), (54, 2)]
DEBUG:interface:[v] : [(55, 0), (55, 2)]
2013-01-31 11:28:59,001 DEBUG - interface - [v] : [(55, 0), (55, 2)]
DEBUG:interface:[b] : [(56, 0), (56, 2)]
2013-01-31 11:28:59,001 DEBUG - interface - [b] : [(56, 0), (56, 2)]
DEBUG:interface:[n] : [(57, 0), (57, 2)]
2013-01-31 11:28:59,001 DEBUG - interface - [n] : [(57, 0), (57, 2)]
DEBUG:interface:[m] : [(58, 0), (58, 2)]
2013-01-31 11:28:59,002 DEBUG - interface - [m] : [(58, 0), (58, 2)]
DEBUG:interface:[,] : [(59, 0), (59, 2)]
2013-01-31 11:28:59,002 DEBUG - interface - [,] : [(59, 0), (59, 2)]
DEBUG:interface:[.] : [(60, 0), (60, 2)]
2013-01-31 11:28:59,002 DEBUG - interface - [.] : [(60, 0), (60, 2)]
DEBUG:interface:[/] : [(61, 0), (61, 2)]
2013-01-31 11:28:59,002 DEBUG - interface - [/] : [(61, 0), (61, 2)]
DEBUG:interface:[Q] : [(24, 1), (24, 3)]
2013-01-31 11:28:59,002 DEBUG - interface - [Q] : [(24, 1), (24, 3)]
DEBUG:interface:[W] : [(25, 1), (25, 3)]
2013-01-31 11:28:59,002 DEBUG - interface - [W] : [(25, 1), (25, 3)]
DEBUG:interface:[E] : [(26, 1), (26, 3)]
2013-01-31 11:28:59,002 DEBUG - interface - [E] : [(26, 1), (26, 3)]
DEBUG:interface:[R] : [(27, 1), (27, 3)]
2013-01-31 11:28:59,002 DEBUG - interface - [R] : [(27, 1), (27, 3)]
DEBUG:interface:[T] : [(28, 1), (28, 3)]
2013-01-31 11:28:59,003 DEBUG - interface - [T] : [(28, 1), (28, 3)]
DEBUG:interface:[Y] : [(29, 1), (29, 3)]
2013-01-31 11:28:59,003 DEBUG - interface - [Y] : [(29, 1), (29, 3)]
DEBUG:interface:[U] : [(30, 1), (30, 3)]
2013-01-31 11:28:59,003 DEBUG - interface - [U] : [(30, 1), (30, 3)]
DEBUG:interface:[I] : [(31, 1), (31, 3)]
2013-01-31 11:28:59,003 DEBUG - interface - [I] : [(31, 1), (31, 3)]
DEBUG:interface:[O] : [(32, 1), (32, 3)]
2013-01-31 11:28:59,003 DEBUG - interface - [O] : [(32, 1), (32, 3)]
DEBUG:interface:[P] : [(33, 1), (33, 3)]
2013-01-31 11:28:59,003 DEBUG - interface - [P] : [(33, 1), (33, 3)]
DEBUG:interface:[{] : [(34, 1), (34, 3)]
2013-01-31 11:28:59,003 DEBUG - interface - [{] : [(34, 1), (34, 3)]
DEBUG:interface:[}] : [(35, 1), (35, 3)]
2013-01-31 11:28:59,003 DEBUG - interface - [}] : [(35, 1), (35, 3)]
DEBUG:interface:[A] : [(38, 1), (38, 3)]
2013-01-31 11:28:59,003 DEBUG - interface - [A] : [(38, 1), (38, 3)]
DEBUG:interface:[S] : [(39, 1), (39, 3)]
2013-01-31 11:28:59,004 DEBUG - interface - [S] : [(39, 1), (39, 3)]
DEBUG:interface:[D] : [(40, 1), (40, 3)]
2013-01-31 11:28:59,004 DEBUG - interface - [D] : [(40, 1), (40, 3)]
DEBUG:interface:[F] : [(41, 1), (41, 3)]
2013-01-31 11:28:59,004 DEBUG - interface - [F] : [(41, 1), (41, 3)]
DEBUG:interface:[G] : [(42, 1), (42, 3)]
2013-01-31 11:28:59,004 DEBUG - interface - [G] : [(42, 1), (42, 3)]
DEBUG:interface:[H] : [(43, 1), (43, 3)]
2013-01-31 11:28:59,004 DEBUG - interface - [H] : [(43, 1), (43, 3)]
DEBUG:interface:[J] : [(44, 1), (44, 3)]
2013-01-31 11:28:59,004 DEBUG - interface - [J] : [(44, 1), (44, 3)]
DEBUG:interface:[K] : [(45, 1), (45, 3)]
2013-01-31 11:28:59,004 DEBUG - interface - [K] : [(45, 1), (45, 3)]
DEBUG:interface:[L] : [(46, 1), (46, 3)]
2013-01-31 11:28:59,004 DEBUG - interface - [L] : [(46, 1), (46, 3)]
DEBUG:interface:[:] : [(47, 1), (47, 3)]
2013-01-31 11:28:59,004 DEBUG - interface - [:] : [(47, 1), (47, 3)]
DEBUG:interface:["] : [(48, 1), (48, 3)]
2013-01-31 11:28:59,005 DEBUG - interface - ["] : [(48, 1), (48, 3)]
DEBUG:interface:[Z] : [(52, 1), (52, 3)]
2013-01-31 11:28:59,005 DEBUG - interface - [Z] : [(52, 1), (52, 3)]
DEBUG:interface:[X] : [(53, 1), (53, 3)]
2013-01-31 11:28:59,005 DEBUG - interface - [X] : [(53, 1), (53, 3)]
DEBUG:interface:[C] : [(54, 1), (54, 3)]
2013-01-31 11:28:59,005 DEBUG - interface - [C] : [(54, 1), (54, 3)]
DEBUG:interface:[V] : [(55, 1), (55, 3)]
2013-01-31 11:28:59,005 DEBUG - interface - [V] : [(55, 1), (55, 3)]
DEBUG:interface:[B] : [(56, 1), (56, 3)]
2013-01-31 11:28:59,005 DEBUG - interface - [B] : [(56, 1), (56, 3)]
DEBUG:interface:[N] : [(57, 1), (57, 3)]
2013-01-31 11:28:59,005 DEBUG - interface - [N] : [(57, 1), (57, 3)]
DEBUG:interface:[M] : [(58, 1), (58, 3)]
2013-01-31 11:28:59,005 DEBUG - interface - [M] : [(58, 1), (58, 3)]
DEBUG:interface:[<] : [(94, 0), (59, 1), (94, 2), (59, 3)]
2013-01-31 11:28:59,005 DEBUG - interface - [<] : [(94, 0), (59, 1),
(94, 2), (59, 3)]
DEBUG:interface:[>] : [(60, 1), (94, 1), (60, 3), (94, 3)]
2013-01-31 11:28:59,006 DEBUG - interface - [>] : [(60, 1), (94, 1),
(60, 3), (94, 3)]
DEBUG:interface:[?] : [(61, 1), (61, 3)]
2013-01-31 11:28:59,006 DEBUG - interface - [?] : [(61, 1), (61, 3)]
DEBUG:iomediator:Set modifier <capslock> to False
2013-01-31 11:28:59,007 DEBUG - iomediator - Set modifier <capslock> to
False
DEBUG:iomediator:Set modifier <numlock> to False
2013-01-31 11:28:59,007 DEBUG - iomediator - Set modifier <numlock> to False
DEBUG:interface:Grabbing hotkey: [u'<super>'] u'k'
2013-01-31 11:28:59,009 DEBUG - interface - Grabbing hotkey:
[u'<super>'] u'k'
DEBUG:interface:Grabbing hotkey: [u'<shift>', u'<super>'] u'k'
2013-01-31 11:28:59,010 DEBUG - interface - Grabbing hotkey:
[u'<shift>', u'<super>'] u'k'
DEBUG:interface:Grabbing hotkey: [u'<ctrl>'] u'<f7>'
2013-01-31 11:28:59,011 DEBUG - interface - Grabbing hotkey: [u'<ctrl>']
u'<f7>'
X protocol error:
<class 'Xlib.error.BadAccess'>: code = 10, resource_id = 174,
sequence_number = 15, major_opcode = 33, minor_opcode = 0
X protocol error:
<class 'Xlib.error.BadAccess'>: code = 10, resource_id = 174,
sequence_number = 16, major_opcode = 33, minor_opcode = 0
X protocol error:
<class 'Xlib.error.BadAccess'>: code = 10, resource_id = 174,
sequence_number = 17, major_opcode = 33, minor_opcode = 0
X protocol error:
<class 'Xlib.error.BadAccess'>: code = 10, resource_id = 174,
sequence_number = 18, major_opcode = 33, minor_opcode = 0
X protocol error:
<class 'Xlib.error.BadAccess'>: code = 10, resource_id = 174,
sequence_number = 19, major_opcode = 33, minor_opcode = 0
X protocol error:
<class 'Xlib.error.BadAccess'>: code = 10, resource_id = 174,
sequence_number = 20, major_opcode = 33, minor_opcode = 0
X protocol error:
<class 'Xlib.error.BadAccess'>: code = 10, resource_id = 174,
sequence_number = 21, major_opcode = 33, minor_opcode = 0
X protocol error:
<class 'Xlib.error.BadAccess'>: code = 10, resource_id = 174,
sequence_number = 22, major_opcode = 33, minor_opcode = 0
Xlib.protocol.request.QueryExtension
INFO:interface:XRecord interface thread starting
2013-01-31 11:28:59,032 INFO - interface - XRecord interface thread starting
INFO:service:Service now marked as running
2013-01-31 11:28:59,034 INFO - service - Service now marked as running
INFO:root:Entering main()
2013-01-31 11:28:59,204 INFO - root - Entering main()
DEBUG:service:Received mouse click - resetting buffer
2013-01-31 11:29:03,143 DEBUG - service - Received mouse click -
resetting buffer
DEBUG:iomediator:<shift> pressed
2013-01-31 11:29:05,212 DEBUG - iomediator - <shift> pressed
DEBUG:service:Raw key: u'b', modifiers: ['<shift>'], Key: B
2013-01-31 11:29:05,288 DEBUG - service - Raw key: u'b', modifiers:
['<shift>'], Key: B
DEBUG:service:Window visible title: u'Untitled [modified] \u2013 Kate',
Window class: 'kate.Kate'
2013-01-31 11:29:05,289 DEBUG - service - Window visible title:
u'Untitled [modified] \u2013 Kate', Window class: 'kate.Kate'
DEBUG:service:No phrase/script matched hotkey
2013-01-31 11:29:05,289 DEBUG - service - No phrase/script matched hotkey

Tom Balaban

unread,
Jan 31, 2013, 12:06:06 PM1/31/13
to autoke...@googlegroups.com
FWIW, when this happened to me right after a new install of Linux Mint 14, I started AutoKey using autokey -l. It started working again. I then shut it down and started it in normal fashion. It's been working ever since.

Joe

unread,
Jan 31, 2013, 12:26:44 PM1/31/13
to autoke...@googlegroups.com, Tom Balaban
Thanks, but that doesn't help me.

I'm going to try a clean install. If that doesn't fix it, I'll try to
find support. I'm not giving up right away.

There are several other projects that are somewhat similar to AutoKey
that I will investigate. From what I've seen so far, there's nothing
that will fit my needs like this does, but if it doesn't work ....

Joe

On 01/31/2013 12:06 PM, Tom Balaban wrote:
> FWIW, when this happened to me right after a new install of Linux Mint
> 14, I started AutoKey using /autokey -l/. It started working again. I
> then shut it down and started it in normal fashion. It's been working
> ever since.
>
> On 1/31/2013 11:42 AM, Joe wrote:
>> On 01/19/2013 04:56 PM, Joe wrote:
>>> Recent issue (was fine before - for a very long time.)
>>> After I start AutoKey, it works fine for a minute or two then stops.
>>> The menu comes up and I can exit it using a right click on the taskbar
>>> icon, but pressing a hotkey (Ctrl-P in this case) does nothing. It's
>>> like the key is dead.
>>>
>>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "autokey-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to autokey-user...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Johnny Rosenberg

unread,
Jan 31, 2013, 1:11:11 PM1/31/13
to autoke...@googlegroups.com
2013/1/31 Joe <jos...@main.nc.us>:
> Thanks, but that doesn't help me.
>
> I'm going to try a clean install. If that doesn't fix it, I'll try to
> find support. I'm not giving up right away.
>
> There are several other projects that are somewhat similar to AutoKey
> that I will investigate.

Such as? I'd like to investigate them too.


Johnny Rosenberg

Joe

unread,
Feb 1, 2013, 4:42:12 AM2/1/13
to autoke...@googlegroups.com
Let's give this a try:
imacros - works for Windows as a Firefox plugin. The plugin loads into
Firefox on Linux, but I couldn't figure out how to make it do anything.
http://www.makeuseof.com/tag/leave-repetitive-browser-tasks-to-imacros/
Many things I do with AutoKey are not in Firefox, so this would not
address them.

Google automate linux macros yielded a lot of results. A few that
looked interesting, but that I have not checked much are:

IronAHK - appears to have died on the vine

http://www.sikuli.org/ - this one looks really promising, if a bit more
daunting to get started with. It "looks" at your screen and can
recognize patterns and then trigger actions.

If you're hard core cli or programmer, there's a package called expect
that can read and analyze output of programs and do almost anything (if
you can figure it out).

Of course,simple bash scripts (or the shell/programming language of your
choice) will do a lot of things, but not automagically. You usually
have to do something like run a script from a command line or by
clicking on an Icon that launches it. Much more clunky than AutoKey.

As you look through these, you'll come to appreciate AutoKey's
simplicity and versatility even more.

If you find anything more promising, please let us know!

Joe
Reply all
Reply to author
Forward
0 new messages