Advertisement
qq88

Untitled

Jul 25th, 2020
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 6.36 KB | None | 0 0
  1. [qq88@qq88-pc ~]$ autokey-
  2. autokey-gtk    autokey-qt     autokey-run    autokey-shell  
  3. [qq88@qq88-pc ~]$ autokey-run
  4. usage: autokey-run [-h] (-s | -p | -f) name
  5. autokey-run: error: the following arguments are required: name
  6. [qq88@qq88-pc ~]$ autokey-gtk
  7.  
  8. (autokey-gtk:43963): Gtk-WARNING **: 07:39:39.842: Locale not supported by C library.
  9.         Using the fallback 'C' locale.
  10.  
  11. (autokey-gtk:43963): Gtk-WARNING **: 07:39:39.851: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
  12.  
  13. (autokey-gtk:43963): Gtk-WARNING **: 07:39:39.851: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
  14.  
  15. (autokey-gtk:43963): Gtk-WARNING **: 07:39:39.851: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
  16. Traceback (most recent call last):
  17.  File "/usr/bin/autokey-gtk", line 33, in <module>
  18.    sys.exit(load_entry_point('autokey==0.95.10', 'console_scripts', 'autokey-gtk')())
  19.  File "/usr/bin/autokey-gtk", line 25, in importlib_load_entry_point
  20.    return next(matches).load()
  21.  File "/usr/lib/python3.8/importlib/metadata.py", line 77, in load
  22.    module = import_module(match.group('module'))
  23.  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
  24.    return _bootstrap._gcd_import(name[level:], package, level)
  25.  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  26.  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  27.  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  28.  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  29.  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  30.  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  31.  File "/usr/lib/python3.8/site-packages/autokey/gtkui/__main__.py", line 4, in <module>
  32.    from autokey.gtkapp import Application
  33.  File "/usr/lib/python3.8/site-packages/autokey/gtkapp.py", line 47, in <module>
  34.    from autokey.gtkui.configwindow import ConfigWindow
  35.  File "/usr/lib/python3.8/site-packages/autokey/gtkui/configwindow.py", line 31, in <module>
  36.    locale.setlocale(locale.LC_ALL, '')
  37.  File "/usr/lib/python3.8/locale.py", line 608, in setlocale
  38.    return _setlocale(category, locale)
  39. locale.Error: unsupported locale setting
  40. [qq88@qq88-pc ~]$ autokey-qt
  41. Traceback (most recent call last):
  42.  File "/usr/bin/autokey-qt", line 33, in <module>
  43.    sys.exit(load_entry_point('autokey==0.95.10', 'console_scripts', 'autokey-qt')())
  44.  File "/usr/bin/autokey-qt", line 25, in importlib_load_entry_point
  45.    return next(matches).load()
  46.  File "/usr/lib/python3.8/importlib/metadata.py", line 77, in load
  47.    module = import_module(match.group('module'))
  48.  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
  49.    return _bootstrap._gcd_import(name[level:], package, level)
  50.  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  51.  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  52.  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  53.  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  54.  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  55.  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  56.  File "/usr/lib/python3.8/site-packages/autokey/qtui/__main__.py", line 23, in <module>
  57.    from autokey.qtapp import Application
  58.  File "/usr/lib/python3.8/site-packages/autokey/qtapp.py", line 41, in <module>
  59.    from autokey.qtui.configwindow import ConfigWindow
  60.  File "/usr/lib/python3.8/site-packages/autokey/qtui/configwindow.py", line 40, in <module>
  61.    class ConfigWindow(*autokey.qtui.common.inherits_from_ui_file_with_name("mainwindow")):
  62.  File "/usr/lib/python3.8/site-packages/autokey/qtui/common.py", line 146, in load_ui_from_file
  63.    base_type = uic.loadUiType(ui_file, from_imports=True)
  64.  File "/usr/lib/python3.8/site-packages/PyQt5/uic/__init__.py", line 204, in loadUiType
  65.    exec(code_string.getvalue(), ui_globals)
  66.  File "<string>", line 292, in <module>
  67.  File "/usr/lib/python3.8/site-packages/autokey/qtui/centralwidget.py", line 37, in <module>
  68.    class CentralWidget(*ui_common.inherits_from_ui_file_with_name("centralwidget")):
  69.  File "/usr/lib/python3.8/site-packages/autokey/qtui/common.py", line 146, in load_ui_from_file
  70.    base_type = uic.loadUiType(ui_file, from_imports=True)
  71.  File "/usr/lib/python3.8/site-packages/PyQt5/uic/__init__.py", line 204, in loadUiType
  72.    exec(code_string.getvalue(), ui_globals)
  73.  File "<string>", line 67, in <module>
  74.  File "/usr/lib/python3.8/site-packages/autokey/qtui/scriptpage.py", line 20, in <module>
  75.    from PyQt5 import Qsci
  76. ImportError: cannot import name 'Qsci' from 'PyQt5' (/usr/lib/python3.8/site-packages/PyQt5/__init__.py)
  77. [qq88@qq88-pc ~]$ autokey-shell
  78. Python 3.8.3 (default, May 17 2020, 18:15:42)
  79. Type 'copyright', 'credits' or 'license' for more information
  80. IPython 7.10.2 -- An enhanced Interactive Python. Type '?' for help.
  81.  
  82. (ipython3:44057): Gtk-WARNING **: 07:40:13.988: Locale not supported by C library.
  83.        Using the fallback 'C' locale.
  84.  
  85. (ipython3:44057): Gtk-WARNING **: 07:40:13.996: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
  86.  
  87. (ipython3:44057): Gtk-WARNING **: 07:40:13.996: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
  88.  
  89. (ipython3:44057): Gtk-WARNING **: 07:40:13.996: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
  90.  
  91. AutoKey functions from “autokey.scripting_highlevel(under name “hl”)
  92. and “autokey.scripting.System()(under name “system”) are imported.
  93. You can try the functions on the interpreter. For example:
  94. help(hl.click_on_pat)
  95. print(system.exec_command('ls'))
  96.  
  97.  
  98. In [1]:                                              
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement