abhijitmamarde / autokey

Automatically exported from code.google.com/p/autokey
GNU General Public License v3.0
0 stars 0 forks source link

from autokey scripting failed #115

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.wget http://autokey.googlecode.com/files/autokey_0.71.3.tar.gz
2. tar -xvzf autokey_0.71.3.tar.gz
2. mv build autokey
4. cd autokey
5. sudo apt-get install cdbs fakeroot
6. sudo dpkg-buildpackage -us -uc
7. cd ..
8. sudo dpkg -i autokey_0.71.3-0~maverick_all.deb 
autokey-gtk_0.71.3-0~maverick_all.deb autokey-common_0.71.3-0~maverick_all.deb 
autokey-qt_0.71.3-0~maverick_all.deb
9. ipython
10. from autokey import scripting

What is the expected output? What do you see instead?
Supposed to get no error, but get

/usr/lib/python2.6/dist-packages/autokey/scripting.py in <module>()
     24 else:
     25     import gtk
---> 26 import model
     27 
     28 class Keyboard:

/usr/lib/python2.6/dist-packages/autokey/model.py in <module>()
     18 
     19 import re
---> 20 from configmanager import *
     21 from iomediator import Key, NAVIGATION_KEYS, KEY_SPLIT_RE
     22 from scripting import Store

/usr/lib/python2.6/dist-packages/autokey/configmanager.py in <module>()
    621 from model import *
    622 
--> 623 class GlobalHotkey(AbstractHotkey):
    624     """
    625     A global application hotkey, configured from the advanced settings dialog.

NameError: name 'AbstractHotkey' is not defined

What version of the product are you using? On what operating system?
We use autokey_0.71.3 because the original built-in package don't fit your 
needs because no real python scripting support
We use Ubuntu 10.04. We are supposing that we get problems because of the fact 
latest build seems to be done only for maverick.

Please provide any additional information below.

Original issue reported on code.google.com by osgeo.ma...@gmail.com on 3 May 2011 at 1:21

GoogleCodeExporter commented 8 years ago
Ah yes, this is user error :) You are supposed to write your scripts inside the 
AutoKey GUI, not outside like this.

Original comment by cdekter on 3 May 2011 at 1:46

GoogleCodeExporter commented 8 years ago

Original comment by cdekter on 13 Jun 2011 at 12:09