Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GWHAT crashes and fails to open afterwards if it failed to fetch the climate station database the first time it is started. #133

Closed
jnsebgosselin opened this issue Dec 21, 2017 · 0 comments · Fixed by #138

Comments

@jnsebgosselin
Copy link
Owner

GWHAT tries to fetch the climate station database from the EC ftp server the first time it is opened.

If this operation fails, no error is issued and an empty file is saved, which causes GWHAT to crash afterwards when trying to load the climate station list. Following attempts to open GWHAT also result in a crash.

The operation of fetching the climate station database should be made more robust and it should not systematically crash the program when it fails. Moreover, this operation should not be done on startup, but only when the Weather Stations Browser is opened for the first time.

@jnsebgosselin jnsebgosselin added this to the gwhat-0.2.2 milestone Dec 21, 2017
@jnsebgosselin jnsebgosselin changed the title GWHAT crash and failed to open afterwards if it fails to fetch the climate station database the first time it is opened. GWHAT crash and fails to open afterwards if it failed to fetch the climate station database the first time it is opened. Dec 21, 2017
@jnsebgosselin jnsebgosselin changed the title GWHAT crash and fails to open afterwards if it failed to fetch the climate station database the first time it is opened. GWHAT crash and fails to open afterwards if it failed to fetch the climate station database the first time it is started. Dec 21, 2017
@jnsebgosselin jnsebgosselin changed the title GWHAT crash and fails to open afterwards if it failed to fetch the climate station database the first time it is started. GWHAT crashes and fails to open afterwards if it failed to fetch the climate station database the first time it is started. Dec 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant