Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IRSA bug - probably VO bug? #12

Closed
keflavich opened this issue Jul 13, 2012 · 2 comments
Closed

IRSA bug - probably VO bug? #12

keflavich opened this issue Jul 13, 2012 · 2 comments

Comments

@keflavich
Copy link
Contributor

>>> astroquery.irsa.query_gator_cone('irasgal','w51',30)

WARNING: W21: /var/folders/ni/ni+DtdqFGMeSMH13AvkNkU+++TI/-Tmp-/tmpPZtxCq:3:0: W21: vo.table is designed for VOTable version 1.1 and 1.2, but this file is 1.0 [astropy.io.vo.tree] WARNING: W42: /var/folders/ni/ni+DtdqFGMeSMH13AvkNkU+++TI/-Tmp-/tmpPZtxCq:3:0: W42: No XML namespace specified [astropy.io.vo.tree] ERROR: TypeError: __init__() keywords must be strings [astropy.io.vo.tree] Traceback (most recent call last): File "<ipython-input-73-6b69229ec10b>", line 1, in <module> astroquery.irsa.query_gator_cone('irasgal','w51',30) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/astroquery-0.0.dev90-py2.6.egg/astroquery/irsa/irsa.py", line 167, in query_gator_cone return _query_gator(options) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/astroquery-0.0.dev90-py2.6.egg/astroquery/irsa/irsa.py", line 349, in _query_gator array = parse(output.name, pedantic=False).get_first_table().array File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/astropy-0.2.dev1466-py2.6-macosx-10.6-i386.egg/astropy/io/vo/table.py", line 108, in parse config=config, pos=(1, 1)).parse(iterator, config) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/contextlib.py", line 34, in __exit__ self.gen.throw(type, value, traceback) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/astropy-0.2.dev1466-py2.6-macosx-10.6-i386.egg/astropy/utils/xml/iterparser.py", line 213, in get_xml_iterator yield iter(context) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/astropy-0.2.dev1466-py2.6-macosx-10.6-i386.egg/astropy/io/vo/table.py", line 108, in parse config=config, pos=(1, 1)).parse(iterator, config) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/astropy-0.2.dev1466-py2.6-macosx-10.6-i386.egg/astropy/io/vo/tree.py", line 2881, in parse iterator, tag, data, config, pos) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/astropy-0.2.dev1466-py2.6-macosx-10.6-i386.egg/astropy/io/vo/tree.py", line 2815, in _add_coosys coosys = CooSys(config=config, pos=pos, **data) TypeError: __init__() keywords must be strings

@mdboom
Copy link
Contributor

mdboom commented Nov 19, 2012

Is this still a bug? I can't seem to reproduce it, and the IRSA file looks mostly ok.

@keflavich
Copy link
Contributor Author

No! I think IRSA fixed their VOTable issues - there was an issue about this on astropy too, but I can't find it.

The issue posted was a bad example anyway; a better test case (i.e., one with results) is 👍 astroquery.irsa.query_gator_cone('pt_src_cat','w51',30)

astrofrog added a commit to astrofrog/astroquery that referenced this issue Feb 1, 2013
Update setup.py to reflect re-factored setup code for 0.2 release
rgutierrezs pushed a commit to esdc-esac-esa-int/astroquery that referenced this issue Mar 12, 2021
…8-astroquery-merge to develop

* commit '0da2bed30b0a5c1a8da3ff9e0be738c0c2b5d124':
  Move astroquery.jwst to astroquery.esa.jwst.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants