Same here, KDE 4.4.1 on Lucid Alpha 3.

Although Lucid is still on alpha, KDE 4.4.1 should be a "stability"
release, not introducing new bugs.

I am using a fresh Lucid AMD64 installation with latest Updates.

These are the applets that are/should be running:

grep 'plugin=' .kde/share/config/plasma-desktop-appletsrc
plugin=desktop
wallpaperplugin=image
plugin=sm_cpu
plugin=sm_temperature
plugin=folderview
plugin=folderview
plugin=nowplaying
plugin=frame
plugin=sm_complex-plotter
plugin=plasma_applet_cwp
plugin=fancypanel
plugin=fancytasks
plugin=panel
plugin=systemtray
plugin=message-indicator
plugin=notifier
plugin=message-indicator
plugin=notifier
plugin=digital-clock
plugin=quickaccess
plugin=launcher
plugin=quickaccess
plugin=pager
plugin=tasks
plugin=showdesktop

I wasn't aware of that but with the following command I found out which
plasmoid caused a problem:

find .kde/share/ -type f -not \( -wholename '*/konqueror/*' -or
-wholename '*/kate*' \) -exec grep -Hnie 'python' {} \;

...which revealed (for me):

.kde/share/apps/plasma/plasmoids/sm_complex-plotter/contents/ui/plotter.ui:459:<p
 style=" margin-top:0px; margin-bottom:0px; margin-left:0px; 
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span 
style=" font-family:'Liberation Sans';">Uses python string 
formatting:</span></p>
.kde/share/apps/plasma/plasmoids/sm_complex-plotter/contents/ui/plotter.ui:460:<p
 style=" margin-top:0px; margin-bottom:0px; margin-left:0px; 
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a 
href="http://docs.python.org/library/string.html#format-string-syntax"><span
 style=" font-family:'Liberation Sans'; text-decoration: underline; 
color:#0000ff;">8.1.3. Format String 
Syntax</span></a></p>
.kde/share/apps/plasma/plasmoids/sm_complex-plotter/contents/Messages.sh:10:  
"python") SCRIPTEXT="py" ;;
.kde/share/apps/plasma/plasmoids/sm_complex-plotter/metadata.desktop:17:X-Plasma-API=python
.kde/share/apps/plasma/plasmoids/sm_complex-plotter/metadata.desktop:20:X-Script-Depends=plasma-scriptengine-python
.kde/share/apps/khtml/formcompletions:2:field.title=kdeinit4 crashed with 
TypeError: invalid result type from PythonAppletScript.shape()
.kde/share/kde4/services/plasma-applet-sm_complex-plotter.desktop:17:X-Plasma-API=python
.kde/share/kde4/services/plasma-applet-sm_complex-plotter.desktop:20:X-Script-Depends=plasma-scriptengine-python


This looks to me like there was an API change in the plasma-scriptengine-python 
and the plasmoid maintainers didn't update correctly, although the complex 
plotter instance that I've build up (containing fan speeds, network usage, 
memory usage, I/O wait % and disk throughputs) run fine (at least on startup).

So this really seems to be something outside of the scope of "kdelibs".

On the other side a lot of plasmoids are either included in the
repositories or directly available through the integrated plasma widget
downloader which doesn't have the capability to check plasmoids for
their implementation details.

So for a "user" of KDE4 it is not possible at all to get information
about those incompatibilities. Without knowledge of the KDE internals
there is no way to find out what application caused this error. Even for
me it wasn't clear in the first place.

If you've got more than one python plasmoid running it is even more
unclear and you're stuck with manually digging down the problem.

So in the end I would consider this a bug in the design of Plasma in its
entirety.

-- 
kdeinit4 crashed with TypeError: invalid result type from 
PythonAppletScript.shape()
https://bugs.launchpad.net/bugs/437126
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde4libs in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to