[Allstar Digital] DMRlink Install

Steve Zingman szingman at msgstor.com
Fri Dec 4 21:17:56 EST 2015


Just for the heck of it, change LOG_NAME: DMRlink to LOG_NAME: dmrlink

On 12/04/2015 09:16 PM, Michael Hebert wrote:
> Here is what is in the dmrlink.cfg
>
> [LOGGER]
> LOG_FILE: /var/log/dmrlink/dmrlink.log
> LOG_HANDLERS: file
> LOG_LEVEL: warning
> LOG_NAME: DMRlink
>
> On Fri, Dec 4, 2015 at 8:08 PM, Steve Zingman <szingman at msgstor.com 
> <mailto:szingman at msgstor.com>> wrote:
>
>     Do you have DMRlink in your config file? Notice the uppercase.
>
>     On 12/04/2015 09:04 PM, Michael Hebert wrote:
>>     Steve,
>>
>>     When I try to run playback.py I get the following error.
>>
>>     root at 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 at 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
>>
>>
>>
>>
>>     On Fri, Dec 4, 2015 at 5:32 AM, Steve Zingman
>>     <szingman at msgstor.com <mailto:szingman at msgstor.com>> wrote:
>>
>>         Added python-twisted and unzip to mk_dmrlink
>>
>>         On 12/04/2015 03:27 AM, Michael Hebert wrote:
>>>         apt-get install python-twisted
>>
>>         -- 
>>         "Anything is possible if you don't know what you are talking about."
>>         1st Law of Logic
>>
>>
>>         _______________________________________________
>>         Allstar-Digital mailing list
>>         Allstar-Digital at lists.keekles.org
>>         <mailto:Allstar-Digital at lists.keekles.org>
>>         http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>>
>>
>>
>>
>>     _______________________________________________
>>     Allstar-Digital mailing list
>>     Allstar-Digital at lists.keekles.org
>>     <mailto:Allstar-Digital at lists.keekles.org>
>>     http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>
>     -- 
>     "Anything is possible if you don't know what you are talking about."
>     1st Law of Logic
>
>
>     _______________________________________________
>     Allstar-Digital mailing list
>     Allstar-Digital at lists.keekles.org
>     <mailto:Allstar-Digital at lists.keekles.org>
>     http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
>
>
>
>
> _______________________________________________
> Allstar-Digital mailing list
> Allstar-Digital at lists.keekles.org
> http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital

-- 
"Anything is possible if you don't know what you are talking about."
1st Law of Logic

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.allstarlink.org/pipermail/allstar-digital/attachments/20151204/7f16d5a9/attachment.html>


More information about the Allstar-Digital mailing list