Date   

Re: error HB_Bridge.py

 

Is this current -- Successfully installed dmr-utils-0.1.24?


Re: error HB_Bridge.py

Fred
 

It looks like there is one of the jsons are corrupted.

Remove them, the script will make new ones. 

Op wo 10 apr. 2019 21:38 schreef Ted Freitas (KE6YJC) via Groups.Io <ted.freitas=me.com@groups.io>:

Hi Everyone, I've run into this error when trying to run HB_Bridge.py and I cant figure out what I'm doing wrong.

root@mw-brain01:/opt/hblink# ./HB_Bridge.py
load config file config.file
DEBUG 2019-04-10 12:35:44,241 Logging system started, anything from here on gets logged
Traceback (most recent call last):
  File "./HB_Bridge.py", line 225, in <module>
    peer_ids = mk_id_dict(CONFIG['ALIASES']['PATH'], CONFIG['ALIASES']['PEER_FILE'])
  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/utils.py", line 104, in mk_id_dict
    records = jload(_handle)['results']
  File "/usr/lib/python2.7/json/__init__.py", line 291, in load
    **kw)
  File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 367, in decode
    raise ValueError(errmsg("Extra data", s, end, len(s)))
ValueError: Extra data: line 1 column 7 - line 6008 column 1 (char 6 - 539168)

Any help would be appricated.
 


Re: error HB_Bridge.py

Corey Dean N3FE <n3fe@...>
 

Update hblink and get the latest dmr-utils using pip

On Wed, Apr 10, 2019 at 3:38 PM Ted Freitas (KE6YJC) via Groups.Io <ted.freitas=me.com@groups.io> wrote:
Hi Everyone, I've run into this error when trying to run HB_Bridge.py and I cant figure out what I'm doing wrong.

root@mw-brain01:/opt/hblink# ./HB_Bridge.py
load config file config.file
DEBUG 2019-04-10 12:35:44,241 Logging system started, anything from here on gets logged
Traceback (most recent call last):
  File "./HB_Bridge.py", line 225, in <module>
    peer_ids = mk_id_dict(CONFIG['ALIASES']['PATH'], CONFIG['ALIASES']['PEER_FILE'])
  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/utils.py", line 104, in mk_id_dict
    records = jload(_handle)['results']
  File "/usr/lib/python2.7/json/__init__.py", line 291, in load
    **kw)
  File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 367, in decode
    raise ValueError(errmsg("Extra data", s, end, len(s)))
ValueError: Extra data: line 1 column 7 - line 6008 column 1 (char 6 - 539168)

Any help would be appricated.
 


Re: error HB_Bridge.py

 

Ya I just updated to https://www.radioid.net site and it fixed it!


Re: error HB_Bridge.py

Steve KC1AWV
 

Ok, you're using old CSV data. dmr_utils was updated to parse JSON since RadioID.net dropped their CSV dumps and went to an API that spits out JSON data. Try changing your hblink.cfg file in the [ALIASES] section to look something like this:

[ALIASES]
TRY_DOWNLOAD: True
PATH: ./
PEER_FILE: peer_ids.json
SUBSCRIBER_FILE: subscriber_ids.json
TGID_FILE: talkgroup_ids.json
PEER_URL: https://www.radioid.net/api/dmr/repeater/?country=united%%20states
SUBSCRIBER_URL: https://www.radioid.net/api/dmr/user/?country=united%%20states
STALE_DAYS: 7

Back up your old hblink.cfg first, in case something breaks, of course.


Re: error HB_Bridge.py

 

the peers file was downloaded from https://ham-digital.org/status/rptrs.csv and is 6007 lines long, looks legit. I have tried to touch the file so there is nothing in it, but even that still throws an error.


Re: error HB_Bridge.py

Steve KC1AWV
 

Is your peer_ids.json file proper JSON data? It looks like dmr_utils is trying to process 6000+ lines of "extra data".


error HB_Bridge.py

 

Hi Everyone, I've run into this error when trying to run HB_Bridge.py and I cant figure out what I'm doing wrong.

root@mw-brain01:/opt/hblink# ./HB_Bridge.py
load config file config.file
DEBUG 2019-04-10 12:35:44,241 Logging system started, anything from here on gets logged
Traceback (most recent call last):
  File "./HB_Bridge.py", line 225, in <module>
    peer_ids = mk_id_dict(CONFIG['ALIASES']['PATH'], CONFIG['ALIASES']['PEER_FILE'])
  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/utils.py", line 104, in mk_id_dict
    records = jload(_handle)['results']
  File "/usr/lib/python2.7/json/__init__.py", line 291, in load
    **kw)
  File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 367, in decode
    raise ValueError(errmsg("Extra data", s, end, len(s)))
ValueError: Extra data: line 1 column 7 - line 6008 column 1 (char 6 - 539168)

Any help would be appricated.
 


Re: "Locked"

Mike KB8JNM
 

Blocked
Add some time to the DMR min tx time in ab conf
Or about 2.5 seconds

Mike / Sent While Mobile

On Apr 9, 2019, at 10:55 PM, ke2ems <ke2ems@...> wrote:

Using dvswitch asl to dmr. I often get a "locked" that comes over the air. I can not find out what causes this. Any insight?


Re: "Locked"

Steve N4IRS
 

That is caused by the BM loop detector. Change the timer in AB.ini from 2000 Ms to 2500 ms.

Steve N4IRS


From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of ke2ems <ke2ems@...>
Sent: Tuesday, April 9, 2019 10:55:08 PM
To: main@DVSwitch.groups.io
Subject: [DVSwitch] "Locked"
 
Using dvswitch asl to dmr. I often get a "locked" that comes over the air. I can not find out what causes this. Any insight?


"Locked"

ke2ems
 

Using dvswitch asl to dmr. I often get a "locked" that comes over the air. I can not find out what causes this. Any insight?


Re: How are you using DVSwitch?

Steve KC1AWV
 

It was confusing for me at first as well. The trick I learned was that where the configuration file says Local, that's the program you're configuring and the port on which you're expecting data. Where it says Rpt or Remote, that's the program to which you are sending data.

I will have further developments using the other components in the DVSwitch stack, hopefully with help guides written up like I have for the BM <-> XLX guide. Stay tuned!

On Tue, Apr 9, 2019 at 1:35 PM TG9AOR <qrz@...> wrote:
Hello Steve. Congratulations on achieveing this interlink. I will try it out. I tried unsuccessfully to do this, but with the document you provice it should work. Nice diagram you posted as well.

I use DVSwitch to pass audio to a BrandMeister DMR talk group, and also to a YSF Reflector (GT ASL 48455), I have not been successful in passing audio to DSTAR. Even when I set the latency_timer to a value of 1 on the NWDigital ThumbDV , the audio (both ASL and DSTAR) comes chopped up and very very lagged. Like when I unlink the I have tried this setup both on the node in the cloud and on a local node into the ircDDBGateway, with same results, apparently the network latency is not the issue.

So I wanted to pass the audio from ASL to DSTAR via DMR into XLX502, which has transcoding capability, but like I said at the beginning, the DMRGateway and the MMDVM_Bridge program did not talk to each other. One of the reasons I noticed by reading the document you provide is the ports, the Local= value on the DMRGateway (and all other G4KLX programs) has always been a mystery to me.

So thanks again and I will implement this as soon as I can.



73 de TG9AOR
--
José Roberto Ruíz García Salas
TG9AOR



--
Steve Miller
KC1AWV


Re: How are you using DVSwitch?

TG9AOR
 

Hello Steve. Congratulations on achieveing this interlink. I will try it out. I tried unsuccessfully to do this, but with the document you provice it should work. Nice diagram you posted as well.

I use DVSwitch to pass audio to a BrandMeister DMR talk group, and also to a YSF Reflector (GT ASL 48455), I have not been successful in passing audio to DSTAR. Even when I set the latency_timer to a value of 1 on the NWDigital ThumbDV , the audio (both ASL and DSTAR) comes chopped up and very very lagged. Like when I unlink the I have tried this setup both on the node in the cloud and on a local node into the ircDDBGateway, with same results, apparently the network latency is not the issue.

So I wanted to pass the audio from ASL to DSTAR via DMR into XLX502, which has transcoding capability, but like I said at the beginning, the DMRGateway and the MMDVM_Bridge program did not talk to each other. One of the reasons I noticed by reading the document you provide is the ports, the Local= value on the DMRGateway (and all other G4KLX programs) has always been a mystery to me.

So thanks again and I will implement this as soon as I can.



73 de TG9AOR
--
José Roberto Ruíz García Salas
TG9AOR


Re: YSF Narrow to P25 Bridge with strange issue

Jeff Scoville
 

Worked perfectly.  Getting good callsign on the Openspot and all P25 traffic going through the Openspot to the Wires-X radio.  Had conversations with several P25 reflector users during our net.  Audio was good, as well.

Many thanks for the "test" executable!

--Jeff AE5ME


Re: BM to XLX via MMDVM_Bridge - Doc version 2.0

K4VL
 

Thanks Steve


On Mon, Apr 8, 2019 at 11:14 AM Steve KC1AWV <smiller@...> wrote:
Does this create a bridge to DSTAR?
No. This document is to connect an XLX module to a Brandmeister Talkgroup. Brandmeister is a DMR network.

Should I build another Allstar node to add this to or could I do this on my current DMR bridge?
I don't know how your current bridge is configured. You're also discussing two different modes. D-Star and DMR are dissimilar modes, where D-Star is IMBE and DMR is AMBE. If the intention is to bridge a DMR network to D-Star, you will need to do some transcoding, which is out of scope for this document.

That being said, no you don't necessarily have to build another ASL node. You can run a second bridge for D-Star from the ASL node you currently have. A basic overview would be this:

D-Star <-> ASL <-> DMR

That setup will give you the following:

  • D-Star to Analog via ASL
  • D-Star to DMR using ASL to transcode
  • Analog to D-Star via ASL
  • Analog to DMR via ASL
  • DMR to Analog via ASL
  • DMR to D-Star using ASL to transcode
-- 
Steve Miller
KC1AWV


Re: How are you using DVSwitch?

Steve KC1AWV
 

Jeff,

This is how I have the ASL to BM to XLX laid out

ASL <-> Analog_Bridge <-> MMDVM_Bridge <-> Brandmeister <-> DMRGateway <-> MMDVM_Bridge <-> MMDVM_Bridge <-> DMRGateway <-> XLX (It's a long path, but they're both VMs on the same host)

I cheat a little bit to prevent linking with the same DMR ID. I set SSIDs on my DMR IDs on the ERDN network, to keep the links to Brandmeister separate. The only time that I use my real DMR ID is that last link in the chain going to XLX, since it cannot handle IDs over 7 digits. I share my repeater ID for the network as well when going to XLX.


Re: How are you using DVSwitch?

Jeff Lehman, N8ACL
 

Steve,

I like where you are going with this. I have often thought about doing the same kind of thread to get ideas for our/my systems. I will post my setups when I get home.

Question for you....I notice in your diagram you have your DMR linked to XLX740 and then also to x1999. Do you connect 1999 to your main ASL hub as well as the DMR asl hub? That is not giving you an issue being double linked? Just curious.

Thanks!
  Jeff

On Mon, Apr 8, 2019 at 1:47 PM Steve KC1AWV <smiller@...> wrote:
In this thread, I would like to know how you are using DVSwitch, and what your goals are. Why? Well, I'd like some info gathering to better my setup, create some discourse about DVSwitch, and maybe satisfy some of my own morbid curiosity. We've got 700+ users in this group, so I'm sure there's a few that would like to share!

If this thread is deemed inappropriate by the moderators, please delete it.

A brief description of your implementation is all that's needed. You can also include a diagram if you want!

I use DVSwitch to provide a mode-agnostic system for East Rock ARES here in New Hampshire. It's a public access system, so anyone is welcome to hop on and chat, but the main focus is for reliable communications regardless of the radio type used. Currently, DMR, D-Star, Yaesu Fusion, Echolink, and a reverse autopatch are available into the network. My further goals are to bridge in HF and set up a high-speed wireless network for hardening if the Internet goes out.

Just so you don't think you're sharing info with some random stranger on the Internet... Who am I? I'm Steve KC1AWV (not to be confused with the venerable Steve N4IRS). By day, I am the Senior Systems Administrator for a mortgage company in Boston, MA. I volunteer as an AEC for East Rockingham ARES in New Hampshire, and I've been licensed as an amateur radio operator since 2013. I've been keeping an eye on the DVSwitch group for a little while now, and I am coming up with some assistance where I can help. 



--
Jeff Lehman, KC8QCH
E-mail: kc8qch@...
Hamshack Hotline: 4218

Webmaster
Hamilton County ARPSC
http://www.hamcoarpsc.org
E-mail: hamcoarpsc@...
Phone: 513-452-6480

Multimode System Administrator
World Wide Amateur Radio Guild
https://hamradiohub.com/
E-Mail: kc8qch@...


How are you using DVSwitch?

Steve KC1AWV
 

In this thread, I would like to know how you are using DVSwitch, and what your goals are. Why? Well, I'd like some info gathering to better my setup, create some discourse about DVSwitch, and maybe satisfy some of my own morbid curiosity. We've got 700+ users in this group, so I'm sure there's a few that would like to share!

If this thread is deemed inappropriate by the moderators, please delete it.

A brief description of your implementation is all that's needed. You can also include a diagram if you want!

I use DVSwitch to provide a mode-agnostic system for East Rock ARES here in New Hampshire. It's a public access system, so anyone is welcome to hop on and chat, but the main focus is for reliable communications regardless of the radio type used. Currently, DMR, D-Star, Yaesu Fusion, Echolink, and a reverse autopatch are available into the network. My further goals are to bridge in HF and set up a high-speed wireless network for hardening if the Internet goes out.

Just so you don't think you're sharing info with some random stranger on the Internet... Who am I? I'm Steve KC1AWV (not to be confused with the venerable Steve N4IRS). By day, I am the Senior Systems Administrator for a mortgage company in Boston, MA. I volunteer as an AEC for East Rockingham ARES in New Hampshire, and I've been licensed as an amateur radio operator since 2013. I've been keeping an eye on the DVSwitch group for a little while now, and I am coming up with some assistance where I can help. 


Re: YSF Narrow to P25 Bridge with strange issue

Steve N4IRS
 

Jeff,
Try this for me as root:
cd to the directory containing MMDVM_Bridge
stop the MMDVM_Bridge service
mv MMDVM_Bridge MMDVM_Bridge.old
wget https://github.com/DVSwitch/MMDVM_Bridge/raw/master/bin/MMDVM_Bridge.amd64.test
mv MMDVM_Bridge.amd64.test MMDVM_Bridge
chmod +x MMDVM_Bridge
start the MMDVM_Bridge service
retest
Let us know the results.

Steve N4IRS


Re: YSF Narrow to P25 Bridge with strange issue

Jeff Scoville
 

Steve,

Result of running uname -a on the machine running MMDVM_Bridge was:

Linux ip-172-26-1-88 4.14.62-65.117.amzn1.x86_64 #1 SMP Fri Aug 10 20:03:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

--Jeff AE5ME

5481 - 5500 of 9203