LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Problems with Liquid Weather and PyQt (https://www.linuxquestions.org/questions/slackware-14/problems-with-liquid-weather-and-pyqt-623422/)

noodstorage 02-23-2008 11:54 PM

Problems with Liquid Weather and PyQt
 
Hi all!

Please somebody help me with this. I'm battleing with this for hours and I haven't found an answer yet. I've just installed Slackware 12 and when I try to launch Liquid Weather Plus I get this message:

Code:

You do not have PyQT installed. This is a critical dependency for Liquid Weather ++. Please install it and try again.
But I have PyQt installed. This is what I installed:

Code:

pycairo-1.0.2-i486-1kjz
pykde-3.16.0-i486-1as
python-qt3-3.16
pygobject-2.12.2-i486-1kjz
pyqt4-4.3.3-i486-1as
python24-2.4.4-9.1.i586
pygtk-2.11.0-i486-1gds
python-qt-dev-3.16
Python-2.4.1-i386-1
Python-2.4.1-i386-1
wxgtk-2.8.7-i486-2kjz
wxpython-2.8.7.1-i486-1kjz

Please if someone has lwp 14.6.1 running under Slack12 please tell me what you did to make it happen.

Thanks.

T3slider 02-24-2008 02:04 PM

This is a shot in the dark, but did you compile Liquid Weather from source AFTER you had already installed PyQT or before (or, if you used an existing Liquid Weather package, did you install a corresponding PyQT package from the same place or make your own?). There may be an inconsistency with the location of PyQT (ie Liquid Weather thinks it should be somewhere else). Other than that, I can't help you...

shadowsnipes 02-24-2008 08:19 PM

Interesting. LWP 14.8 runs fine on my Slack 12 box and I never installed PyQT. I think all I did was extract lwp to .kde/share/apps/superkaramba/themes/lwp and then setup a desktop file to automatically run it.

Here is my .kde/Autostart/liquidWeather.desktop
Code:

[Desktop Entry]
Exec=superkaramba /home/USERNAME/.kde/share/apps/superkaramba/themes/lwp/liquid_weather.theme
Name={Liquid Weather}
Type=Application
X-KDE-StartupNotify=false

I don't think I had to install anything to get this working.

I have
Code:

pycairo-1.4.0-i686-1_SBo
pygtk-2.10.6-i686-1_SBo
pygobject-2.13.2-i686-1_SBo
wxGTK-2.6.4-i686-1_SBo
python-2.5.1-i486-1

The first four were created using slackbuilds.org. python is an official slackware package, though.

Perhaps you are having problems because your version of superkaramba was not compiled to use the version of python that you are using. The lwp site says to check for this.

shadowsnipes 02-24-2008 08:30 PM

I just thought I would add that the kdebindings-3.5.7-i486-1 package contains usr/lib/python2.5/site-packages/pyqtconfig.py

I'm pretty confident that I didn't add any packages before using lwp, so it should work on a new slackware install. Since you installed pyqt4 which uses qt4 and changed a whole bunch of other python-related packages you probably do need to recompile superkaramba. I suggest using the official slackbuild.

T3slider 02-24-2008 09:28 PM

shadowsnipes makes a good point -- you have pyqt4, which requires qt4, which changes a whole bunch of stuff. Try recompiling superkaramba (or, if you can safely revert back to qt3, try installing pyqt3 if you cannot get Liquid Weather to work without it).


All times are GMT -5. The time now is 12:43 PM.