Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Plasmoid problems

  1. #1

    Default Plasmoid problems

    Since the first time I installed openSuse I had some problems with new installed plasmoids.

    Problem 1:
    Could not create a python scriptengine
    Most people relate this error to some missing python packages. Even though it's true (you need the python-kde4 package), it's not always the problem.
    The scriptengine is also thrown when the python script itself is won't work for some reason. To 'debug' the plasmoid there are two things to do. First it trying to get the python script working and second is to restart plasma in a console so we can follow the output:
    Code:
    kquitapp plasma
    plasma
    Let's take the gmail-plasmoid, which I managed to fix. After running the gmail.py script with python
    Code:
    python ~/.kde4/share/apps/plasma/plasmoids/gmail-plasmoid/content/code/gmail.py
    I got an error that feedparser could not be included.
    To fix this, I installed the python-feedparser package, but that didn't seem to work for a reason (maybe I needed to reboot). Anyway, it also appears that the gmail-plasmoid comes with the feedparser package, so I suggest you install that one:
    Code:
    python ~/.kde4/share/apps/plasma/plasmoids/gmail-plasmoid/content/code/feedparser/setup.py install
    After fixing that, it's time to restart plasma (maybe a reboot), add the plasmoid and see if it gives any errors.
    Yesterday the gmail-plasmoid returned an error that there was no parse() function in 'module', now it's gone... don't know why but I'm happy it's gone.

    Problem 2
    When adding a new plasmoid from kde-looks.org I get two errors:
    Installation of /tmp/kde-username///92573-cpufreq.plasmoid failed!
    and
    Installation of /tmp/kde-username/// failed!
    and this is the full plasma output:
    Code:
    Object::connect: Attempt to bind non-signal TaskManager::TaskGroup::editRequest()                           
    Successfully installed /tmp/kde-phillip///92573-cpufreq.plasmoid                                            
    tru::1:1243775604:0:3:1:5                                                                                   
    plasma(6265)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/kde4/services/sysinfo.protocol"  has Type= "Application"  but no Exec line                                                   
    
    plasma(6265)/libplasma Plasma::Package::installPackage: Could not create package root directory: "plasma/plasmoids/"                                                                                                    
    Object::connect: Attempt to bind non-signal TaskManager::TaskGroup::editRequest()                           
    plasma(6265)/libplasma Plasma::Package::installPackage: Could not create package root directory: "plasma/plasmoids/"                                                                                                    
    Object::connect: Attempt to bind non-signal TaskManager::TaskGroup::editRequest()
    In the end the plasmoid is installed (it doesn't work tough, but I get this error with every plasmoid, even the ones that do work).

    Problem 3:
    After installing some plasmoids from the repo and adding it to the desktop, I get this error:
    Could not find requested component:
    Don't know why, don't know how to fix this, but I hope someone knows how because the repo has some nice widgets
    Last edited by wutske; 02-Jun-2009 at 00:08. Reason: changed some code fields to quote fields

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,723
    Blog Entries
    20

    Default Re: Plasmoid problems

    Let's see your repo's

    Code:
    zypper lr --details
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3

    Default Re: Plasmoid problems

    Code:
    #  | Alias              | Name                                                | Enabled | Refresh | Priority | Type   | URI                                                                                   | Service
    ---+--------------------+-----------------------------------------------------+---------+---------+----------+--------+---------------------------------------------------------------------------------------+--------
    1  | KDE4.2_Repo        | KDE4.2 Repo                                         | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/42/openSUSE_11.1/                      |
    2  | KDE_4.2_Community  | KDE 4.2 Community                                   | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/KDE4:/Community/openSUSE_11.1_KDE_42/  |
    3  | KDE_4.2_Playground | KDE 4.2 Playground                                  | Yes     | Yes     |  120     | rpm-md | http://download.opensuse.org/repositories/KDE:/KDE4:/Playground/openSUSE_11.1_KDE_42/ |
    4  | openSUSE 11.1-0    | openSUSE 11.1-0                                     | No      | No      |   99     | yast2  | cd:///?devices=/dev/sr0                                                               |
    5  | repo               | NVIDIA Repository                                   | Yes     | Yes     |   99     | rpm-md | http://download.nvidia.com/opensuse/11.1                                              |
    6  | repo-debug         | openSUSE-11.1-Debug                                 | No      | Yes     |  120     | NONE   | http://download.opensuse.org/debug/distribution/11.1/repo/oss/                        |
    7  | repo-non-oss       | openSUSE-11.1-Non-Oss                               | Yes     | Yes     |  120     | yast2  | http://download.opensuse.org/distribution/11.1/repo/non-oss/                          |
    8  | repo-oss           | openSUSE-11.1-Oss                                   | Yes     | Yes     |  120     | yast2  | http://download.opensuse.org/distribution/11.1/repo/oss/                              |
    9  | repo-source        | openSUSE-11.1-Source                                | No      | Yes     |  120     | NONE   | http://download.opensuse.org/source/distribution/11.1/repo/oss/                       |
    10 | repo-update        | openSUSE-11.1-Update                                | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/11.1/                                             |
    11 | repo_1             | openSUSE BuildService - Wine CVS Builds             | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_11.1/              |
    12 | repo_2             | openSUSE BuildService - OpenOffice.org              | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/OpenOffice.org:/STABLE/openSUSE_11.1/       |
    13 | repo_3             | openSUSE BuildService - Virtualization (VirtualBox) | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Virtualization:/VirtualBox/openSUSE_11.1/   |
    14 | repo_4             | openSUSE BuildService - Mozilla                     | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_11.1/                      |
    15 | repo_5             | openSUSE BuildService - Database                    | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/server:/database/openSUSE_11.1/             |
    16 | repo_6             | openSUSE BuildService - PHP                         | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/server:/php/openSUSE_11.1/                  |
    17 | repo_7             | VideoLan Repository                                 | Yes     | Yes     |   99     | rpm-md | http://download.videolan.org/pub/videolan/vlc/SuSE/11.1/                              |
    18 | repo_8             | Packman Repository                                  | Yes     | Yes     |   99     | rpm-md | http://ftp.skynet.be/pub/packman/suse/11.1/

  4. #4
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,723
    Blog Entries
    20

    Default Re: Plasmoid problems

    Your repo's look OK. Although Videolan should be disabled (though it's not related to your question).

    I would really recommend adding Plasmoids from the repo's rather than from kde-look. Of course you should be able to add them, but I always find it problematic myself. You post a question to the package via kde-look.
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  5. #5

    Default Re: Plasmoid problems

    Problem is that the plasmoids added from the repo don't work at all, they are in the list, but the scripts (and other components) seem to be missing

  6. #6
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,723
    Blog Entries
    20

    Default Re: Plasmoid problems

    They work for me.

    Check to see you don't have red packages in your system (software management)
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  7. #7
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,473
    Blog Entries
    14

    Default Re: Plasmoid problems

    You need to install qt4-qtscript. That's all. Look for it in software installer and it will work.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  8. #8

    Default Re: Plasmoid problems

    Installed qt4-qtscript, and repo plasmoids still dont't work

    Plasma doesn't return anything usefull except:
    plasma(5526)/libplasma Plasma::AppletPrivate::mainConfigGroup: requesting config for "Unknown Widget" without a containment!

  9. #9

    Default Re: Plasmoid problems

    if I do a
    Code:
    python ~/.kde4/share/apps/plasma/plasmoids/gmail-plasmoid/content/code/gmail.py
    all I get is "Segmentation Fault"..

    Anyone else able to get python widgets working

  10. #10

    Default Re: Plasmoid problems

    Quote Originally Posted by Hugo_Rune View Post
    if I do a
    Code:
    python ~/.kde4/share/apps/plasma/plasmoids/gmail-plasmoid/content/code/gmail.py
    all I get is "Segmentation Fault"..

    Anyone else able to get python widgets working
    I've got it working .
    A segmentation fault can be anything, but usualy has something to do with overflows or array out of bounds errors.

    Finding the exact source of the problem might take a while, so you'd better look for another (newer or older) version of this plasmoid and see if that one works.

Page 1 of 2 12 LastLast

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
  •