DALQueryError: Query Error: ClassCastException:null on tutorial 304.1

Hello,

I am working through some of the great tutorials on DP1 data. I am having some issue when running the tutorial 304.1. PSF analysis for cosmology. I am currently running it as written in this version.

In section 2 when you run the query for the specific visit_id as a job (job = rsp_tap.submit_job(query), I am getting the error “DALQueryError: Query Error: ClassCastException:null”. I have not been successful in discerning what is causing this error within the query.

Would anyone be able to help me understand what is going wrong? Thank you in advance.

Dear @rnichols , thank you for your post. I was not able to reproduce your error using release r.29.1.1. Is this the same image that you are using? Would you mind running the cell again, or re-starting the kernel and trying again?

DP1 tutorial 103_3 on TAP access has a similar suggestion for another type of DAL error:

If you still find errors, please report back and we’ll follow up.

Hi, Thank you for the feedback. I am trying to run the same image as written in the tutorial and have not altered it. I have tried rerunning the cells, restarting the kernel, and rerunning the TAP statement right before the query using both the recommended release today (8.19.25) and the earlier version r.29.1.1. I all cases I continue to get the same error.

Hi @rnichols,

Are you running the tutorial at data.lsst.cloud. ?

It could also be that some previous cell was edited by accident. Can you try again by going to data.lsst.cloud, logging out if you are logged in, log in, open the tutorial and do Run All Cells from the Run tap at the top? (using the recommended image r.29.1.1). Let us know if you still get the error.

Hi @rnichols ,

I encountered the same error message (on a different query) only on the USDF RSP, but not on the RSP on the cloud-based US DAC. Where are you running this query?

I was running on USDF RSP. I am currently in the process of setting up a data.lsst.cloud account. Thank you both for helping me! I will respond again if this doesn’t fix the issue.

1 Like