Results 1 to 4 of 4

Thread: Autokey requires python-kde4 but python-kde4 no longer available

  1. #1
    Join Date
    Feb 2011
    Location
    New York City
    Posts
    96

    Default Autokey requires python-kde4 but python-kde4 no longer available

    After updating Tumbleweed autokey no longer works.

    Code:
    Traceback (most recent call last):
      File "/usr/bin/autokey-qt", line 20, in <module>
        from autokey.qtapp import Application
      File "/usr/lib/python2.7/site-packages/autokey/qtapp.py", line 22, in <module>
        from PyKDE4.kdecore import KCmdLineArgs, KCmdLineOptions, KAboutData, ki18n, i18n
    ImportError: No module named PyKDE4.kdecore
    If I remember correctly I originally got autokey from the develython repo, but it is no longer there. Now it is only in the X11:common:Factory repo. I tried installing from that repo but get a message that python-kde4 is required, and that in turn is no longer available. Searching for the package on https://software.opensuse.org/package/python-kde4 shows that only the 32-bit version is available, and only from the official repo.

    It seems that both these packages have moved, so is this problem just a matter of waiting for the python-kde4 package 64-bit version to turn up in the repo? If not, any advice on how to install autokey would be very much appreciated, I rely on it alot; without it I might have to try downgrading to 42.3, but that is work I would prefer to avoid.
    OpenSUSE Tumbleweed Plasma 5

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,302
    Blog Entries
    14

    Default Re: Autokey requires python-kde4 but python-kde4 no longer available

    Quote Originally Posted by Brouwer2 View Post
    After updating Tumbleweed autokey no longer works.

    Code:
    Traceback (most recent call last):
      File "/usr/bin/autokey-qt", line 20, in <module>
        from autokey.qtapp import Application
      File "/usr/lib/python2.7/site-packages/autokey/qtapp.py", line 22, in <module>
        from PyKDE4.kdecore import KCmdLineArgs, KCmdLineOptions, KAboutData, ki18n, i18n
    ImportError: No module named PyKDE4.kdecore
    If I remember correctly I originally got autokey from the develython repo, but it is no longer there. Now it is only in the X11:common:Factory repo. I tried installing from that repo but get a message that python-kde4 is required, and that in turn is no longer available. Searching for the package on https://software.opensuse.org/package/python-kde4 shows that only the 32-bit version is available, and only from the official repo.

    It seems that both these packages have moved, so is this problem just a matter of waiting for the python-kde4 package 64-bit version to turn up in the repo? If not, any advice on how to install autokey would be very much appreciated, I rely on it alot; without it I might have to try downgrading to 42.3, but that is work I would prefer to avoid.
    Wolfi323 still builds python-kde4 in one of his repos..... But, things aren't dropped from Tw for no good reason. The drop means in most cases that packages/source code have not been maintained for too long. What you could do, is use OBS to branch existing packages and have them built in your own repo, then break the link to the original package, so yours will persist, whenever the original package gets removed. But then again, you'd still have unmaintained software on your system.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3
    Join Date
    Feb 2011
    Location
    New York City
    Posts
    96

    Default Re: Autokey requires python-kde4 but python-kde4 no longer available

    Thanks, I'll see if I can find it in one of wolf323's repos. If not, I suppose I might try what you suggest, but I am not that expert - I have not the least clue about maintaining a repo, let alone building packages.

    At any rate python-kde4 seems not to have been dropped entirely, the 32-bit version is still in the official tw repo (which is strange given it is a 64-bit only distro now, or am I wrong about that?)
    OpenSUSE Tumbleweed Plasma 5

  4. #4
    Join Date
    Feb 2011
    Location
    New York City
    Posts
    96

    Default Re: Autokey requires python-kde4 but python-kde4 no longer available

    Your suggestion to try wolfi323's repos work. I found python-kde4 on http://download.opensuse.org/reposit...SE_Tumbleweed/ and now autokey works.

    Thanks again.
    OpenSUSE Tumbleweed Plasma 5

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •