- Joined
- Jan 4, 2003
- Messages
- 137
I'm using Trunk Recorder to feed Broadcastify Calls on Ubuntu 18.04. I'm running 2 instances with 2 SDRs on the same computer. One system that has a tower about 1 mile away, p25 phase 1 and never seems to have a problem. The other system is about 20 miles away and p25 phase 2. I record both systems to a ramdrive and delete the files once uploaded, if it matters. I believe I'm on Trunk Recorder 3.14, revision e97afd0.
After a week or two of running fine the further second system will stop and when I get to the console its just constantly scrolling 0's as fast as possible. If I restart it it will do the same thing in about 1-15 minutes until I restart the computer, and after that the cycle starts again, good for a week or two, then full of 0s again.
Tonight I caught it before the 0's scrolled all the text off the screen. It looks like it might have some error writing the audio file and then the whole thing barfs after that. Anyone have any ideas on how to fix it, or could Trunk Recorder handle this error better?
After a week or two of running fine the further second system will stop and when I get to the console its just constantly scrolling 0's as fast as possible. If I restart it it will do the same thing in about 1-15 minutes until I restart the computer, and after that the cycle starts again, good for a week or two, then full of 0s again.
Tonight I caught it before the 0's scrolled all the text off the screen. It looks like it might have some error writing the audio file and then the whole thing barfs after that. Anyone have any ideas on how to fix it, or could Trunk Recorder handle this error better?
Code:
[/home/pi/trunk-recorder/lib/gr_blocks/nonstop_wavfile_sink_impl.cc] file i/o error
[/home/pi/trunk-recorder/lib/gr_blocks/nonstop_wavfile_sink_impl.cc] file i/o error
sox WARN wav: Length in output .wav header will be wrong since can't seek to fix it
ERROR: failed to finalize m4a
[2020-06-25 21:17:22.460170] (error) [SDCNG] TG: 2301 Freq: 853.887500 MHz Broadcastify Metadata Upload Error: <html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
</body>
</html>
[/home/pi/trunk-recorder/lib/gr_blocks/nonstop_wavfile_sink_impl.cc] file i/o error
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO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