Where is the /
/opt/dmrlinksubscriber_idsxxx.csv ->>> /opt/dmrlink/subscriber_idsxxx.csv
On Fri, Dec 4, 2015 at 9:28 PM, Michael Hebert <mhebert1975@gmail.com> wrote:
Making progress! I need to copy if from /opt/drmlink
root@repeater:/opt/dmrlink/playback# python2 playback.pyTraceback (most recent call last):File "playback.py", line 16, in <module>from dmrlink import IPSC, NETWORK, networks, logger, dmr_nat, int_id, hex_str_3File "/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@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@repeater:/opt/dmrlink/playback# python2 playback.pyTraceback (most recent call last):File "playback.py", line 16, in <module>from dmrlink import IPSC, NETWORK, networks, logger, dmr_nat, int_id, hex_str_3File "/opt/dmrlink/playback/dmrlink.py", line 256, in <module>'propagate': True,File "/usr/lib/python2.7/logging/config.py", line 794, in dictConfigdictConfigClass(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@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.logLOG_HANDLERS: fileLOG_LEVEL: warningLOG_NAME: DMRlink
On Fri, Dec 4, 2015 at 8:08 PM, Steve Zingman <szingman@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@repeater:/opt/dmrlink/playback# python2 playback.pyTraceback (most recent call last):File "playback.py", line 16, in <module>from dmrlink import IPSC, NETWORK, networks, logger, dmr_nat, int_id, hex_str_3File "/opt/dmrlink/playback/dmrlink.py", line 256, in <module>'propagate': True,File "/usr/lib/python2.7/logging/config.py", line 794, in dictConfigdictConfigClass(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.pyTraceback (most recent call last):File "playback.py", line 16, in <module>from dmrlink import IPSC, NETWORK, networks, logger, dmr_nat, int_id, hex_str_3File "/opt/dmrlink/playback/dmrlink.py", line 256, in <module>'propagate': True,File "/usr/lib/python2.7/logging/config.py", line 794, in dictConfigdictConfigClass(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@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@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________ Allstar-Digital mailing list Allstar-Digital@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@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________ Allstar-Digital mailing list Allstar-Digital@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@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________ Allstar-Digital mailing list Allstar-Digital@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@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________
Allstar-Digital mailing list
Allstar-Digital@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital
_______________________________________________ Allstar-Digital mailing list Allstar-Digital@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