<p>ptrkrysik <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/gr-gsm/+/24072">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  ptrkrysik: Looks good to me, approved; Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">grgsm_decode: Print frequency or ARFCN message on stderr<br><br>For some yet unknown reasons in travis on Debian testing and Kali rolling<br>the message gets printed after the burst and decode.sh and decrypt.sh<br>tests fails because of this.<br><br>Instead of filtering this messages in the tests I think it is better<br>such messages to be printed on the standard error output<br><br>Change-Id: Ib18be898cac74769cabf1b748e40e21d23f08e98<br>---<br>M apps/grgsm_decode<br>1 file changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/apps/grgsm_decode b/apps/grgsm_decode</span><br><span>index 034014e..d754fc7 100755</span><br><span>--- a/apps/grgsm_decode</span><br><span>+++ b/apps/grgsm_decode</span><br><span>@@ -30,6 +30,7 @@</span><br><span> import grgsm</span><br><span> import pmt</span><br><span> import socket</span><br><span style="color: hsl(120, 100%, 40%);">+import sys</span><br><span> </span><br><span> </span><br><span> class grgsm_decoder(gr.top_block):</span><br><span>@@ -368,7 +369,7 @@</span><br><span>         parser.error("Invalid A5 version\n")</span><br><span> </span><br><span>     if options.cfile and (options.fc is None and options.arfcn is None):</span><br><span style="color: hsl(0, 100%, 40%);">-        print("You haven't provided a frequency or an ARFCN - working without automatic frequency offset correction.\n")</span><br><span style="color: hsl(120, 100%, 40%);">+        print("You haven't provided a frequency or an ARFCN - working without automatic frequency offset correction.\n", file=sys.stderr)</span><br><span> </span><br><span>     # handle frequency / arfcn input</span><br><span>     arfcn = None</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/gr-gsm/+/24072">change 24072</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/gr-gsm/+/24072"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: gr-gsm </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ib18be898cac74769cabf1b748e40e21d23f08e98 </div>
<div style="display:none"> Gerrit-Change-Number: 24072 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: ptrkrysik <ptrkrysik@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: ptrkrysik <ptrkrysik@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: vvvelichkov <vvvelichkov@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>