Date   

Re: IPSC_Bridge & HB_Bridge etc. - ID Database

Cort N0MJS <n0mjs@...>
 

master branch code for dmrlink.py hasn’t been changed for 9 months. IPSC_Bridge hasn’t been changed for a year and both read the same. I might suggest that was a local change you have there, and not a repo issue. The magic of version control!

(starting line 106):

def build_aliases(_config, _logger):
    if _config['ALIASES']['TRY_DOWNLOAD'] == True:
        # Try updating peer aliases file
        result = try_download(_config['ALIASES']['PATH'], _config['ALIASES']['PEER_FILE'], _config['ALIASES']['PEER_URL'], _config['ALIASES']['STALE_TIME'])
        _logger.info(result)
        # Try updating subscriber aliases file
        result = try_download(_config['ALIASES']['PATH'], _config['ALIASES']['SUBSCRIBER_FILE'], _config['ALIASES']['SUBSCRIBER_URL'], _config['ALIASES']['STALE_TIME'])
        _logger.info(result)


On Jun 1, 2018, at 3:28 PM, Jon K1IMD <jon@...> wrote:

…snip

From dmrlink.py calling from dmrlink.cfg
# ID ALIAS CREATION
# Download
def build_aliases(_config, _logger):
#   if _config['ALIASES']['TRY_DOWNLOAD'] == True: # Disabled becuase DMR-MARC Servers NG
    if _config['ALIASES']['TRY_DOWNLOAD'] == False:

73
Jon
K1IMD

Cort Buffington
785-865-7206


Re: IPSC_Bridge & HB_Bridge etc. - ID Database

Jon K1IMD <jon@...>
 

Hi Steve,

Sure the Aliases look up of course won't work...  I believe one of my newer installations has a different configuration do to the file format change to JSON.  I will have to look later but in any event it would not work as it was before the servers move.

From hblink.cfg
[ALIASES]
TRY_DOWNLOAD: True
PATH: ./
PEER_FILE: peer_ids.csv
SUBSCRIBER_FILE: subscriber_ids.csv
TGID_FILE: talkgroup_ids.csv
PEER_URL: http://www.dmr-marc.net/cgi-bin/trbo-database/datadump.cgi?table=repeaters&format=csv&header=0
SUBSCRIBER_URL: http://www.dmr-marc.net/cgi-bin/trbo-database/datadump.cgi?table=users&format=csv&header=0
STALE_DAYS: 7

From dmrlink.cfg
[ALIASES]
TRY_DOWNLOAD: True
LOCAL_FILE: False
PATH: ./
PEER_FILE: peer_ids.csv
SUBSCRIBER_FILE: subscriber_ids.csv
TGID_FILE: talkgroup_ids.csv
PEER_URL: http://www.dmr-marc.net/cgi-bin/trbo-database/datadump.cgi?table=repeaters&format=csv&header=0
SUBSCRIBER_URL: http://www.dmr-marc.net/cgi-bin/trbo-database/datadump.cgi?table=users&format=csv&header=0
STALE_DAYS: 7

From dmrlink.py calling from dmrlink.cfg
# ID ALIAS CREATION
# Download
def build_aliases(_config, _logger):
#   if _config['ALIASES']['TRY_DOWNLOAD'] == True: # Disabled becuase DMR-MARC Servers NG
    if _config['ALIASES']['TRY_DOWNLOAD'] == False:

73
Jon
K1IMD



On 6/1/2018 3:30 PM, Steve N4IRS wrote:
Jon,
Which data file are you trying to fix?

On 6/1/2018 3:20 PM, Jon K1IMD wrote:
Although I know it is not really necessary to make these tools work, but has there be any resolution to the ID look up since move away from the DMR-MARC Database Services?

If so, where can I find the fix for the .conf files?

73
Jon
K1IMD



Re: IPSC_Bridge & HB_Bridge etc. - ID Database

Peter M0NWI
 

I'm downloading a CSV file radioid.net it's basically a direct replacement for the fike from dmr-marc.

Regards
Peter

Sent from Outlook
From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of Steve N4IRS <szingman@...>
Sent: 01 June 2018 20:30:50
To: main@DVSwitch.groups.io
Subject: Re: [DVSwitch] IPSC_Bridge & HB_Bridge etc. - ID Database
 
Jon,
Which data file are you trying to fix?

On 6/1/2018 3:20 PM, Jon K1IMD wrote:
Although I know it is not really necessary to make these tools work, but has there be any resolution to the ID look up since move away from the DMR-MARC Database Services?

If so, where can I find the fix for the .conf files?

73
Jon
K1IMD


Re: IPSC_Bridge & HB_Bridge etc. - ID Database

Steve N4IRS
 

Jon,
Which data file are you trying to fix?

On 6/1/2018 3:20 PM, Jon K1IMD wrote:
Although I know it is not really necessary to make these tools work, but has there be any resolution to the ID look up since move away from the DMR-MARC Database Services?

If so, where can I find the fix for the .conf files?

73
Jon
K1IMD


IPSC_Bridge & HB_Bridge etc. - ID Database

Jon K1IMD <jon@...>
 

Although I know it is not really necessary to make these tools work, but has there be any resolution to the ID look up since move away from the DMR-MARC Database Services?

If so, where can I find the fix for the .conf files?

73
Jon
K1IMD


Re: I have missed some major step on install

WillieB <will@...>
 

Chris, I installed on a fresh install of Debian 9.4, no issues at all following Russell’s guide. If all else fails…

 

 

From: main@DVSwitch.groups.io [mailto:main@DVSwitch.groups.io] On Behalf Of Steve N4IRS
Sent: Friday, June 1, 2018 2:00 PM
To: main@DVSwitch.groups.io
Subject: Re: [DVSwitch] I have missed some major step on install

 

Well,
As far as the duplicate, not really. Because the ASL install was from the the ASL ISO, the repo was already installed. The install script does not look in the proper place. I need to fix that.
As far as the format errors, I fixed the install so that does not happen. I do recommend you ssh in so that you can copy and paste. Practice practice, practice...

On 6/1/2018 1:53 PM, Chris via Groups.Io wrote:

Thank you!
I'm sorry to be so darn ignorant on this subject.
I'm studying linux hard, but have so much more to learn on basic in's and out's.

Did I do something terribly wrong?

I want to be able to help a few other guys here in our area and want to be able to duplicate this.

Chris

 


Re: I have missed some major step on install

Steve N4IRS
 

Well,
As far as the duplicate, not really. Because the ASL install was from the the ASL ISO, the repo was already installed. The install script does not look in the proper place. I need to fix that.
As far as the format errors, I fixed the install so that does not happen. I do recommend you ssh in so that you can copy and paste. Practice practice, practice...

On 6/1/2018 1:53 PM, Chris via Groups.Io wrote:
Thank you!
I'm sorry to be so darn ignorant on this subject.
I'm studying linux hard, but have so much more to learn on basic in's and out's.

Did I do something terribly wrong?

I want to be able to help a few other guys here in our area and want to be able to duplicate this.

Chris


Re: I have missed some major step on install

Chris WB4ULK
 

Thank you!
I'm sorry to be so darn ignorant on this subject.
I'm studying linux hard, but have so much more to learn on basic in's and out's.

Did I do something terribly wrong?

I want to be able to help a few other guys here in our area and want to be able to duplicate this.

Chris


Re: I have missed some major step on install

Steve N4IRS
 

OK, your "configured multiple times" is fixed
md380-emu is installed and functional.

Steve

On 6/1/2018 1:43 PM, Chris via Groups.Io wrote:
Ok, just sent it.
Sorry, I didn't know the rest of your email address


Re: I have missed some major step on install

Chris WB4ULK
 

Ok, just sent it.
Sorry, I didn't know the rest of your email address


Re: I have missed some major step on install

Chris WB4ULK
 

Here are the contents


Re: I have missed some major step on install

Steve N4IRS
 

OK, this is getting nuts, can you grant me ssh access. e-mail direct to szingman@...

Steve

On 6/1/2018 1:29 PM, Chris via Groups.Io wrote:
For some reason the attachment isn't showing up

dvswitch.list is in that dir


Re: I have missed some major step on install

Chris WB4ULK
 

For some reason the attachment isn't showing up

dvswitch.list is in that dir


Re: I have missed some major step on install

Chris WB4ULK
 

here it is


Re: I have missed some major step on install

Steve N4IRS
 

cd /etc/apt/sources.list.d
show

On 6/1/2018 1:21 PM, Chris via Groups.Io wrote:
Ok. getting the "configured multiple times" string.


Re: I have missed some major step on install

Chris WB4ULK
 

Ok. getting the "configured multiple times" string.


Re: I have missed some major step on install

Steve N4IRS
 

apt-get update

On 6/1/2018 1:19 PM, Chris via Groups.Io wrote:
Here it is after install


Re: I have missed some major step on install

Chris WB4ULK
 

Here it is after install


Re: I have missed some major step on install

Steve N4IRS
 

apt-get purge md380-emu
apt-get install md380-emu

On 6/1/2018 1:13 PM, Chris via Groups.Io wrote:
Looks like it didn't get it.


Re: I have missed some major step on install

Chris WB4ULK
 

Looks like it didn't get it.

8641 - 8660 of 10078