Re: confbridge ACL Error


DO1KBL, Kim
 

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 ?

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