When I try to run playback.py I get the following error.
root@repeater:/opt/dmrlink/playback# python2 playback.py
Traceback (most recent call last):
File "playback.py", line 16, in <module>
from dmrlink import IPSC, NETWORK, networks, logger, dmr_nat, int_id, hex_str_3
File "/opt/dmrlink/playback/dmrlink.py", line 256, in <module>
'propagate': True,
File "/usr/lib/python2.7/logging/config.py", line 794, in dictConfig
dictConfigClass(config).configure()
File "/usr/lib/python2.7/logging/config.py", line 576, in configure
'%r: %s' % (name, e))
ValueError: Unable to configure handler 'file': [Errno 2] No such file or directory: '/var/log/dmrlink/dmrlink.log'
I created /var/log/dmrlink/dmrlink.log and it fixed the ValueError
Now when I run playback.py I get the following error
root@repeater:/opt/dmrlink/playback# python2 playback.py
Traceback (most recent call last):
File "playback.py", line 16, in <module>
from dmrlink import IPSC, NETWORK, networks, logger, dmr_nat, int_id, hex_str_3
File "/opt/dmrlink/playback/dmrlink.py", line 256, in <module>
'propagate': True,
File "/usr/lib/python2.7/logging/config.py", line 794, in dictConfig
dictConfigClass(config).configure()
File "/usr/lib/python2.7/logging/config.py", line 627, in configure
'%r: %s' % (name, e))
ValueError: Unable to configure logger 'DMRlink\nblank if you do not need or wish to specify. It is mostly\nuseful when DMRlink uses multiple interfaces to serve as an\napplication gatway/proxy from private and/or VPN networks\nto the real world.': Unknown level: 'warning'
Not sure how to fix this.
Michael KD5DFB