sharppy / SHARPpy

Sounding/Hodograph Analysis and Research Program in Python
https://sharppy.github.io/SHARPpy/index.html
Other
221 stars 110 forks source link

v1.4.0b1 throws error when clicking Generate Profiles #181

Closed dziban303 closed 4 years ago

dziban303 commented 4 years ago

W10 x64, Sharppy v1.4.0b1.

No matter what Sounding Source I choose, or which station I select, I get an error when clicking Generate Profiles.

Example error:

SHARPpy v1.4.0b1 Andover Crash time: 2019-11-10 14:34:59.208551 Traceback (most recent call last): File "runsharp\full_gui.py", line 134, in doCrasher File "runsharp\full_gui.py", line 599, in complete_name File "datasources\data_source.py", line 375, in getForecastHours File "datasources\data_source.py", line 350, in _get File "datasources\data_source.py", line 167, in getForecastHours TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

image

georgephillips1 commented 4 years ago

Yeah. My issue #180 actually was this problem. What to do?

Exit SHARPpy. Remove the .sharppy directory in your user profile directory Restart SHARPpy

It should work then. Something in the .sharppy directory from previous versions of sharppy is confusing the new version.

dziban303 commented 4 years ago

Ah, I see. Yeah, that took care of the issue, thanks.