I have the service configured as noted in the thread "Setting up op25 to stream to broadcastify" but in my case I just need to have it start on boot. This will be a headless instance with speakers connected to raspberrypi. It will not be connected to the internet thus not sending signal anywhere.
My start command is:
./rx.py --args 'rtl' -N 'LNA:47' -S 960000 -f 773.84375e6 -o 25000 -T trunk.tsv -V -2 -U 2> stderr.2
The service is configured as noted, I also added "Type=forking" as a suggestion but it did not do anything.
I get the following error from stderr.2
Traceback (most recent call last):
File "/home/pi/op25/op25/gr-op25_repeater/apps/terminal.py", line 306, in run
self.setup_curses()
File "/home/pi/op25/op25/gr-op25_repeater/apps/terminal.py", line 67, in setup_curses
self.stdscr = curses.initscr()
File "/usr/lib/python2.7/curses/__init__.py", line 33, in initscr
fd=_sys.__stdout__.fileno())
error: setupterm: could not find terminal
When I add -l http://127.0.0.1:8080 I get the following errors.
when executing
systemctl start op25-stream0
Job for op25-stream0.service failed because the control process exited with error code.
See "systemctl status op25-stream0.service" and "journalctl -xe" for details.
And stderr.2:
Reading whitelist file
Traceback (most recent call last):
File "./rx.py", line 904, in <module>
rx = rx_main()
File "./rx.py", line 824, in __init__
self.tb = p25_rx_block(self.options)
File "./rx.py", line 201, in __init__
self.terminal = op25_terminal(self.input_q, self.output_q, self.options.terminal_type)
File "/home/pi/op25/op25/gr-op25_repeater/apps/terminal.py", line 388, in op25_terminal
port = int(terminal_type)
ValueError: invalid literal for int() with base 10: '127.0.0.1:8080'
Any pointers would be appreciated. I'm not the expert but it seems I'm missing something simple
Thanks,
Marek
My start command is:
./rx.py --args 'rtl' -N 'LNA:47' -S 960000 -f 773.84375e6 -o 25000 -T trunk.tsv -V -2 -U 2> stderr.2
The service is configured as noted, I also added "Type=forking" as a suggestion but it did not do anything.
I get the following error from stderr.2
Traceback (most recent call last):
File "/home/pi/op25/op25/gr-op25_repeater/apps/terminal.py", line 306, in run
self.setup_curses()
File "/home/pi/op25/op25/gr-op25_repeater/apps/terminal.py", line 67, in setup_curses
self.stdscr = curses.initscr()
File "/usr/lib/python2.7/curses/__init__.py", line 33, in initscr
fd=_sys.__stdout__.fileno())
error: setupterm: could not find terminal
When I add -l http://127.0.0.1:8080 I get the following errors.
when executing
systemctl start op25-stream0
Job for op25-stream0.service failed because the control process exited with error code.
See "systemctl status op25-stream0.service" and "journalctl -xe" for details.
And stderr.2:
Reading whitelist file
Traceback (most recent call last):
File "./rx.py", line 904, in <module>
rx = rx_main()
File "./rx.py", line 824, in __init__
self.tb = p25_rx_block(self.options)
File "./rx.py", line 201, in __init__
self.terminal = op25_terminal(self.input_q, self.output_q, self.options.terminal_type)
File "/home/pi/op25/op25/gr-op25_repeater/apps/terminal.py", line 388, in op25_terminal
port = int(terminal_type)
ValueError: invalid literal for int() with base 10: '127.0.0.1:8080'
Any pointers would be appreciated. I'm not the expert but it seems I'm missing something simple
Thanks,
Marek