-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 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 
--
-
 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 
--
-
 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
--
-
 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    Open-PC.com   
Artwork
Groups
Knowledge Base
Events
Forum
People
Jobs
Register
Login

-
Best Twitter Client
 Official Twitter Web Interface
 Choqok
 Plasma Twitter Applet
 Twitux
 gTwitter
 Spaz
 Twitterfox
 Gwibber
 Qwit
 TweetDeck
 Other
 Not using Twitter

resultmore


Camheroes

Sponsoring



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

plasma_pyweather

   1.5  

Plasmoid Script

plasma_pyweather
zoom


plasma_pyweather
zoom


plasma_pyweather
zoom


Link:  Link
Depends on:  PyKDE/PyQt
Downloads:  1452
Submitted:  Aug 12 2009
Updated:  Jan 18 2010
Score: 
score71%71%score
 71% good
bad   good

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-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
subscription
other artwork from rangalo

goto page: prev   1  2  3 

-
.

 No settings retention

 
 by brucew on: Oct 4 2009
 
brucewbrucew
Marin Institute
Home
-
Bruce Wolfe
Marin Institute
United States of America, San Rafael
last visit Feb 4 2010
0 friends
0 groups

other contents
send a message
add as friend
more info
--

Using Kubuntu 9.10. Installed using Plasma installer without any problem.

It loses all the settings at every reboot.

Please advise.


reply to this

-

 Re: No settings retention

 
 by jmatter on: Nov 17 2009
 

If you're comfortable monkeying around with code, it's pretty simple to change the default location from Munich to wherever you are. http://github.com/rangalo/plasma_pyweather has the source code. Go to /rangalo-plasma_pyweather-1c000f3/contents/code and open up the file main.py in your favorite text editor, go to line 44 or so, and change the default settings. You'll have to change the name of the plasmoid so it doesn't conflict with the original version when you install this, and I forget how I did that, but I have faith in you. If you need more clarification, I'll gladly try to make my explanation more straightforward.


reply to this

-

 Re: Re: No settings retention

 
 by rangalo on: Nov 17 2009
 

You are correct.

It is easy to change the default location.

Moreover, you should have a file .weather.cfg file in you home folder. You can also edit the file manually and set the location there.

Meanwhile, I am now back from vacation and try to fix the issue permanently. Actually, I use debian and I haven't had this problem.

Thanks,
Hardik


reply to this

-

 New version 1.3

 
 by rangalo on: Nov 18 2009
 

I have fixed the but with Kubuntu. Now it is possible to save settings.

Also added new conditions for overcast, fog, snow and smoke.


reply to this

-

 Can´t install!!

 
 by DevilMayCry on: Nov 22 2009
 

As I´m trying to install the plasmoid, there´s an error message: The installation failed /home/xxxxx/plasma_pyweather.plasmoid
(It´s translated from German into English)


Phenom II 945 95W
HIS HD4670 iSilence4 1024MB
Tyan Tomcat n3400b, 4GiB DDR2 800
Samsung SyncMaster 2433BW
OpenSUSE 11.1 KDE 4.3.3, Win 7 x64

reply to this

-

 Re: Can´t install!!

 
 by rangalo on: Nov 22 2009
 

Try to install with plasmapkg command like following.

1. download the plasmoid file.

2. plasmapkg -i <path_to_plasmoid_file>

Make sure you don't have the older version of the plasmoid.

plasmapkg -l | grep weather

Above command will give list of weather plasmoids installed.

plasmapkg -r plasma_pyweather

above command will remove the older version if already installed.

Then reinstall.


reply to this

-

 Re: Re: Can´t install!!

 
 by DevilMayCry on: Nov 23 2009
 

Thank you for the quick reply but it still doesn´t work! It´s not already installed and the error message is still shown. Do I need root privileges to install?


Phenom II 945 95W
HIS HD4670 iSilence4 1024MB
Tyan Tomcat n3400b, 4GiB DDR2 800
Samsung SyncMaster 2433BW
OpenSUSE 11.1 KDE 4.3.3, Win 7 x64

reply to this

-

 Re: Re: Re: Can´t install!!

 
 by rangalo on: Nov 24 2009
 

Generally you don't need root access for installing a plasmoid.

I don't have any clue why the installation fails in your case from the error message.


reply to this

-

 Re: Re: Re: Re: Can´t install!!

 
 by DevilMayCry on: Nov 24 2009
 

Perhaps it´s a KDE-Bug and I guess I should wait for a new KDE 4.3 release.
Thanks for your help!


Phenom II 945 95W
HIS HD4670 iSilence4 1024MB
Tyan Tomcat n3400b, 4GiB DDR2 800
Samsung SyncMaster 2433BW
OpenSUSE 11.1 KDE 4.3.3, Win 7 x64

reply to this

-

 Can't get weather of Hong Kong

 
 by pariah2707 on: Jan 12 2010
 

Hi.

Thanks for your great work, I love its simplicity.

My problem is that a message of "This object could not be created for the following reason: Script initialization failed" would appear if I want to set my location to Hong Kong.

It worked flawlessly for other locations like Munich, Beijing or Macau. I tried "Hong Kong,Hong Kong", "HongKong,HongKong", "HongKong," and "HongKong" in google, i.e.
http://www.google.com/ig/api?weather=mylocation, all seems to give correct result. But if I have these setting in the configuration, it just wouldn't work.

Hard-coding my location into main.py and weatherConfig.py gives the same error.

I'm using Kubuntu 9.10. Thanks.


reply to this

-

 Re: Can't get weather of Hong Kong

 
 by rangalo on: Jan 13 2010
 

This was due to wrong format of wind condition for certain cities.

Raffaele has submitted a nice patch and the bug has bin fixed in the latest version 1.4 of the plasmoid.


reply to this

-
.

 Invalid Temperatures

 
 by mattheyu on: Feb 6 2010
 

I'm located in Waco, TX, running Kubuntu 9.10. I have the units set to imperial.

It currently states the the high for tomorrow is 127 F. I know it gets pretty warm in Texas, but not quite that hot.

I assume the applet is fetching the temperature in Celsius and then converting it, but there is an error in the formula. I'd fix it myself, but I'm not sure where to start.


Thanks,
Mattheyu

reply to this

goto page: prev   1  2  3 

add commentback




-
-
all messages

openDesktop.org Facebook App





Partners
Place Your Link Here!
Online Casino
Fundraising Ideas

Cool Sites
iPhone Community

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

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

Copyright 2001-2010 KDE-Look.org Team  
All rights reserved. KDE-Look.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.