[Allstar Digital] DMRlink Install

Steve Zingman szingman at msgstor.com
Fri Dec 4 21:45:30 EST 2015


Do you have a repeater connected?


On 12/04/2015 09:43 PM, Michael Hebert wrote:
> I think it is running! I just typed python2 playback.py and no errors
>
> Anyway to check?
>
> On Fri, Dec 4, 2015 at 8:39 PM, Steve Zingman <szingman at msgstor.com 
> <mailto:szingman at msgstor.com>> wrote:
>
>     I screwed up in the config file that is copied to every app directory.
>     path needs a trailing /
>
>     On 12/04/2015 09:36 PM, Michael Hebert wrote:
>>     Do you guys think there is a problem with my install or are we
>>     finding bugs in dmrlink??
>>
>>     On Fri, Dec 4, 2015 at 8:34 PM, Steve Zingman
>>     <szingman at msgstor.com <mailto:szingman at msgstor.com>> wrote:
>>
>>         good question
>>
>>         On 12/04/2015 09:32 PM, Mike Zingman wrote:
>>>         Where is the /
>>>
>>>         /opt/dmrlinksubscriber_idsxxx.csv ->>>
>>>         /opt/dmrlink/subscriber_idsxxx.csv
>>>
>>>         On Fri, Dec 4, 2015 at 9:28 PM, Michael Hebert
>>>         <mhebert1975 at gmail.com <mailto:mhebert1975 at gmail.com>> wrote:
>>>
>>>             Making progress! I need to copy if from /opt/drmlink
>>>
>>>             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 297, in
>>>             <module>
>>>                 with open(PATH+'subscriber_idsxxx.csv', 'rU') as
>>>             subscriber_ids_csv:
>>>             IOError: [Errno 2] No such file or directory:
>>>             '/opt/dmrlinksubscriber_idsxxx.csv'
>>>
>>>
>>>             On Fri, Dec 4, 2015 at 8:26 PM, Steve Zingman
>>>             <szingman at msgstor.com <mailto:szingman at msgstor.com>> wrote:
>>>
>>>                 change LOG_LEVEL: warning to LOG_LEVEL: WARNING
>>>
>>>                 log_level is in caps
>>>
>>>                 On 12/04/2015 09:23 PM, Michael Hebert wrote:
>>>>                 changed the logname and still got the same error,
>>>>                 just lowercase
>>>>
>>>>                 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'
>>>>
>>>>
>>>>                 On Fri, Dec 4, 2015 at 8:17 PM, Steve Zingman
>>>>                 <szingman at msgstor.com
>>>>                 <mailto:szingman at msgstor.com>> wrote:
>>>>
>>>>                     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
>>>>>                     <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
>>>>                 <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
>>>             <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
>>     <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/a963b076/attachment.html>


More information about the Allstar-Digital mailing list