OSC / ondemand

Supercomputing. Seamlessly. Open, Interactive HPC Via the Web
https://openondemand.org/
MIT License
293 stars 107 forks source link

TypeError: 0 is read-only #1659

Closed johrstrom closed 1 year ago

johrstrom commented 2 years ago

batchConnect.js is throwing an error here at table[xIdx] = assignment.

image

I was able to trigger this with 2 cluster classroom definitions with slightly different keys. Testing the classroom-jupyter app, with

[johrstrom clusters.d(master)] 🐳  grep -ri osc_jupyter *.yml
kubernetes-dev.yml:      jupyter/OSC_JUPYTER/3/6:          PZS1118
kubernetes-test.yml:      jupyter/OSC_JUPYTER:          PZS1118

Maybe this block had never been executed before? In any case, it seems like we can't reassign table[xIdx]?

┆Issue is synchronized with this Asana task by Unito

johrstrom commented 1 year ago

Apparently this is just from any Object.assign on strings (and maybe other primitives too).

image