Skip to content

Known Issues

o355 edited this page Nov 18, 2017 · 16 revisions

A lot of known issues are present in PyWeather. These issues are here, as they're known.

If you're reporting an issue, make sure that the issue you're reporting isn't here.

A hurricane in hurricane data is duplicated (occurs when there's one hurricane)

Affects PyWeather 0.6.2 beta and above

I've recently noticed that WU has an API issue where hurricanes are duplicated, and this mostly occurs when there is only one hurricane.

I've contacted Wunderground about this API issue, and I may implement a fix in the event this isn't fixed.

If by some reason Wunderground decides to never fix this issue, PyWeather 0.6.2 beta & 0.6.3 beta will have this issue with hurricane data.

PyWeather's Git update option failing

Affects PyWeather 0.5.2 beta - PyWeather 0.6.2 beta

The Git updater was always experimental, and was bound to fail. There are a string of bugs in the Git updater, spanning from 0.5.2 to 0.6.0.1. A solid fix will be implemented in 0.6.1 beta.

Since 0.6 beta and above requires using configupdate.py to 100% update PyWeather, users on 0.6 and 0.6.0.1 will need to execute this script manually.

In 0.6.1 beta, I forgot to remove the versioninfo.txt file, which caused the updater to fail on the configupdate script, and in general.

In 0.6.2 beta, the updater fails due to a bad print statement. All of this chaos might get fixed by 0.6.3 beta, but the git updater will get fully removed in 0.6.4 beta.

PyWeather options not being selectable by words

Affects PyWeather 0.2 beta - PyWeather 0.5.2.1 beta

I can't get elifs for about 20 possible word combos. As such, I'm unsupporting this feature in 0.6 beta.

Newer options can't be selected by word combinations. From PyWeather 0.6 and on, you will only be able to select options with numbers. It's more efficient, anyways.

PyWeather being unable to fetch API data on some platforms, or randomly

Affects PyWeather 0.2 beta - PyWeather 0.5.1 beta

urllib.request.urlopen is quirky, at best. It does work, sometimes, but it doesn't on some platforms.

When PyWeather 0.5.2 beta was released, I ended up switching to the requests library. This does drastically improve reliability when fetching API data. On some Python setups, you might need to manually install the requests library.

Some PIP libraries not being able to install during setup

Affects PyWeather 0.2 beta - PyWeather 0.5.1 beta

When doing normal PIP installs, some libraries tend to fail to install on some platforms.

This was solved by adding a fallback method to installing with sudo. 90% of the time, these installer errors are caused by bad permissions.

PyWeather can't boot when key validation is off

Affects PyWeather 0.5.2 beta

If key validation was turned off, PyWeather wouldn't boot up. This was fixed in PyWeather 0.5.2.1 beta.

Some data fields may show odd entries, like "-999", or "None"

Generally affects all versions of PyWeather

This is an issue with Wunderground's API. I've continued to try and improve these checks. With testing in US locations, PyWeather 0.5 beta and above have solid checks for invalid data.

However, these checks can't possibly check for every possible bit of invalid data. If you come across a bad check, please, please report the bug. In the bug report, please also report the location you inputted for the bug to come up. Make sure that you don't post a location any more detailed than "City, State, Country", unless ABSOLUTELY necessary.

SSL errors with the geolocator

Affects PyWeather 0.2 beta to PyWeather 0.6.0.1 beta on some platforms

For some reason, geopy doesn't like some platforms, and using HTTPS. PyWeather 0.6.1 has a temporary workaround, with an HTTP/HTTPS version. PyWeather 0.6.2 beta will solve this issue, by adding better error detection for SSL issues, and letting users decide the scheme they want to use.

PyWeather's radar cache not properly clearing out

Affects PyWeather 0.6.1 beta

The cache isn't properly cleared out in 0.6.1 beta. This only leads to an error when fetching radar data for a zoom level after a cache clear, but on a second try, radar data is fetched. This issue has been fixed, and is in the 0.6.2 beta release.

Wind gusts do not exceed the wind speed when winds are extremely high in the forecast

Affects all versions of PyWeather

This occurs in the forecast, when the predicted wind speed is <100 mph. I presume that the wind gusts get limited to 100 mph.

This can occur when you look up the weather for a place where a strong hurricane is making landfall over.

Precipitation data in inches for the day in detailed current information is improperly formatted in the parenthesis for cm data.

Affects all PyWeather versions

This is an issue with Wunderground's API overspacing the variable, especially at 0 cm. I may release a fix eventually.

Clone this wiki locally