KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   


- Content .- Fans (6) .- Knowledge Base  . 



Plasmoid Script

Score 90%



Link:  Link
Minimum required   PyKDE/PyQt
Downloads:  6980
Submitted:  Aug 12 2009
Updated:  Jul 9 2010


This is an extremely simple plasmoid written in python. It fetches weather information from google.com. It lets you configure the location and unit of the weather information.

Please feel free to send me bug reports and / or suggestions for improvement.

$ plasmapkg -i plasma_pyweather.plasmoid

I used the weather icons from here.

So, the credit goes to the original artist, painkiller10.

Note: I have implemented only for certain number of weather conditions, if you see a question mark image as weather conditions, please let me know, which condition it is and I will add the image for it.


For version: 1.7
- Fixed a typo
- Now doesn't crash when running without internet

For version: 1.6

- Fixed the bug with wrong calculation of Imperial units
- Changed the name of the images from *.svgz to *.svg, because the new KDE - 4.4 stupidly considered all *.svgz files as gzip file and showed no images

For Version: 1.5
Changed the names of the units from US t Imperial and SI to Metric to be technically correct.

WARNING: If you already have an old config, you will get N/A for all temperatures until you select the proper unit system from the settings.

For Version 1.4:
Raffaele kindly submitted a patch for the bug fix. I didn't even know about the bug as it appears only for certain cities. Now the plasmoid can deal with incorrect format of wind condition.

For version 1.3
- Fixed the bug in Kubuntu. Now it is possible to save settings.
- Added new conditions for overcast, smoky and snow

for version 1.2

- Bug Fix:
Although, I could not reproduce the bug reported by many, about th configuration, I hope to have fixed it.

For version 1.1
- Bug Fix:

Now, the parameters are url-encoded to allow city names with spaces, thanks to Virginia Brassesco for pointing out the bug.

Send to a friend
Other  Apps  from rangalo
Report inappropriate content

goto page: prev   1  2  3  4 


 Possible crash when not connected to internet

 by gosom on: Mar 18 2012
Score 50%

I installed pyweather while connected to the internet and it worked fine.

When I rebooted kde could not load.

I booted to failsafe and deleted:
rm ~/.kde4/config/plas*

and then i managed to login normal.

Then I tried to install pyweather without being connected to the internet and desktop frozen.

Reply to this


 Re: Possible crash when not connected to internet

 by gosom on: Mar 18 2012
Score 50%

The problem lies in line 32:
sock = urllib.urlopen(strUrl)

you need a timeout there so change line 10

old: import sys, urllib, codecs
new: import sys, urllib, urllib2, codecs

and line 32
old: sock = urllib.urlopen(strUrl)
new : sock = urllib2.urlopen(strUrl, timeout=1)

so it justs waits 1 second and if no connection
throws exception and the load continues

Reply to this


 Python engine?

 by snoxu on: Aug 10 2012
Score 50%

Can't get this to work for some reason (Archlinux + KDE). Get a message about a python engine (in portuguese).

Reply to this


 Fixed expat exception issue

 by Senth on: Sep 10 2012
Score 50%

in weatherInfo.py add:
import sys, urllib, urllib2, codecs

on line 32 change:
sock = urllib.urlopen(strUrl)
sock = urllib2.urlopen(strUrl,timeout=15)

In addition because pyWeather polled googles api too often (every 30sec) I got blocked, so I changed the polling interval to 15 minutes in main.py

self.timer.start(15 * 60 * 1000) #min * sec * ms

Reply to this


 Installs but never shows up (KDE 4.5.3)

 by xyzzymagicat on: May 4 2013
Score 50%

The download/install widgets feature claimed that it installed PyWeather upon being asked, but unfortunately it doesn't actually show up in the list of available plasmoids. (I'm in the old KDE because I just did a clean reinstall of SimplyMepis 11.)

Reply to this


 Won't work with google again

 by fixfast on: May 15 2013
Score 50%

I've spent some time before discovering Google killed it's weather api as used in this plasmoid.

However the scripts are nicely structured and thus can be made to work with api.openweathermap.org to again have a nice weather plasmoid.

Reply to this


 Script initialization failed

 by p1co on: Mar 14 2015
Score 50%

KDE version: 4.14.5
OS: OpenSuse 13.2

Keep getting a 'Script initialization failed' error when I try to add the pyWeather widget downloaded via Plasma Desktop Shell.

I have python-kde and python-kde4 installed. Any idea on how to fix this?

Reply to this


 Re: Script initialization failed

 by rrhaskin on: Aug 25 2015
Score 50%

I'm getting the same error. I am running Arch, KDE-4. I have python and as many add-ons as I need as far as I know. Doesn't anyone have ideas?
Thanks in advance

Reply to this

goto page: prev   1  2  3  4 

Add commentBack

How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

 Who we are
More about us
Frequently Asked Questions
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Sponsor us
Report Abuse

Copyright 2003-2016 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.