Skip to content

Cache problem #1625

@ceb8

Description

@ceb8

I discovered when using the service astroquery.mast.Tesscut that if I manually delete my cache I can't call Tesscut again until I restart my python kernel. I haven't tried this with any other astroquery service that uses caching, so I can't be sure, but looking at the code it seems likely to be a problem in astroquery's caching code rather than Tesscut.

Version: bleeding edge (what was on master as of 3 Feb 2020).

To reproduce:

  1. from astroquery.mast import Tesscut
  2. Navigate to astroquery cache (/<home or whatever>/.astropy/cache/astroquery) and delete everything in it
  3. Tesscut.get_sectors(coordinates="324.24368 -27.01029")

Traceback:
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions