<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Liberation Sans'; font-size:11pt; font-weight:400; font-style:normal;">On Fri, 15 May 2009 03:31:06 +0000, Deniz wrote:<br>
&gt; Hey guys,<br>
&gt;<br>
&gt; if I try to use python plasmoids, the only thing I get is an<br>
&gt; black window which shows the following famous sentences:<br>
&gt; "This Object could not be created for the following reason:<br>
&gt; Could not create a python ScriptEngine for the gmail-plasmoid widget."<br>
&gt;<br>
&gt; And it seems the error is coming from py-qt4-core.<br>
&gt; I've tried the port version and I've tried the package version, but has<br>
&gt; nothing helped.<br>
&gt;<br>
&gt; Here is the error log of plasmoidviewer used with gmail-plasmoid (a python<br>
&gt; plasmoid).<br>
&gt;<br>
&gt; plasmoidviewer(4482)/python (plugin): Failed to import module<br>
&gt;<br>
&gt; &gt; Traceback (most recent call last):<br>
&gt; &gt;   File<br>
&gt; &gt; "/usr/local/kde4/share/apps/plasma_scriptengine_python/pyappletscript.py"<br>
&gt; &gt;, line 19, in &lt;module&gt;<br>
&gt; &gt;     from PyQt4.QtCore import *<br>
&gt; &gt; ImportError: /usr/local/lib/python2.5/site-packages/PyQt4/QtCore.so:<br>
&gt; &gt; Undefined symbol "_Py_TrueStruct"<br>
&gt;<br>
&gt; Kdebindings4 cannot be installed and so I installed<br>
&gt; kdebindings4-python/kdebindings4-python-pykde4.<br>
&gt; I don't know if this is a kde-freebsd specific error since many people get<br>
&gt; the "can not create script engine" error,<br>
&gt; but some people who use other systems don't even get some errors in the<br>
&gt; terminal.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Support for python plasmoids is disabled in kdebase-workspace for now. Making separate port for python engine is in my todo.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Max</p></body></html>