-
-
Notifications
You must be signed in to change notification settings - Fork 427
Closed
Description
Running the following code
from astroquery.gaia import Gaia
g_tables = Gaia.load_tables(only_names=True)
produces the following errors
Created TAP+ (v20200428.1) - Connection:
Host: gea.esac.esa.int
Use HTTPS: True
Port: 443
SSL Port: 443
Created TAP+ (v20200428.1) - Connection:
Host: gea.esac.esa.int
Use HTTPS: True
Port: 443
SSL Port: 443
INFO: Retrieving tables... [astroquery.utils.tap.core]
INFO: Parsing tables... [astroquery.utils.tap.core]
Traceback (most recent call last):
File "/usr/lib/python3.6/xml/sax/expatreader.py", line 217, in feed
self._parser.Parse(data, isFinal)
xml.parsers.expat.ExpatError: mismatched tag: line 72, column 2
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/../svn/data2dot/scripts/GaiaLoadTables.py", line 3, in <module>
g_tables = Gaia.load_tables(only_names=True)
File "/home/../dev/astro/gd2d/lib/python3.6/site-packages/astroquery/utils/tap/core.py", line 799, in load_tables
verbose=verbose)
File "/home/../dev/astro/gd2d/lib/python3.6/site-packages/astroquery/utils/tap/core.py", line 236, in __load_tables
tsp.parseData(response)
File "/home/../dev/astro/gd2d/lib/python3.6/site-packages/astroquery/utils/tap/xmlparser/tableSaxParser.py", line 67, in parseData
xml.sax.parse(data, self)
File "/usr/lib/python3.6/xml/sax/__init__.py", line 33, in parse
parser.parse(source)
File "/usr/lib/python3.6/xml/sax/expatreader.py", line 111, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python3.6/xml/sax/xmlreader.py", line 125, in parse
self.feed(buffer)
File "/usr/lib/python3.6/xml/sax/expatreader.py", line 221, in feed
self._err_handler.fatalError(exc)
File "/usr/lib/python3.6/xml/sax/handler.py", line 38, in fatalError
raise exception
xml.sax._exceptions.SAXParseException: <unknown>:72:2: mismatched tag
$ pip list
Package Version
----------------------------- ----------
alabaster 0.7.12
argon2-cffi 20.1.0
astropy 4.0
astroquery 0.4.2.dev0