confbridge ACL Error


Kim-Benjamin Lütkemeier
 

Hey  I Updated my Old HBlink and I'm receiving an error when starting Confbridge.py:

hb_confbridge.py -c bridge.cfg
DEBUG 2018-08-23 19:27:35,248 Logging system started, anything from here on gets logged
INFO 2018-08-23 19:27:35,249 ID ALIAS MAPPER: 'peer_ids.csv' is current, not downloaded
INFO 2018-08-23 19:27:35,249 ID ALIAS MAPPER: 'subscriber_ids.csv' is current, not downloaded
INFO 2018-08-23 19:27:35,272 ID ALIAS MAPPER: peer_ids dictionary is available
INFO 2018-08-23 19:27:35,601 ID ALIAS MAPPER: subscriber_ids dictionary is available
INFO 2018-08-23 19:27:35,603 Routing bridges file found and bridges imported
INFO 2018-08-23 19:27:35,603 ACL file found, importing entries. This will take about 1.5 seconds per 1 million IDs
INFO 2018-08-23 19:27:35,604 ACL file not found or invalid - all subscriber IDs are valid
Traceback (most recent call last):
  File "hb_confbridge.py", line 516, in <module>
    ACL = build_acl('sub_acl')
  File "hb_confbridge.py", line 146, in build_acl
    return ACL
UnboundLocalError: local variable 'ACL' referenced before assignment

Any Ideas?,

Do1KBL, Kim


Kim-Benjamin Lütkemeier
 

When I Change
This line (516) :  ACL = build_acl('sub_acl')
into: ACL = True

than the confbridge start but when I sent with my Radio I get this:

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 486, in client_datagramReceived
    self.dmrd_received(_radio_id, _rf_src, _dst_id, _seq, _slot, _call_type, _frame_type, _dtype_vseq, _stream_id, _data)
  File "hb_confbridge.py", line 245, in dmrd_received
    if allow_sub(_rf_src) == False:
exceptions.NameError: global name 'allow_sub' is not defined


Am 23.08.2018 um 19:39 schrieb kbluetkemeier via Groups.Io:

Hey  I Updated my Old HBlink and I'm receiving an error when starting Confbridge.py:

hb_confbridge.py -c bridge.cfg
DEBUG 2018-08-23 19:27:35,248 Logging system started, anything from here on gets logged
INFO 2018-08-23 19:27:35,249 ID ALIAS MAPPER: 'peer_ids.csv' is current, not downloaded
INFO 2018-08-23 19:27:35,249 ID ALIAS MAPPER: 'subscriber_ids.csv' is current, not downloaded
INFO 2018-08-23 19:27:35,272 ID ALIAS MAPPER: peer_ids dictionary is available
INFO 2018-08-23 19:27:35,601 ID ALIAS MAPPER: subscriber_ids dictionary is available
INFO 2018-08-23 19:27:35,603 Routing bridges file found and bridges imported
INFO 2018-08-23 19:27:35,603 ACL file found, importing entries. This will take about 1.5 seconds per 1 million IDs
INFO 2018-08-23 19:27:35,604 ACL file not found or invalid - all subscriber IDs are valid
Traceback (most recent call last):
  File "hb_confbridge.py", line 516, in <module>
    ACL = build_acl('sub_acl')
  File "hb_confbridge.py", line 146, in build_acl
    return ACL
UnboundLocalError: local variable 'ACL' referenced before assignment

Any Ideas?,

Do1KBL, Kim



Cort N0MJS <n0mjs@...>
 

You need to actually define the ACL for now… I can fix it to bypass a non-existent ACL, but not right now (day job and all).

In the repo directory is a file called sub_acl_SAMPLE.py. Copy that to sub_acl.py and modify it to your liking. something as simple as:

ACL = ‘DENY:1’

Will make it deny bridging for radio ID 1…. something we can probably all get behind, and then it will load properly. I’ll make it ignore no ACL file ASAP. Please don’t modify the source code. Then when you upgrade the problem comes back, or if you forget and want to use the access control list later, you might not remember you went off of the repo and change the source.

0x49 DE N0MJS

On Aug 23, 2018, at 1:13 PM, Kim-Benjamin Lütkemeier via Groups.Io <kbluetkemeier@...> wrote:

When I Change
This line (516) :  ACL = build_acl('sub_acl')
into: ACL = True

than the confbridge start but when I sent with my Radio I get this:

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 486, in client_datagramReceived
    self.dmrd_received(_radio_id, _rf_src, _dst_id, _seq, _slot, _call_type, _frame_type, _dtype_vseq, _stream_id, _data)
  File "hb_confbridge.py", line 245, in dmrd_received
    if allow_sub(_rf_src) == False:
exceptions.NameError: global name 'allow_sub' is not defined


Am 23.08.2018 um 19:39 schrieb kbluetkemeier via Groups.Io:
Hey  I Updated my Old HBlink and I'm receiving an error when starting Confbridge.py:

hb_confbridge.py -c bridge.cfg
DEBUG 2018-08-23 19:27:35,248 Logging system started, anything from here on gets logged
INFO 2018-08-23 19:27:35,249 ID ALIAS MAPPER: 'peer_ids.csv' is current, not downloaded
INFO 2018-08-23 19:27:35,249 ID ALIAS MAPPER: 'subscriber_ids.csv' is current, not downloaded
INFO 2018-08-23 19:27:35,272 ID ALIAS MAPPER: peer_ids dictionary is available
INFO 2018-08-23 19:27:35,601 ID ALIAS MAPPER: subscriber_ids dictionary is available
INFO 2018-08-23 19:27:35,603 Routing bridges file found and bridges imported
INFO 2018-08-23 19:27:35,603 ACL file found, importing entries. This will take about 1.5 seconds per 1 million IDs
INFO 2018-08-23 19:27:35,604 ACL file not found or invalid - all subscriber IDs are valid
Traceback (most recent call last):
  File "hb_confbridge.py", line 516, in <module>
    ACL = build_acl('sub_acl')
  File "hb_confbridge.py", line 146, in build_acl
    return ACL
UnboundLocalError: local variable 'ACL' referenced before assignment

Any Ideas?,

Do1KBL, Kim



Cort Buffington
785-865-7206


Kim-Benjamin Lütkemeier
 

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 N0MJS <n0mjs@...>
 

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


Kim-Benjamin Lütkemeier
 

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 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


Kim-Benjamin Lütkemeier
 

I downloaded today as zip from GitHub



Von meinem iPhone gesendet

Am 23.08.2018 um 22:00 schrieb Cort N0MJS via Groups.Io <n0mjs=me.com@groups.io>:

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




Cort N0MJS <n0mjs@...>
 

You answered one of 3 questions.

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

I downloaded today as zip from GitHub



Von meinem iPhone gesendet

Am 23.08.2018 um 22:00 schrieb Cort N0MJS via Groups.Io <n0mjs=me.com@groups.io>:

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





Cort Buffington
785-865-7206


Kim-Benjamin Lütkemeier
 

which branch of hblink are you using? 
I downloaded it from 

Are you cloning it? downloading a zip file? 

I download it as zip 

using the installer or running out of the clone/download directory?
Unzip und start on Debian Linux 

Von meinem iPhone gesendet

Am 23.08.2018 um 22:23 schrieb Cort N0MJS via Groups.Io <n0mjs@...>:

You answered one of 3 questions.

On Aug 23, 2018, at 3:04 PM, Kim-Benjamin Lütkemeier via Groups.Io <kbluetkemeier@...> wrote:

I downloaded today as zip from GitHub



Von meinem iPhone gesendet

Am 23.08.2018 um 22:00 schrieb Cort N0MJS via Groups.Io <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@...> 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@...> 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









Cort Buffington
785-865-7206





Cort N0MJS <n0mjs@...>
 

This is not related to dmr_utils.

Is it happening when you start the program, or when you try to use the parrot?

On Aug 23, 2018, at 3:29 PM, Kim-Benjamin Lütkemeier via Groups.Io <kbluetkemeier@...> wrote:

which branch of hblink are you using? 
I downloaded it from 

Are you cloning it? downloading a zip file? 

I download it as zip 

using the installer or running out of the clone/download directory?
Unzip und start on Debian Linux 

Von meinem iPhone gesendet

Am 23.08.2018 um 22:23 schrieb Cort N0MJS via Groups.Io <n0mjs@...>:

You answered one of 3 questions.

On Aug 23, 2018, at 3:04 PM, Kim-Benjamin Lütkemeier via Groups.Io <kbluetkemeier@...> wrote:

I downloaded today as zip from GitHub



Von meinem iPhone gesendet

Am 23.08.2018 um 22:00 schrieb Cort N0MJS via Groups.Io <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@...> 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@...> 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









Cort Buffington
785-865-7206





--
Cort Buffington
H: +1-785-813-1501
M: +1-785-865-7206






Kim-Benjamin Lütkemeier
 

I can start the parrot.py -c parrot.cfg
He start without problem but when the client try to connect I have the errors 

Von meinem iPhone gesendet

Am 24.08.2018 um 02:08 schrieb Cort N0MJS via Groups.Io <n0mjs@...>:

This is not related to dmr_utils.

Is it happening when you start the program, or when you try to use the parrot?

On Aug 23, 2018, at 3:29 PM, Kim-Benjamin Lütkemeier via Groups.Io <kbluetkemeier@...> wrote:

which branch of hblink are you using? 
I downloaded it from 

Are you cloning it? downloading a zip file? 

I download it as zip 

using the installer or running out of the clone/download directory?
Unzip und start on Debian Linux 

Von meinem iPhone gesendet

Am 23.08.2018 um 22:23 schrieb Cort N0MJS via Groups.Io <n0mjs@...>:

You answered one of 3 questions.

On Aug 23, 2018, at 3:04 PM, Kim-Benjamin Lütkemeier via Groups.Io <kbluetkemeier@...> wrote:

I downloaded today as zip from GitHub



Von meinem iPhone gesendet

Am 23.08.2018 um 22:00 schrieb Cort N0MJS via Groups.Io <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@...> 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@...> 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









Cort Buffington
785-865-7206





--
Cort Buffington
H: +1-785-813-1501
M: +1-785-865-7206






Cort N0MJS <n0mjs@...>
 

Just pushed changes to the repo – I don’t have a system to connect to it right now, but I think that’ll solve it.

On Aug 23, 2018, at 7:14 PM, Kim-Benjamin Lütkemeier via Groups.Io <kbluetkemeier@...> wrote:

I can start the parrot.py -c parrot.cfg
He start without problem but when the client try to connect I have the errors 

Von meinem iPhone gesendet

Am 24.08.2018 um 02:08 schrieb Cort N0MJS via Groups.Io <n0mjs@...>:

This is not related to dmr_utils.

Is it happening when you start the program, or when you try to use the parrot?

On Aug 23, 2018, at 3:29 PM, Kim-Benjamin Lütkemeier via Groups.Io <kbluetkemeier@...> wrote:

which branch of hblink are you using? 
I downloaded it from 

Are you cloning it? downloading a zip file? 

I download it as zip 

using the installer or running out of the clone/download directory?
Unzip und start on Debian Linux 

Von meinem iPhone gesendet

Am 23.08.2018 um 22:23 schrieb Cort N0MJS via Groups.Io <n0mjs@...>:

You answered one of 3 questions.

On Aug 23, 2018, at 3:04 PM, Kim-Benjamin Lütkemeier via Groups.Io <kbluetkemeier@...> wrote:

I downloaded today as zip from GitHub



Von meinem iPhone gesendet

Am 23.08.2018 um 22:00 schrieb Cort N0MJS via Groups.Io <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@...> 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@...> 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









Cort Buffington
785-865-7206





--
Cort Buffington
H: +1-785-813-1501
M: +1-785-865-7206






--
Cort Buffington
H: +1-785-813-1501
M: +1-785-865-7206






Kim-Benjamin Lütkemeier
 

Thank you for your Energy to try to fix the problem.

but und confbridge.py looks all ok
DEBUG 2018-08-24 02:37:17,146 (Parrot) Client maintenance loop started
INFO 2018-08-24 02:37:17,147 (Parrot) Sending login request to master 127.0.0.1:54004

but und the Parrot its still the same problem.
I start it with: python hb_parrot.py -c parrot.cfg

when the confbridge.py "client" try to connect I get this error all the time
after:
"DEBUG 2018-08-24 02:40:29,387 (ParrotMaster) Master maintenance loop started"
the programm run in the loop but with this messages after
DEBUG 2018-08-24 02:33:39,101 (ParrotMaster) Master maintenance loop started
DEBUG 2018-08-24 02:33:39,101 MASTER instance created: ParrotMaster, <__main__.parrot instance at 0x7f07416b1dd0>
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 330, in master_datagramReceived
    if allow_reg(_radio_id):           # Future check here for valid Radio ID
exceptions.NameError: global name 'allow_reg' is not defined

Its looks like something is not ok with Twisted ?


Kim-Benjamin Lütkemeier
 

ok I was to fast, now it looks good and works

thank you