astropy / astropy/astroquery

Tap+ saving results is causing an error

Open
#1,246 1 comment 0 reactions 1 assignee Claimed by @jcsegovia View on GitHub
utils.tap
Dominant language
Python
Stars
791
Forks
451
Avg merge
1d 3h
Merged PRs (30d)
4

Description

When I use the TAP tools to create a job and saving the results it causes an error.
First when launching a job asynchronously and setting dump_to_file=True, it causes 'Exception: See Other'.
Second when a job has been created and run (synchronous and asychronous) then later when calling save_results() and passing it the finished job it errors with 'AttributeError: 'Table' object has no attribute 'to_xml''. In utils/tap/model/job.py save_results() the self.__resultsInMemory is True but when it tries to get the results it fails with the attribute error. When I got rid of the if else the synchronous job printed the 'No results to save' line as expected but the asynchronous job gives 'Exception: See Other'.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.