-
Notifications
You must be signed in to change notification settings - Fork 365
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
Better error message for server connection errors #2119
Comments
OK, will see what information is available when it fails. But for certain we know what it is trying to download when it fails so we can add more information. I experience the same thing from time to time. |
I get the following error in pygmt from time to time when plotting my own data. Why would gmt be trying to download these files at all? At a very minimum, this should return a warning as opposed to an error.
|
I think GMT only tries to download the hash table (gmt_hash_server.txt) if a remote file (file with a leading "@") is required. I see two possible issues here:
|
We have explicit checks to not download @GMTAPI@-###### files and I have not seen that before. COuld you tell me the circumstance in which it happened. I know you use pygmt. |
The circumstance is very banal: I have a grid stored as a local xarray, and I am using grdimage to plot it. Here is an example if you want to check out a different problem! GenericMappingTools/pygmt#375 |
I tried @MarkWieczorek's script in GenericMappingTools/pygmt#375. The first few lines of debug messages are:
|
See issue #2119. If we cannot update the hash table we can still use the cached data files so this snould not be an error.
@PaulWessel I'm reopening it since there are still some unsolved issues here. |
OK, fine. |
See issue #2119. If we cannot update the hash table we can still use the cached data files so this snould not be an error.
This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions. |
Can we close this? |
Sometimes, we may have intermittent network issues and fail to download some files. GMT reports errors likes:
Is it possible to provide more information? For example.
The text was updated successfully, but these errors were encountered: