Registered Member
|
Hello,
I'm trying to run the hello-python tutorial from http://techbase.kde.org/Development/Tutorials/Plasma/Python/GettingStarted. I've created all the files and dir structure, and packaged it with zip. I did run
and it seems that it installed properlly. But now when I run
I get a window with only grey box inside it. Also, when I add this plasmoid to the desktop, I get
I've heard some people who tried to run the C++ version also got this error. Does anyone know what I have wrong here? Regards, Przemek |
Moderator
|
What is the shell output of the plasmoidviewer hello-python command?
Try running kbuildsycoca4 and make sure you have python bindings installed (this depends on your distribution, I heard before that sometimes python-devel is needed, at least the python-kde4 packages are probably needed). |
Registered Member
|
I'm using Kdemod packages for Arch Linux. I do have python bindings installed.
The output of plasmoidviewer:
|
Moderator
|
If you still haven't found a solution, email plasma-devel@kde.org or ask in the #plasma irc channel on freenode.
|
Registered Member
|
OK, so I've tweaked a bit with the code and made it work.
I've changed the drawText line to this:
and it works. But if I put Qt.AlignHCenter instead of VCenter, I get the same error... Dunno what's wrong here... It works with
for example. |
Registered Member
|
Well, miraculously, I've reinstalled, ran, and removed this plasmoid 3 times and now it works...
|
Registered Member
|
God loves trinity
kubuntu 10.04 AMD64 - KDE 4.4
AMD - radeonHD - M-Audio revolution 5.1 |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]