-
-
Notifications
You must be signed in to change notification settings - Fork 424
Closed
Description
On Github action or Google Colab, simbad query_objects()
raises DALQueryError
running for the first time ever on a clean machine for astroquery 0.4.9.
The way to reproduce on Google Colab (make sure it is a new runtime that you have to install astroquery, not just restart with a new session). Running
from astroquery.simbad import Simbad
simbad = Simbad()
simbad.query_objects(['LMC', 'M31'])
raises
DALQueryError Traceback (most recent call last)
[<ipython-input-2-03fcb3ecdc5e>](https://localhost:8080/#) in <cell line: 0>()
1 from astroquery.simbad import Simbad
2 simbad = Simbad()
----> 3 simbad.query_objects(['LMC', 'M31'])
5 frames
[/usr/local/lib/python3.11/dist-packages/pyvo/dal/tap.py](https://localhost:8080/#) in raise_if_error(self)
990 msg = self._job.errorsummary.message.content
991 msg = msg or "<No useful error from server>"
--> 992 raise DALQueryError("Query Error: " + msg, self.url)
993
994 def fetch_result(self):
DALQueryError: Query Error: Error while reading the table "script_infos": Failed to read the table 'script_infos'! Cause: no file found.
and then simply running
simbad.query_objects(['LMC', 'M31'])
again gives correct result without errors. Even if you restarting a new session, query_objects()
works fine without issue.