You are not logged in.
I have just updated to KDE 4.1 and run superkaramba with the Liquid-weather applet. I have been using that applet with KDE 3.5 for a long time but now with 4.1 there is a problem.
After starting the applet appears a dialog with the following:
"You do not have PyQT installed. This is a critical dependency for Liquid Weather ++. Please install it and try again."
The following is the python function that checks the dependencies (I have no idea of Python):
def checkDependencies(widget):
global hasReportlab, hasqt
try:
from reportlab.platypus import SimpleDocTemplate,Paragraph,Spacer
hasReportlab = 1
except:
hasReportlab = 0
try:
from qt import *
hasqt = 1
except:
karamba.execute('kdialog --title "%s" --error "%s" &' %(_('Critical Error'),_('You do not have PyQT installed. This is a critical dependency for Liquid Weather ++. Please install it and try again.')))
sys.exit()
if os.popen('which convert').read() == '':
karamba.execute('kdialog --title "%s" --error "%s" &' %(_('Critical Error'),_('You do not have ImageMagick installed. This is a critical dependency for Liquid Weather ++. Please install it and try again.')))
sys.exit()
I have installed Python:
[alf@pcalf ~]$ pacman -Q | grep py
compizconfig-python 0.7.6-1
pycairo 1.4.12-1
pygobject 2.14.2-1
pygtk 2.12.1-1
pykaraoke 0.5-1
pyqt 4.4.2-1
pyqt3 3.17.4-1
pyrex 0.9.8.4-1
python 2.5.2-5
python-numeric 24.2-2
python-pygame 1.8.1-2
pyxml 0.8.4-3
wxpython 2.8.8.0-1
Any idea?
Last edited by becho4 (2008-08-12 08:53:34)
Offline
Can't you change to one of the weather applets for kde4.1 instead of using superkaramba?
Edit: the package you are lacking is probably pyqt3
Last edited by Mr.Elendig (2008-08-12 17:20:44)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Can't you change to one of the weather applets for kde4.1 instead of using superkaramba?
Liquid weather is by far the best weather applet I have ever seen. It has a lot of features.
I only use superkaramba to debug the problem. Plasma is compatible with superkaramba applets.
Edit: the package you are lacking is probably pyqt3
As you can see above, I already have pyqt3 installed.
Offline
Do you have qt3 installed?
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
[alf@pcalf ~]$ pacman -Q | grep qt3
dbus-qt3 0.62-3
poppler-qt3 0.8.4-1
pyqt3 3.17.4-1
qca-qt3 1.0-1
qscintilla-qt3 1.7.1-2
qt3 3.3.8-8
[alf@pcalf ~]$
Yes, qt3 3.3.8-8
Offline
Same problem here...
Offline
I found the following and that trick allows you to start the applet. I seems to work properly but sometimes crashes plasma.
How get it working on KDE 4
Figured out how to fix it for KDE 4
(google is my friend)Heres the steps :-
First, make sure you have the package python-qt4 installed.
Using the Add Widgets, select Install from File. Choose SuperKaramba. Click Next and find the lwp-15.0.skz. and Click Finish.
The contents of the skz will be extracted to ~/.kde4/share/apps/plasma/plasmoids/sk_lwp-15.0
You need to modify the file liquid_weather.py. In the method checkDependencies(widget), it tries importing qt libs, which for whatever reason fails. So comment (or remove) out the following (lines 3663-3668)
hey presto it all now works.
Hope it helps
RD
Offline