Re: confbridge ACL Error


Cort N0MJS <n0mjs@...>
 

I am at work, in meetings. I will look at this soon, but I have a day job. Pretty sure I can get to the bottom of it with a few minutes of work.

in the meantime – which branch of hblink are you using? Are you cloning it? downloading a zip file? using the installer or running out of the clone/download directory?

On Aug 23, 2018, at 2:25 PM, Kim-Benjamin Lütkemeier via Groups.Io <kbluetkemeier=yahoo.de@groups.io> wrote:

OK Cort I will try it.

But u Have any Idea for my Problem with the parrot.py?

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 86, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext
return func(*args,**kw)
File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 597, in _doReadOrWrite
why = selectable.doRead()
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 249, in doRead
self.protocol.datagramReceived(data, addr)
File "/home/Kim/hblink/hblink.py", line 336, in master_datagramReceived
if allow_reg(_radio_id): # Future check here for valid Radio ID
exceptions.NameError: global name 'allow_reg' is not defined




Am 23.08.2018 um 21:14 schrieb Cort N0MJS via Groups.Io:
Change pushed to the master branch – hb_confbridge.py will now start if no ACL is defined.

On Aug 23, 2018, at 2:00 PM, Kim-Benjamin Lütkemeier via Groups.Io <kbluetkemeier=yahoo.de@groups.io> wrote:

Hello Cort,

thank u for the fast answer!
Now the confbridge is working but I saw an other problem on my parrot.py

INFO 2018-08-23 20:58:29,982 ID ALIAS MAPPER: 'peer_ids.csv' is current, not downloaded
INFO 2018-08-23 20:58:29,983 ID ALIAS MAPPER: 'subscriber_ids.csv' is current, not downloaded
INFO 2018-08-23 20:58:30,005 ID ALIAS MAPPER: peer_ids dictionary is available
INFO 2018-08-23 20:58:30,387 ID ALIAS MAPPER: subscriber_ids dictionary is available
INFO 2018-08-23 20:58:30,388 HBlink TCP reporting server configured
DEBUG 2018-08-23 20:58:30,389 Periodic reporting loop started
INFO 2018-08-23 20:58:30,389 HBlink 'hb_parrot.py' (c) 2016 N0MJS & the K0USY Group - SYSTEM STARTING...
DEBUG 2018-08-23 20:58:30,390 (ParrotMaster) Master maintenance loop started
DEBUG 2018-08-23 20:58:30,391 MASTER instance created: ParrotMaster, <__main__.parrot instance at 0x7fe0c018fdd0>
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 86, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext
return func(*args,**kw)
File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 597, in _doReadOrWrite
why = selectable.doRead()
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 249, in doRead
self.protocol.datagramReceived(data, addr)
File "/home/Kim/hblink/hblink.py", line 336, in master_datagramReceived
if allow_reg(_radio_id): # Future check here for valid Radio ID
exceptions.NameError: global name 'allow_reg' is not defined

DEBUG 2018-08-23 20:58:35,393 (ParrotMaster) Master maintenance loop started


i install the aktual DMR_utils but is the same probleme?

Thank u
Kim

Am 23.08.2018 um 20:45 schrieb Cort N0MJS via Groups.Io:
ACL = ‘DENY:1’


Cort Buffington
785-865-7206




Cort Buffington
785-865-7206

Join main@DVSwitch.groups.io to automatically receive all group messages.