Author Topic: Autokey stopped working after updates.  (Read 558 times)

Offline veronicathecow

  • Full Member
  • ***
  • Posts: 185
Autokey stopped working after updates.
« on: January 18, 2013, 02:02:53 AM »
KDE fully updated

When starting from a command line I am now getting

 autokey-qt
Traceback (most recent call last):
  File "/usr/bin/autokey-qt", line 20, in <module>
    from autokey.qtapp import Application
  File "/usr/lib/python2.6/site-packages/autokey/qtapp.py", line 30, in <module>
    from qtui.configwindow import ConfigWindow
  File "/usr/lib/python2.6/site-packages/autokey/qtui/configwindow.py", line 24, in <module>
    from PyQt4 import Qsci
RuntimeError: the sip module implements API v9.0 to v9.1 but the PyQt4.Qsci module requires API v8.1

Any ideas much appreciated
« Last Edit: January 18, 2013, 02:15:53 AM by veronicathecow »

Offline AnotherUser

  • Full Member
  • ***
  • Posts: 91
Re: Autokey stopped working after updates.
« Reply #1 on: January 18, 2013, 06:09:38 AM »
This must have something to do with the recent push of a new Qt build. I'm sure someone will come by soon enough and fill in the holes

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: Autokey stopped working after updates.
« Reply #2 on: January 18, 2013, 06:16:15 AM »
fixed update sent to dropbox
-p.

Offline veronicathecow

  • Full Member
  • ***
  • Posts: 185
Re: Autokey stopped working after updates.
« Reply #3 on: January 18, 2013, 08:41:56 AM »
Thanks to you both for replies.I am assuming dropbox reference is a way of updates being added to repos? If so many thanks pinoc



Offline veronicathecow

  • Full Member
  • ***
  • Posts: 185
Re: Autokey stopped working after updates.
« Reply #4 on: January 21, 2013, 04:08:23 PM »
Hi, new updated autokey has come through but I am still getting the same error

  autokey-qt
Traceback (most recent call last):
  File "/usr/bin/autokey-qt", line 20, in <module>
    from autokey.qtapp import Application
  File "/usr/lib/python2.6/site-packages/autokey/qtapp.py", line 30, in <module>
    from qtui.configwindow import ConfigWindow
  File "/usr/lib/python2.6/site-packages/autokey/qtui/configwindow.py", line 24, in <module>
    from PyQt4 import Qsci
RuntimeError: the sip module implements API v9.0 to v9.1 but the PyQt4.Qsci module requires API v8.1


Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: Autokey stopped working after updates.
« Reply #5 on: January 21, 2013, 04:09:27 PM »
works fine on KDE 4.9.5, coming soon
-p.

Offline veronicathecow

  • Full Member
  • ***
  • Posts: 185
Re: Autokey stopped working after updates.
« Reply #6 on: January 21, 2013, 04:18:59 PM »
Hi Pinoc, thanks I will await for that update and see if that sorts it.
This is such a useful little piece of software. I list on ebay etc and it saves so much typing having predefined phrases etc and I had forgotten how much time it saves.
Cheers Ton

Offline veronicathecow

  • Full Member
  • ***
  • Posts: 185
Re: Autokey stopped working after updates.
« Reply #7 on: February 13, 2013, 01:59:28 AM »
Hi, autokey was working for a few days but then an update (not sure which one) has killed it
 autokey-qt
Traceback (most recent call last):
  File "/usr/bin/autokey-qt", line 20, in <module>
    from autokey.qtapp import Application
  File "/usr/lib/python2.6/site-packages/autokey/qtapp.py", line 22, in <module>
    from PyKDE4.kdecore import KCmdLineArgs, KCmdLineOptions, KAboutData, ki18n, i18n
RuntimeError: the sip module implements API v9.0 to v9.1 but the PyKDE4.kdecore module requires API v8.1

Any help appreciated, thanks.

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: Autokey stopped working after updates.
« Reply #8 on: February 13, 2013, 04:08:57 AM »
autokey-qt works fine here on 32 and 64 and I have all updates installed.

You could try to install strace and then run from a terminal
Code: [Select]
strace autokey-qt and see if that provides some insight.

Offline veronicathecow

  • Full Member
  • ***
  • Posts: 185
Re: Autokey stopped working after updates.
« Reply #9 on: February 13, 2013, 10:57:16 AM »
Hi Pinoc, thanks for that, I have just tried running it but there are dozens of pages, should I paste the whole thing into forum?
Cheers

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: Autokey stopped working after updates.
« Reply #10 on: February 13, 2013, 10:58:19 AM »
Hi Pinoc, thanks for that, I have just tried running it but there are dozens of pages, should I paste the whole thing into forum?
Cheers

no, only the end part when it crashes and the reason for the crash is shown.
-p.

Offline veronicathecow

  • Full Member
  • ***
  • Posts: 185
Re: Autokey stopped working after updates.
« Reply #11 on: February 13, 2013, 10:57:17 PM »
Hope this is enough.
T

write(2, "Traceback (most recent call last"..., 35Traceback (most recent call last):
) = 35
write(2, "  File \"/usr/bin/autokey-qt\", li"..., 51  File "/usr/bin/autokey-qt", line 20, in <module>
) = 51
open("/usr/bin/autokey-qt", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0755, st_size=804, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb776a000
read(3, "#!/usr/bin/python\n# -*- coding: "..., 4096) = 804
write(2, "    ", 4    )                     = 4
write(2, "from autokey.qtapp import Applic"..., 38from autokey.qtapp import Application
) = 38
close(3)                                = 0
munmap(0xb776a000, 4096)                = 0
write(2, "  File \"/usr/lib/python2.6/site-"..., 81  File "/usr/lib/python2.6/site-packages/autokey/qtapp.py", line 22, in <module>
) = 81
open("/usr/lib/python2.6/site-packages/autokey/qtapp.py", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=11882, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb776a000
read(3, "# -*- coding: utf-8 -*-\n\n# Copyr"..., 4096) = 4096
write(2, "    ", 4    )                     = 4
write(2, "from PyKDE4.kdecore import KCmdL"..., 82from PyKDE4.kdecore import KCmdLineArgs, KCmdLineOptions, KAboutData, ki18n, i18n
) = 82
close(3)                                = 0
munmap(0xb776a000, 4096)                = 0
write(2, "RuntimeError", 12RuntimeError)            = 12
write(2, ": ", 2: )                       = 2
write(2, "the sip module implements API v9"..., 90the sip module implements API v9.0 to v9.1 but the PyKDE4.kdecore module requires API v8.1) = 90
write(2, "\n", 1
)                       = 1
rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0xb76b2f90, [], 0}, 8) = 0
exit_group(1)

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: Autokey stopped working after updates.
« Reply #12 on: February 14, 2013, 03:41:20 AM »
hmm, no idea, it works fine here. Can you try to reinstall it and see if that fixes it?

And what does not work exactly? Does it startup properly? Or does it crash when you do something specific only?

Offline veronicathecow

  • Full Member
  • ***
  • Posts: 185
Re: Autokey stopped working after updates.
« Reply #13 on: February 14, 2013, 12:59:52 PM »
No Icon in tray and no action when keys are pressed.
Has done a re-install but no change.

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: Autokey stopped working after updates.
« Reply #14 on: February 14, 2013, 02:10:31 PM »
also after rebooting the PC?