|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Applications Questions about desktops (KDE, Gnome, XFCE, etc.), software applications (configuration, usage, bugs, documentation) |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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 Code:
python ~/.kde4/share/apps/plasma/plasmoids/gmail-plasmoid/content/code/gmail.py 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 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: Quote:
Quote:
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() Problem 3: After installing some plasmoids from the repo and adding it to the desktop, I get this error: Quote:
Last edited by wutske; 02-Jun-2009 at 02:08. Reason: changed some code fields to quote fields |
|
|||
|
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/ |
|
||||
|
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.
__________________
Box: openSUSE 11.2 | (KDE4.3.3) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM |
|
|||
|
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
|
|
||||
|
They work for me.
Check to see you don't have red packages in your system (software management)
__________________
Box: openSUSE 11.2 | (KDE4.3.3) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM |
|
||||
|
You need to install qt4-qtscript. That's all. Look for it in software installer and it will work.
__________________
- AMD Athlon X2 6.0 GHz, 8 GB DDR2-800, 30 GB SSD, 1.5 TB, EVGA 9800GT, openSUSE 11.2 KDE4 4.3.3 - ASUS K70IO laptop, GT120M-1GB, 4 GB, 64 GB SSD, opensuse Factory, KDE4 4.3.3 R.E.S.T.E.C.P. |
|
|||
|
Installed qt4-qtscript, and repo plasmoids still dont't work
Plasma doesn't return anything usefull except: Quote:
|
|
|||
|
if I do a
Code:
python ~/.kde4/share/apps/plasma/plasmoids/gmail-plasmoid/content/code/gmail.py Anyone else able to get python widgets working |
|
|||
|
Quote:
.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. |
![]() |
| Bookmarks |
| Tags |
| gmail-plasmoid, kde4, plasma, plasmoid, scriptengine |
| Thread Tools | |
| Display Modes | |
|
|