openSUSE Forums > Applications » Plasmoid problems

Go Back   openSUSE Forums > Applications
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)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-Jun-2009, 02:07
Puzzled Penguin
 
Join Date: Nov 2008
Posts: 15
wutske hasn't been rated much yet
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:
Quote:
Installation of /tmp/kde-username///92573-cpufreq.plasmoid failed!
and
Quote:
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:
Quote:
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 02:08. Reason: changed some code fields to quote fields
Reply With Quote
  #2 (permalink)  
Old 02-Jun-2009, 02:12
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,931
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: Plasmoid problems

Let's see your repo's

Code:
zypper lr --details
__________________
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
Reply With Quote
  #3 (permalink)  
Old 02-Jun-2009, 02:39
Puzzled Penguin
 
Join Date: Nov 2008
Posts: 15
wutske hasn't been rated much yet
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/
Reply With Quote
  #4 (permalink)  
Old 02-Jun-2009, 06:49
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,931
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
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.
__________________
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
Reply With Quote
  #5 (permalink)  
Old 02-Jun-2009, 12:25
Puzzled Penguin
 
Join Date: Nov 2008
Posts: 15
wutske hasn't been rated much yet
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
Reply With Quote
  #6 (permalink)  
Old 02-Jun-2009, 12:43
caf4926's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: The English Lake District. UK - GMT/BST
Posts: 12,931
caf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputationcaf4926 has a brilliant future with this reputation
Send a message via MSN to caf4926
Default Re: Plasmoid problems

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
Reply With Quote
  #7 (permalink)  
Old 02-Jun-2009, 12:55
Knurpht's Avatar
Wise Penguin
 
Join Date: Jun 2008
Location: groningen, netherlands
Posts: 1,804
Knurpht 's reputation will be famous soon enoughKnurpht 's reputation will be famous soon enoughKnurpht 's reputation will be famous soon enough
Default Re: Plasmoid problems

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.
Reply With Quote
  #8 (permalink)  
Old 02-Jun-2009, 16:09
Puzzled Penguin
 
Join Date: Nov 2008
Posts: 15
wutske hasn't been rated much yet
Default Re: Plasmoid problems

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

Plasma doesn't return anything usefull except:
Quote:
plasma(5526)/libplasma Plasma::AppletPrivate::mainConfigGroup: requesting config for "Unknown Widget" without a containment!
Reply With Quote
  #9 (permalink)  
Old 30-Aug-2009, 09:57
Puzzled Penguin
 
Join Date: Jul 2008
Posts: 9
Hugo_Rune hasn't been rated much yet
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
Reply With Quote
  #10 (permalink)  
Old 30-Aug-2009, 13:04
Puzzled Penguin
 
Join Date: Nov 2008
Posts: 15
wutske hasn't been rated much yet
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.
Reply With Quote
Reply

Bookmarks

Tags
gmail-plasmoid, kde4, plasma, plasmoid, scriptengine


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2