Bugs item #1053028, was opened at 2004-10-23 19:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1053028&group_id=46652

Category: plugins
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Danny (smartekarl)
Assigned to: Nobody/Anonymous (nobody)
Summary: The weather plugin parser fails to parse data

Initial Comment:
When the weather data fetched from the Internet is 
parsed not all reports are parsed correctly and the 
weather plugin fails to show any data
The problem is that some reports does not use integers 
only in the temperature and dew point, but floating point.
The pymetar.py only grabs integers in the report if any, 
but fails to do so if they are floating point.
Correcting the two int(f) and int(c:[1]) references in the 
code to float(f) and float(c:[1]) and the parsing now 
passes. Test with the default CYYZ which returns 
integers only whereas KSAN returns floating point 
temperatures.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1053028&group_id=46652


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to