-
 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   
 
Artwork
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
Minimum required   PyKDE/PyQt
Downloads:  6457
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  Artwork  from rangalo
Report inappropriate content



goto page: prev   1  2  3  4 

-
.

 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

-
.

 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

-
.

 Re: installation error

 
 by eprosen on: Aug 22 2009
 
Score 50%

sorry for the unintentional multiple posting


epr
Reply to this

-

 Re: installation error

 
 by rangalo on: Aug 22 2009
 
Score 50%

Download the file and install with the plasmapkg command as mentioned in the description.

The "Add Widget" doesn't work with script plasmoids yet.


Reply to this

-
.

 Re: Re: installation error

 
 by eprosen on: Aug 22 2009
 
Score 50%

did that too...but got the error message

Installation of /home/username/110137-plasma_pyweather.plasmoid failed

same with the command
/home/username/plasma_pyweather.plasmoid

i.e.
Installation of /home/username/plasma_pyweather.plasmoid failed.

Thanks


epr
Reply to this

-

 Re: Re: Re: installation error

 
 by rangalo on: Aug 22 2009
 
Score 50%

For me it works after downloading the same file from kde-look.

Please check if you are supplying the correct path.

I didn't receive any such complaint yet.

Paste the exact command line and the result.



[hardik@sidbox: projects ]$ ll ~/dl/soft/110137-plasma_pyweather.plasmoid
-rw------- 1 hardik hardik 150317 2009-08-22 11:50 /home/hardik/dl/soft/110137-plasma_pyweather.plasmoid


Reply to this

-
.

 Re: Re: Re: Re: installation error

 
 by eprosen on: Aug 23 2009
 
Score 50%

I saved that file on desktop. The command lines and results are as follows:

~$ cd Desktop
~/Desktop$

~/Desktop$ plasmapkg -i 110137-plasma_pyweather.plasmoid

Installation of /home/username/Desktop/110137-plasma_pyweather.plasmoid failed.

I also tried the sudo

~/Desktop$ sudo plasmapkg -i 110137-plasma_pyweather.plasmoid

to get

Error: "/var/tmp/kdecache-username" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-username" is owned by uid 1000 instead of uid 0.
Installation of /home/username/Desktop/110137-plasma_pyweather.plasmoid failed.
--

then, according to
http://ubuntuforums.org/showthread.php?t=1190829

problem may be due to plasmapkg:

~/Desktop$ plasmapkg
plasmapkg: One of install, remove, upgrade or list is required.
plasmapkg: Use --help to get a list of available command line options.


epr
Reply to this

-

 Re: Re: Re: Re: Re: installation error

 
 by tranceassemblage on: Sep 13 2009
 
Score 50%

I have Kubuntu 9.04 on my pc. and I tried to install "python-plasma" from Synaptic and that's all!!!!


Reply to this

-
.

 plasmapkg problem?

 
 by eprosen on: Aug 23 2009
 
Score 50%

tried the instructions in

https://lists.ubuntu.com/archives/kubuntu-users/2009-June/044403.html

then

~$ apt-cache search plasmapkg

but it returned nothing


epr
Reply to this

-

 Re: plasmapkg problem?

 
 by rangalo on: Aug 23 2009
 
Score 50%

Did you remove the old version with the command

plasmapkg pr plasma_pyweatehr


If not, first remove and then try to install.


Reply to this

-
.

 Re: Re: plasmapkg problem?

 
 by eprosen on: Aug 23 2009
 
Score 50%

I did. Here is the result:
~$ plasmapkg -r plasma_pyweather
Plugin plasma_pyweather is not installed.

then tried reinstalling:

$ plasmapkg -i 110137-plasma_pyweather.plasmoid
Installation of /home/username/110137-plasma_pyweather.plasmoid failed.

the command ~$ plasmapkg --list shows the plasmoids. I tried to remove rssnow to see if the removal command works or not:

~$ plasmapkg -r rssnow
Removal of rssnow failed.

So is it a problem with the plasmapkg not working on my machine?

Thanks


epr
Reply to this

-
.

 WORKAROUND

 
 by eprosen on: Aug 23 2009
 
Score 50%

I created a new user account. That solved the plasmapkg problem. I don't know how it solves the problem but I got this idea after some googling.

Then I manually downloaded your updated plasmoid and installed via the plasmapkg command and then created .weather.cfg manually. Now it remembers my location even after startup. So the problem is solved... but I guess I have to move my files from the other account :)

Cheers !


epr
Reply to this

-
.

 SOLVED !!

 
 by eprosen on: Aug 23 2009
 
Score 50%

I removed the old files using the instructions in
http://ubuntuforums.org/showthread.php?t=878457

then plasmapkg command worked.
the previous idea of creating a new user account came from here:

http://code.google.com/p/gmail-plasmoid/issues/detail?id=8

Thanks rangalo for your help ... I stay in canada and will inform you if the plasmoid runs out of icons in the winter!

Cheers!


epr
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.

resultmore




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
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-2014 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.