Gr_satellites --kiss_out (debian bookworm, stock packages)

I’m getting this message while using --kiss_out with gr_satellites:

gr_satellites 47959 --wavfile /dev/shm/satnogs_8630155_2023-12-03T09-36-10.wav --samp_rate 48e3 --kiss_out 8630155.kss --start_time 2023-12-03T09:36:10
Traceback (most recent call last):
  File "/usr/bin/gr_satellites", line 316, in <module>
    main()
  File "/usr/bin/gr_satellites", line 301, in main
    tb = gr_satellites_top_block(parser)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/gr_satellites", line 189, in __init__
    self.flowgraph = satellites.core.gr_satellites_flowgraph(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/satellites/core/gr_satellites_flowgraph.py", line 147, in __init__
    self._init_additional_datasinks()
  File "/usr/lib/python3/dist-packages/satellites/core/gr_satellites_flowgraph.py", line 200, in _init_additional_datasinks
    datasinks.kiss_file_sink(self.options.kiss_out,
  File "/usr/lib/python3/dist-packages/satellites/components/datasinks/kiss_file_sink.py", line 44, in __init__
    self.pdu2tag = blocks.pdu_to_tagged_stream(blocks.byte_t, 'packet_len')
                                               ^^^^^^^^^^^^^
AttributeError: module 'gnuradio.blocks' has no attribute 'byte_t'

This is gr_satellites v4.4.0, shipped with Debian/Bookworm (Debian -- Details of package gr-satellites in bookworm).

Any ideas how to resolve this problem? :slight_smile: Omitting --kiss_out works, i got the frames but not in the desired KISS stream :confused:

Hi! gr-satellites 4.4.0 is a rather old version of gr-satellites. It’s not supposed to support GNU Radio 3.10. gr-satellites 4.4.0 came out in November 2021, while GNU Radio 3.10.0 came out in January 2022. Debian shouldn’t be shipping gr-satellites 4.4.0 together with GNU Radio 3.10. My suggestion is that you build and install the latest gr-satellites 5.x from source.

1 Like

By the way, bugs and related questions for gr-satellites are better reported in Issues · daniestevez/gr-satellites · GitHub. I saw your post in this forums almost by chance.

I maintain a bookworm build for gr-satellites on satnogs-unstable here.

1 Like

Thank you! Yes, building from source works now perfectly.
Well, yes, seemingly Debian maintainers combined these packages wrongly in bookworm (i also found another similar issues out there).