Issues casting array/matrix GStreamer properties to GValueArray on newer versions of pygobject
reading 'L1_psd.xml.gz' ...
Traceback (most recent call last):
File "/home/patrick.godwin/.conda/envs/gstlal-dev/bin/gstlal_fake_frames", line 307, in <module>
head = pipeparts.mkfirbank(pipeline, head, latency = latency, fir_matrix = [fir_matrix], block_stride = 1 * options.sample_rate)
File "/home/patrick.godwin/.conda/envs/gstlal-dev/lib/python3.7/site-packages/gstlal/pipeparts/__init__.py", line 571, in mkfirbank
return mkgeneric(pipeline, src, "lal_firbank", **properties)
File "/home/patrick.godwin/.conda/envs/gstlal-dev/lib/python3.7/site-packages/gstlal/pipeparts/__init__.py", line 100, in mkgeneric
elem.set_property(name.replace("_", "-"), value)
TypeError: could not convert [array([-1.86826653e-56, -7.32817040e-31, -2.93145269e-30, ...,
-2.93145269e-30, -7.32817040e-31, -1.86826653e-56])] to type 'GValueArray' when setting property 'GSTLALFIRBank.fir-matrix'
My current suspicion is that it was caused from this commit, but have not confirmed this: https://gitlab.gnome.org/GNOME/pygobject/-/commit/b5eab39ebcae061a46c186beac47f7e936ce57c2
Edited by Patrick Godwin