Skip to content

Update and processing of gmt_data_server.txt is not robust #3723

Description

@PaulWessel

I've seen these when running the tests in parallel at a time that happens to coincide with the refresh of the data server list. One gets messages like this:

ERROR]: Read error first record in file /home/gia/.gmt/server/gmt_data_server.txt

apparently because that file got clobbered by another process and now it is zero bytes. Because of the short course I have not had time to investigate more but will be looking at flock as we do for gmt.history. Also, when the above situation arises we could take some other action than complain, such as delete and redownload.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions