I need to move a .grc file from my Windows machine to my Linux machine. However they seem to save .grc files in a different manner – Linux saves using XML, and Windows saves using some sort of format that I've never seen, here is an example of the saved code from Windows:
- name: blocks_throttle_0
id: blocks_throttle
parameters:
affinity: ''
alias: ''
comment: ''
ignoretag: 'True'
maxoutbuf: '0'
minoutbuf: '0'
samples_per_second: samp_rate
type: complex
vlen: '1'
When I move the .grc file saved in the format above to a Linux machine, GNU Radio Companion doesn't recognize it because the Linux GNU Radio Companion is expecting a file in XML format.
Here's what I've tried and why it hasn't worked
Just redoing the project on Linux
This failed because I have a custom Python block in my code. When I try to hit the "use default editor" in the GUI, nothing happens. I followed the directions here. However this did not work for me, so my custom block cannnot be added.
Just redoing the project but adding my custom Python block straight to the .grc file
This failed because in the Python code
>
is present, which makes the XML processing expect a tag there, causing the code to fail.
How can I properly convert my existing .grc files to a file format understood by the Linux version of GNU Radio Companion?