-
 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    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


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

plasma_pyweather

   1.7  

Plasmoid Script

Score 90%
plasma_pyweather
zoom


plasma_pyweather
zoom


plasma_pyweather
zoom


Link:  Link
Depends on  PyKDE/PyQt
Downloads:  6143
Submitted:  Aug 12 2009
Updated:  Jul 9 2010

Description:

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.


INSTALL:
$ plasmapkg -i plasma_pyweather.plasmoid

UPDATE:
I used the weather icons from here.
http://www.kde-look.org/content/show.php/Weather+Icons?content=84533

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.




Changelog:

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

2010-03-04:
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



2010-01-18:
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.





2010-01-13:
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.




LicenseGPL
(plasma_pyweather.plasmoid)
Send to a friend
Subscribe
Other  Apps  from rangalo
Report inappropriate content



goto page:  1  2  3  4 

-

 Nice

 
 by prasadae on: Aug 13 2009
 
Score 50%
prasadaeprasadae
Student
Home
-
Amithash Prasad 17

Student
United States of America, Boulder
Last visit Jun 21 2013
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Nice, I usually have a problem with the default weather widgets in KDE where my city (Boulder,CO,USA) is not recognized.
(Even though NOAA is located there! :-) )
So finally something which I can use!

Thanks.


Amithash Prasad
Reply to this

-

 Re: Nice

 
 by rangalo on: Aug 13 2009
 
Score 50%

It is good that it is helpful to you. Feel free to report problems or suggestions.


Reply to this

-

 Configuration

 
 by prasadae on: Aug 13 2009
 
Score 50%
prasadaeprasadae
Student
Home
-
Amithash Prasad 17

Student
United States of America, Boulder
Last visit Jun 21 2013
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Nothing fancy.
It would be nice if I could configure the detail of the current prediction.

Like Now I have Temp. Condition, humidity, wind. I should be able to choose what to show.

Condition IMHO, is best to be shown below its symbolic representation (Picture).

I do not know if google's api allows this, but how about configuring how many days forecast I want. ps: In my city, the weather is not really that predictable, so having day after's weather is next to useless! :-)


Amithash Prasad
Reply to this

-

 Re: Configuration

 
 by rangalo on: Aug 13 2009
 
Score 50%

Thanks for the feedback. I am anyway going to give an overhaul to the configuration, the idea of selecting the parameters of interest is good one.

Google provides maximum 3 days of forecast not more, so I didn't provide the number of forecast days in configuration.

I am a java developer, so if my code is not pythonic enough, I am also open to suggestions for that.

Have a look at my blog about the plasmoid.
http://hardikmehta.wordpress.com/2009/08/13/a-weather-plasmoid-in-python/


Reply to this

-

 Doesn't save configuration

 
 by GiorgioAllocco on: Aug 14 2009
 
Score 50%

Nice plasmoid, but every time I log in into Kde, it loses the configuration (the location is again Munich, Germany)
Where is the configuration file?


Reply to this

-

 Re: Doesn't save configuration

 
 by rangalo on: Aug 14 2009
 
Score 50%

I tested again on my system and it works.

The config file is ~/.weather.cfg

Make sure it is not deleted every time you restart kde.


Reply to this

-
.

 saving config

 
 by eprosen on: Aug 19 2009
 
Score 50%

Hi,
this is a great plasmoid indeed. However, would it be possible for you to give me a step-by-step guide on how to save the config file. Everytime I login, I get the weather for Munich, Germany.
Also how did you get the transluscent background?

regards,


epr
Reply to this

-

 Re: saving config

 
 by rangalo on: Aug 20 2009
 
Score 50%

Can you check if ~/.weather.cfg file is created after you change the settings ?

And make sure the file is not deleted when you restart the KDE.

The translucent background is achieved by plamsa themes e.g. seamless.


Reply to this

-
.

 Re: Re: saving config

 
 by eprosen on: Aug 20 2009
 
Score 50%

I looked into my home folder but there is no .weather.cfg file even just after changing the weather settings.

about seamless: as instructed, I copied the seamless folder in /.kde/share/apps/desktoptheme/ (i have .kde in my home folder and not .kde4), and restarted. But it didnt work. Do I have to include it in startup option somehow?

I am using kubuntu-desktop on ubuntu, macbook machine.

Thank you for your time.


epr
Reply to this

-

 Re: Re: Re: saving config

 
 by rangalo on: Aug 20 2009
 
Score 50%

Then create the file as shown in the following link. Replace the values according to your location and preferred unit.

I installed the seamless theme using the theme installer from kde4.


Reply to this

-

 Re: Re: Re: Re: saving config

 
 by rangalo on: Aug 20 2009
 
Score 50%

sorry forgot to paste the link..

Here

http://gist.github.com/171312


Reply to this

-
.

 Re: Re: Re: Re: Re: saving config

 
 by eprosen on: Aug 20 2009
 
Score 50%

I created the file as you said and restarted. But still it shows the weather of Munich Germany. The file does not get deleted with startup. I may be wrong, but my guess is somehow the machine does not see the config files while startup. I had a similar experience before with a .fonts.conf file which still doesnt work.

The seamless theme is working fine now.

Thanks


epr
Reply to this

-

 Re: Re: Re: Re: Re: Re: saving config

 
 by rangalo on: Aug 22 2009
 
Score 50%

I have just uploaded the fixed version, try it and let me know.



-
.

 installation error

 
 by eprosen on: Aug 22 2009
 
Score 50%

Hi,
I tried to install the new version via Add widgets> install new widgets utility but getting the following errors:

/tmp/kde-username///110137-plasma_pyweather.plasmoid failed!

and

installation of /tmp/kde-username/// failed

Thanks,


epr
Reply to this

-
.

 installation error

 
 by eprosen on: Aug 22 2009
 
Score 50%

Hi,
I tried to install the new version via Add widgets> install new widgets utility but getting the following errors:

/tmp/kde-username///110137-plasma_pyweather.plasmoid failed!

and

installation of /tmp/kde-username/// failed

Thanks,


epr
Reply to this

goto page:  1  2  3  4 

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

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

Copyright 2003-2014 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.