You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"No table found in VOTABLE file" for Simbad MAIN_ID #1232
This is really strange. Any possible reason why it may not be working for me? Here's the full output:
C:\Program Files\Python\lib\site-packages\astroquery\simbad\core.py:136: UserWarning: Warning: The script line number 2 raised an error (recorded in the `errors` attribute of the result table): java.lang.NullPointerException
(error.line, error.msg))
---------------------------------------------------------------------------
TableParseError Traceback (most recent call last)
<ipython-input-1-bfc36190b472> in <module>()
1 from astroquery.simbad import Simbad
----> 2 result_table = Simbad.query_object("QSO B0003-066")
3 print(result_table)
C:\Program Files\Python\lib\site-packages\astroquery\simbad\core.pyc in query_object(self, object_name, wildcard, verbose, get_query_payload)
507
508 return self._parse_result(response, SimbadVOTableResult,
--> 509 verbose=verbose)
510
511 def query_object_async(self, object_name, wildcard=False, cache=True,
C:\Program Files\Python\lib\site-packages\astroquery\simbad\core.pyc in _parse_result(self, result, resultclass, verbose)
1017 " parsed result is in "
1018 "self.last_parsed_result.\n "
-> 1019 "Exception: " + str(ex))
1020 resulttable.errors = self.last_parsed_result.errors
1021 return resulttable
TableParseError: Failed to parse SIMBAD result! The raw response can be found in self.last_response, and the error in self.last_table_parse_error. The attempted parsed result is in self.last_parsed_result.
Exception: No table found in VOTABLE file.
Hello, I'm having the same problem with Ned query even after clearing the cache. Using different astropy and astroquery versions, I am still facing the same issue. Are there any solutions to this problem? Thanks.
Here is The code and error:
from astroquery.ipac.ned import Ned
result_table = Ned.query_object('NGC 224')
Activity
bsipocz commentedon Sep 12, 2018
What version of astroquery do you use? It works for me as expected:
Roman-UCLU commentedon Sep 12, 2018
Thanks, Brigitta!
My version is 0.3.7...
This is really strange. Any possible reason why it may not be working for me? Here's the full output:
bsipocz commentedon Sep 12, 2018
Weird. There were some recent changes since 0.3.7 in the module, but even with that version the snippet works for me.
Could you check whether the payload and the url is same for you:
also, could you print out
Simbad.last_response.contentandSimbad.last_table_parse_errorafter the query produced the failure?aoberto commentedon Sep 12, 2018
I assume that it was the same issue than #1232 : a temporary problem in Simbad. It was resolved few hours ago, may be there is some cache ?
bsipocz commentedon Sep 12, 2018
@Roman-UCLU - please try to clear the cache,
Simbad.cache_locationtells you the location.Roman-UCLU commentedon Sep 13, 2018
Sorry for the delay.
Indeed, this was a caching issue. I deleted everything from the directory returned by
Simbad.cache_locationand that cut it!Thank you so much, everyone!
Negar3362 commentedon Sep 3, 2023
Hello, I'm having the same problem with Ned query even after clearing the cache. Using different astropy and astroquery versions, I am still facing the same issue. Are there any solutions to this problem? Thanks.
Here is The code and error:
from astroquery.ipac.ned import Ned
result_table = Ned.query_object('NGC 224')
IndexError: No table found in VOTABLE file.
keflavich commentedon Sep 3, 2023
@Negar3362 what versions of astropy & astroquery are you using? With astropy, astroquery = ('5.1', '0.4.7.dev8846'), I don't see this issue.
Negar3362 commentedon Sep 3, 2023
@keflavich The version of Astroquery I'm using is 0.4.6. I'll try 0.4.7 as well. Thanks.