Date   

Re: DMRlink <-> HBlink communication

Vance, W6SS
 

I am running HB_Bridge and IPSC_Bridge and have upgraded the dmr_utils.  I have one TG routed both ways in hb_routing_rules.py and hb_routing_rules.py.   HB_Bridge.cfg the TG has been added.

I can hear the traffic coming from the C-Bridge on the OpenSpot connected to the HB Master.  When I transmit back from the OpenSpot I get the error messages that NZ6D gets.

Any ideas?
--
Vance W6SS


Re: DMRlink <-> HBlink communication

Corey Dean N3FE <n3fe@...>
 

screen is a program that you can run up front and then disconnect from it as needed and still keep the software running. It is the same way you can autostart mmdvm. This is totally different from actual display screens.

Sent from my iPhone

On Jul 12, 2017, at 8:43 PM, Bob kc2cwt <kc2cwt@...> wrote:

I run Kubuntu and have 4 screens

Thanks



On 07/12/2017 08:39 PM, Steve N4IRS wrote:
program called "screen
--
Bob KC2CWT
Carmel NewYork USA
(914)497-5502




Re: DMRlink <-> HBlink communication

Steve N4IRS
 

The program screen runs on the server.

On 07/12/2017 08:43 PM, Bob kc2cwt wrote:
I run Kubuntu and have 4 screens

Thanks



On 07/12/2017 08:39 PM, Steve N4IRS wrote:
program called "screen


Re: DMRlink <-> HBlink communication

Bob kc2cwt
 

I run Kubuntu and have 4 screens

Thanks

On 07/12/2017 08:39 PM, Steve N4IRS wrote:
program called "screen
--
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


Re: DMRlink <-> HBlink communication

Steve N4IRS
 

There were multiple copies of hblink.py running. I ran both with no problem. You should look into the program called "screen" so you can run a program in the foreground and if the connection drops you can re-connect to the screen.

On 07/12/2017 08:24 PM, Bob kc2cwt wrote:

sent it to you telgram



On 07/12/2017 08:00 PM, Steve N4IRS wrote:
What TS/TG?
I assume:
MMDVM <---> HB_Bridge <---> IPSC_Bridge <---> Master

Steve

On 07/12/2017 07:51 PM, David Griffith NZ6D wrote:
All is up to date...No difference. it doesn't crash IPSC_Bridge just logs to console. I still cant TX from client to MASTER but can hear traffic on TG through the client (MMDVM). I will keep looking around. Thank you for all the help guys/

NZ6D Dave


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


Re: DMRlink <-> HBlink communication

Bob kc2cwt
 

sent it to you telgram



On 07/12/2017 08:00 PM, Steve N4IRS wrote:
What TS/TG?
I assume:
MMDVM <---> HB_Bridge <---> IPSC_Bridge <---> Master

Steve

On 07/12/2017 07:51 PM, David Griffith NZ6D wrote:
All is up to date...No difference. it doesn't crash IPSC_Bridge just logs to console. I still cant TX from client to MASTER but can hear traffic on TG through the client (MMDVM). I will keep looking around. Thank you for all the help guys/

NZ6D Dave


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


Re: DMRlink <-> HBlink communication

Steve N4IRS
 

What TS/TG?
I assume:
MMDVM <---> HB_Bridge <---> IPSC_Bridge <---> Master

Steve

On 07/12/2017 07:51 PM, David Griffith NZ6D wrote:
All is up to date...No difference. it doesn't crash IPSC_Bridge just logs to console. I still cant TX from client to MASTER but can hear traffic on TG through the client (MMDVM). I will keep looking around. Thank you for all the help guys/

NZ6D Dave


Re: DMRlink <-> HBlink communication

David Griffith NZ6D
 

All is up to date...No difference. it doesn't crash IPSC_Bridge just logs to console. I still cant TX from client to MASTER but can hear traffic on TG through the client (MMDVM). I will keep looking around. Thank you for all the help guys/

NZ6D Dave


Re: DMRlink <-> HBlink communication

Steve N4IRS
 

give me the login

On 07/12/2017 07:46 PM, Bob kc2cwt wrote:


On 07/12/2017 07:43 PM, Steve N4IRS wrote:
If the ssh session stops, IPSC_Bridge stops.

On 07/12/2017 07:42 PM, Bob kc2cwt wrote:

I started it this way this time python IPSC_Bridge.py &>/dev/null &




On 07/12/2017 07:39 PM, Steve N4IRS wrote:
I have no other reports of that happening. I have it running 24 x 7 for the last 2 weeks.

On 07/12/2017 07:37 PM, Bob kc2cwt wrote:

The console closed . Had to log back in 


On 07/12/2017 07:36 PM, Steve N4IRS wrote:
show me the last line 10 on the console

On 07/12/2017 07:35 PM, Bob kc2cwt wrote:

It stoped and closed down the connection , But HB Link stay up


On 07/12/2017 07:34 PM, Steve N4IRS wrote:
Nothing on the console?, nothing in the log? it just stopped?

On 07/12/2017 07:33 PM, Bob kc2cwt wrote:

It was



On 07/12/2017 07:31 PM, Steve N4IRS wrote:
run it in the foreground.

On 07/12/2017 07:30 PM, Bob kc2cwt wrote:

Just checking as DMR-Link shout down to day and i see nothing in the logs .

Did a restart and it working great


On 07/12/2017 07:28 PM, Steve N4IRS wrote:
You are already running the current hblink and dmrlink

On 07/12/2017 07:17 PM, Bob kc2cwt wrote:

What would be the best way to up date hb link and dmr link



On 07/12/2017 07:12 PM, Steve N4IRS wrote:
Lets make sure you are running the current dmr_utils:

apt-get install python-dev -y
apt-get install python-pip -y
apt-get install python-twisted -y
pip install bitstring
pip install bitarray

cd /opt
git clone https://github.com/n0mjs710/dmr_utils.git
cd dmr_utils/
pip install --upgrade .

Notice the period at the end of the last line.
I don't think this is it, but "it couldn't hurt."

Steve


On 07/12/2017 06:58 PM, David Griffith NZ6D wrote:
That did it. I am receiving the TG now. But whe I TX I get the following:

Unhandled Error

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73, in callWithContext

    return context.call({ILogContext: newCtx}, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext

    return self.currentContext().callWithContext(ctx, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext

    return func(*args,**kw)

  File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite

    why = selectable.doRead()

--- <exception caught here> ---

  File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 246, in doRead

    self.protocol.datagramReceived(data, addr)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 184, in datagramReceived

    self.func(_data, (_host, _port))

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 261, in import_datagramReceived

    self.send_voice_header(_rx_slot)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 526, in send_voice_header

    self.rewriteFrame(self._tempHead[i], _rx_slot.slot, _rx_slot.dst_id, _rx_slot.rf_src, _rx_slot.repeater_id)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 562, in rewriteFrame

    _peerid         = _frame[1:5]                 # int32 peer who is sending us a packet

exceptions.TypeError: 'int' object has no attribute '__getitem__'



-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


Re: DMRlink <-> HBlink communication

Steve N4IRS
 

One connection can drop and the other can stay open. IPSC_Bridge stopping would not close the session.
And, if you are going to run it in the foreground,  just run python IPSC_Bridge.py

On 07/12/2017 07:45 PM, Bob kc2cwt wrote:

But the ssh for hb-link did not drop ,

2 windows open on the same CPU



On 07/12/2017 07:43 PM, Steve N4IRS wrote:
If the ssh session stops, IPSC_Bridge stops.

On 07/12/2017 07:42 PM, Bob kc2cwt wrote:

I started it this way this time python IPSC_Bridge.py &>/dev/null &




On 07/12/2017 07:39 PM, Steve N4IRS wrote:
I have no other reports of that happening. I have it running 24 x 7 for the last 2 weeks.

On 07/12/2017 07:37 PM, Bob kc2cwt wrote:

The console closed . Had to log back in 


On 07/12/2017 07:36 PM, Steve N4IRS wrote:
show me the last line 10 on the console

On 07/12/2017 07:35 PM, Bob kc2cwt wrote:

It stoped and closed down the connection , But HB Link stay up


On 07/12/2017 07:34 PM, Steve N4IRS wrote:
Nothing on the console?, nothing in the log? it just stopped?

On 07/12/2017 07:33 PM, Bob kc2cwt wrote:

It was



On 07/12/2017 07:31 PM, Steve N4IRS wrote:
run it in the foreground.

On 07/12/2017 07:30 PM, Bob kc2cwt wrote:

Just checking as DMR-Link shout down to day and i see nothing in the logs .

Did a restart and it working great


On 07/12/2017 07:28 PM, Steve N4IRS wrote:
You are already running the current hblink and dmrlink

On 07/12/2017 07:17 PM, Bob kc2cwt wrote:

What would be the best way to up date hb link and dmr link



On 07/12/2017 07:12 PM, Steve N4IRS wrote:
Lets make sure you are running the current dmr_utils:

apt-get install python-dev -y
apt-get install python-pip -y
apt-get install python-twisted -y
pip install bitstring
pip install bitarray

cd /opt
git clone https://github.com/n0mjs710/dmr_utils.git
cd dmr_utils/
pip install --upgrade .

Notice the period at the end of the last line.
I don't think this is it, but "it couldn't hurt."

Steve


On 07/12/2017 06:58 PM, David Griffith NZ6D wrote:
That did it. I am receiving the TG now. But whe I TX I get the following:

Unhandled Error

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73, in callWithContext

    return context.call({ILogContext: newCtx}, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext

    return self.currentContext().callWithContext(ctx, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext

    return func(*args,**kw)

  File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite

    why = selectable.doRead()

--- <exception caught here> ---

  File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 246, in doRead

    self.protocol.datagramReceived(data, addr)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 184, in datagramReceived

    self.func(_data, (_host, _port))

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 261, in import_datagramReceived

    self.send_voice_header(_rx_slot)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 526, in send_voice_header

    self.rewriteFrame(self._tempHead[i], _rx_slot.slot, _rx_slot.dst_id, _rx_slot.rf_src, _rx_slot.repeater_id)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 562, in rewriteFrame

    _peerid         = _frame[1:5]                 # int32 peer who is sending us a packet

exceptions.TypeError: 'int' object has no attribute '__getitem__'



-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


Re: DMRlink <-> HBlink communication

Bob kc2cwt
 


On 07/12/2017 07:43 PM, Steve N4IRS wrote:
If the ssh session stops, IPSC_Bridge stops.

On 07/12/2017 07:42 PM, Bob kc2cwt wrote:

I started it this way this time python IPSC_Bridge.py &>/dev/null &




On 07/12/2017 07:39 PM, Steve N4IRS wrote:
I have no other reports of that happening. I have it running 24 x 7 for the last 2 weeks.

On 07/12/2017 07:37 PM, Bob kc2cwt wrote:

The console closed . Had to log back in 


On 07/12/2017 07:36 PM, Steve N4IRS wrote:
show me the last line 10 on the console

On 07/12/2017 07:35 PM, Bob kc2cwt wrote:

It stoped and closed down the connection , But HB Link stay up


On 07/12/2017 07:34 PM, Steve N4IRS wrote:
Nothing on the console?, nothing in the log? it just stopped?

On 07/12/2017 07:33 PM, Bob kc2cwt wrote:

It was



On 07/12/2017 07:31 PM, Steve N4IRS wrote:
run it in the foreground.

On 07/12/2017 07:30 PM, Bob kc2cwt wrote:

Just checking as DMR-Link shout down to day and i see nothing in the logs .

Did a restart and it working great


On 07/12/2017 07:28 PM, Steve N4IRS wrote:
You are already running the current hblink and dmrlink

On 07/12/2017 07:17 PM, Bob kc2cwt wrote:

What would be the best way to up date hb link and dmr link



On 07/12/2017 07:12 PM, Steve N4IRS wrote:
Lets make sure you are running the current dmr_utils:

apt-get install python-dev -y
apt-get install python-pip -y
apt-get install python-twisted -y
pip install bitstring
pip install bitarray

cd /opt
git clone https://github.com/n0mjs710/dmr_utils.git
cd dmr_utils/
pip install --upgrade .

Notice the period at the end of the last line.
I don't think this is it, but "it couldn't hurt."

Steve


On 07/12/2017 06:58 PM, David Griffith NZ6D wrote:
That did it. I am receiving the TG now. But whe I TX I get the following:

Unhandled Error

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73, in callWithContext

    return context.call({ILogContext: newCtx}, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext

    return self.currentContext().callWithContext(ctx, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext

    return func(*args,**kw)

  File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite

    why = selectable.doRead()

--- <exception caught here> ---

  File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 246, in doRead

    self.protocol.datagramReceived(data, addr)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 184, in datagramReceived

    self.func(_data, (_host, _port))

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 261, in import_datagramReceived

    self.send_voice_header(_rx_slot)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 526, in send_voice_header

    self.rewriteFrame(self._tempHead[i], _rx_slot.slot, _rx_slot.dst_id, _rx_slot.rf_src, _rx_slot.repeater_id)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 562, in rewriteFrame

    _peerid         = _frame[1:5]                 # int32 peer who is sending us a packet

exceptions.TypeError: 'int' object has no attribute '__getitem__'



-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


Re: DMRlink <-> HBlink communication

Bob kc2cwt
 

But the ssh for hb-link did not drop ,

2 windows open on the same CPU



On 07/12/2017 07:43 PM, Steve N4IRS wrote:
If the ssh session stops, IPSC_Bridge stops.

On 07/12/2017 07:42 PM, Bob kc2cwt wrote:

I started it this way this time python IPSC_Bridge.py &>/dev/null &




On 07/12/2017 07:39 PM, Steve N4IRS wrote:
I have no other reports of that happening. I have it running 24 x 7 for the last 2 weeks.

On 07/12/2017 07:37 PM, Bob kc2cwt wrote:

The console closed . Had to log back in 


On 07/12/2017 07:36 PM, Steve N4IRS wrote:
show me the last line 10 on the console

On 07/12/2017 07:35 PM, Bob kc2cwt wrote:

It stoped and closed down the connection , But HB Link stay up


On 07/12/2017 07:34 PM, Steve N4IRS wrote:
Nothing on the console?, nothing in the log? it just stopped?

On 07/12/2017 07:33 PM, Bob kc2cwt wrote:

It was



On 07/12/2017 07:31 PM, Steve N4IRS wrote:
run it in the foreground.

On 07/12/2017 07:30 PM, Bob kc2cwt wrote:

Just checking as DMR-Link shout down to day and i see nothing in the logs .

Did a restart and it working great


On 07/12/2017 07:28 PM, Steve N4IRS wrote:
You are already running the current hblink and dmrlink

On 07/12/2017 07:17 PM, Bob kc2cwt wrote:

What would be the best way to up date hb link and dmr link



On 07/12/2017 07:12 PM, Steve N4IRS wrote:
Lets make sure you are running the current dmr_utils:

apt-get install python-dev -y
apt-get install python-pip -y
apt-get install python-twisted -y
pip install bitstring
pip install bitarray

cd /opt
git clone https://github.com/n0mjs710/dmr_utils.git
cd dmr_utils/
pip install --upgrade .

Notice the period at the end of the last line.
I don't think this is it, but "it couldn't hurt."

Steve


On 07/12/2017 06:58 PM, David Griffith NZ6D wrote:
That did it. I am receiving the TG now. But whe I TX I get the following:

Unhandled Error

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73, in callWithContext

    return context.call({ILogContext: newCtx}, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext

    return self.currentContext().callWithContext(ctx, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext

    return func(*args,**kw)

  File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite

    why = selectable.doRead()

--- <exception caught here> ---

  File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 246, in doRead

    self.protocol.datagramReceived(data, addr)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 184, in datagramReceived

    self.func(_data, (_host, _port))

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 261, in import_datagramReceived

    self.send_voice_header(_rx_slot)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 526, in send_voice_header

    self.rewriteFrame(self._tempHead[i], _rx_slot.slot, _rx_slot.dst_id, _rx_slot.rf_src, _rx_slot.repeater_id)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 562, in rewriteFrame

    _peerid         = _frame[1:5]                 # int32 peer who is sending us a packet

exceptions.TypeError: 'int' object has no attribute '__getitem__'



-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


Re: DMRlink <-> HBlink communication

Steve N4IRS
 

If the ssh session stops, IPSC_Bridge stops.

On 07/12/2017 07:42 PM, Bob kc2cwt wrote:

I started it this way this time python IPSC_Bridge.py &>/dev/null &




On 07/12/2017 07:39 PM, Steve N4IRS wrote:
I have no other reports of that happening. I have it running 24 x 7 for the last 2 weeks.

On 07/12/2017 07:37 PM, Bob kc2cwt wrote:

The console closed . Had to log back in 


On 07/12/2017 07:36 PM, Steve N4IRS wrote:
show me the last line 10 on the console

On 07/12/2017 07:35 PM, Bob kc2cwt wrote:

It stoped and closed down the connection , But HB Link stay up


On 07/12/2017 07:34 PM, Steve N4IRS wrote:
Nothing on the console?, nothing in the log? it just stopped?

On 07/12/2017 07:33 PM, Bob kc2cwt wrote:

It was



On 07/12/2017 07:31 PM, Steve N4IRS wrote:
run it in the foreground.

On 07/12/2017 07:30 PM, Bob kc2cwt wrote:

Just checking as DMR-Link shout down to day and i see nothing in the logs .

Did a restart and it working great


On 07/12/2017 07:28 PM, Steve N4IRS wrote:
You are already running the current hblink and dmrlink

On 07/12/2017 07:17 PM, Bob kc2cwt wrote:

What would be the best way to up date hb link and dmr link



On 07/12/2017 07:12 PM, Steve N4IRS wrote:
Lets make sure you are running the current dmr_utils:

apt-get install python-dev -y
apt-get install python-pip -y
apt-get install python-twisted -y
pip install bitstring
pip install bitarray

cd /opt
git clone https://github.com/n0mjs710/dmr_utils.git
cd dmr_utils/
pip install --upgrade .

Notice the period at the end of the last line.
I don't think this is it, but "it couldn't hurt."

Steve


On 07/12/2017 06:58 PM, David Griffith NZ6D wrote:
That did it. I am receiving the TG now. But whe I TX I get the following:

Unhandled Error

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73, in callWithContext

    return context.call({ILogContext: newCtx}, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext

    return self.currentContext().callWithContext(ctx, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext

    return func(*args,**kw)

  File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite

    why = selectable.doRead()

--- <exception caught here> ---

  File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 246, in doRead

    self.protocol.datagramReceived(data, addr)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 184, in datagramReceived

    self.func(_data, (_host, _port))

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 261, in import_datagramReceived

    self.send_voice_header(_rx_slot)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 526, in send_voice_header

    self.rewriteFrame(self._tempHead[i], _rx_slot.slot, _rx_slot.dst_id, _rx_slot.rf_src, _rx_slot.repeater_id)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 562, in rewriteFrame

    _peerid         = _frame[1:5]                 # int32 peer who is sending us a packet

exceptions.TypeError: 'int' object has no attribute '__getitem__'



-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


Re: DMRlink <-> HBlink communication

Bob kc2cwt
 

I started it this way this time python IPSC_Bridge.py &>/dev/null &




On 07/12/2017 07:39 PM, Steve N4IRS wrote:
I have no other reports of that happening. I have it running 24 x 7 for the last 2 weeks.

On 07/12/2017 07:37 PM, Bob kc2cwt wrote:

The console closed . Had to log back in 


On 07/12/2017 07:36 PM, Steve N4IRS wrote:
show me the last line 10 on the console

On 07/12/2017 07:35 PM, Bob kc2cwt wrote:

It stoped and closed down the connection , But HB Link stay up


On 07/12/2017 07:34 PM, Steve N4IRS wrote:
Nothing on the console?, nothing in the log? it just stopped?

On 07/12/2017 07:33 PM, Bob kc2cwt wrote:

It was



On 07/12/2017 07:31 PM, Steve N4IRS wrote:
run it in the foreground.

On 07/12/2017 07:30 PM, Bob kc2cwt wrote:

Just checking as DMR-Link shout down to day and i see nothing in the logs .

Did a restart and it working great


On 07/12/2017 07:28 PM, Steve N4IRS wrote:
You are already running the current hblink and dmrlink

On 07/12/2017 07:17 PM, Bob kc2cwt wrote:

What would be the best way to up date hb link and dmr link



On 07/12/2017 07:12 PM, Steve N4IRS wrote:
Lets make sure you are running the current dmr_utils:

apt-get install python-dev -y
apt-get install python-pip -y
apt-get install python-twisted -y
pip install bitstring
pip install bitarray

cd /opt
git clone https://github.com/n0mjs710/dmr_utils.git
cd dmr_utils/
pip install --upgrade .

Notice the period at the end of the last line.
I don't think this is it, but "it couldn't hurt."

Steve


On 07/12/2017 06:58 PM, David Griffith NZ6D wrote:
That did it. I am receiving the TG now. But whe I TX I get the following:

Unhandled Error

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73, in callWithContext

    return context.call({ILogContext: newCtx}, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext

    return self.currentContext().callWithContext(ctx, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext

    return func(*args,**kw)

  File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite

    why = selectable.doRead()

--- <exception caught here> ---

  File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 246, in doRead

    self.protocol.datagramReceived(data, addr)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 184, in datagramReceived

    self.func(_data, (_host, _port))

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 261, in import_datagramReceived

    self.send_voice_header(_rx_slot)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 526, in send_voice_header

    self.rewriteFrame(self._tempHead[i], _rx_slot.slot, _rx_slot.dst_id, _rx_slot.rf_src, _rx_slot.repeater_id)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 562, in rewriteFrame

    _peerid         = _frame[1:5]                 # int32 peer who is sending us a packet

exceptions.TypeError: 'int' object has no attribute '__getitem__'



-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


Re: DMRlink <-> HBlink communication

Steve N4IRS
 

If you were running on the console and the connection dropped, it would close dmrlink

On 07/12/2017 07:37 PM, Bob kc2cwt wrote:

The console closed . Had to log back in 


On 07/12/2017 07:36 PM, Steve N4IRS wrote:
show me the last line 10 on the console

On 07/12/2017 07:35 PM, Bob kc2cwt wrote:

It stoped and closed down the connection , But HB Link stay up


On 07/12/2017 07:34 PM, Steve N4IRS wrote:
Nothing on the console?, nothing in the log? it just stopped?

On 07/12/2017 07:33 PM, Bob kc2cwt wrote:

It was



On 07/12/2017 07:31 PM, Steve N4IRS wrote:
run it in the foreground.

On 07/12/2017 07:30 PM, Bob kc2cwt wrote:

Just checking as DMR-Link shout down to day and i see nothing in the logs .

Did a restart and it working great


On 07/12/2017 07:28 PM, Steve N4IRS wrote:
You are already running the current hblink and dmrlink

On 07/12/2017 07:17 PM, Bob kc2cwt wrote:

What would be the best way to up date hb link and dmr link



On 07/12/2017 07:12 PM, Steve N4IRS wrote:
Lets make sure you are running the current dmr_utils:

apt-get install python-dev -y
apt-get install python-pip -y
apt-get install python-twisted -y
pip install bitstring
pip install bitarray

cd /opt
git clone https://github.com/n0mjs710/dmr_utils.git
cd dmr_utils/
pip install --upgrade .

Notice the period at the end of the last line.
I don't think this is it, but "it couldn't hurt."

Steve


On 07/12/2017 06:58 PM, David Griffith NZ6D wrote:
That did it. I am receiving the TG now. But whe I TX I get the following:

Unhandled Error

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73, in callWithContext

    return context.call({ILogContext: newCtx}, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext

    return self.currentContext().callWithContext(ctx, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext

    return func(*args,**kw)

  File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite

    why = selectable.doRead()

--- <exception caught here> ---

  File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 246, in doRead

    self.protocol.datagramReceived(data, addr)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 184, in datagramReceived

    self.func(_data, (_host, _port))

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 261, in import_datagramReceived

    self.send_voice_header(_rx_slot)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 526, in send_voice_header

    self.rewriteFrame(self._tempHead[i], _rx_slot.slot, _rx_slot.dst_id, _rx_slot.rf_src, _rx_slot.repeater_id)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 562, in rewriteFrame

    _peerid         = _frame[1:5]                 # int32 peer who is sending us a packet

exceptions.TypeError: 'int' object has no attribute '__getitem__'



-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


Re: DMRlink <-> HBlink communication

Steve N4IRS
 

I have no other reports of that happening. I have it running 24 x 7 for the last 2 weeks.

On 07/12/2017 07:37 PM, Bob kc2cwt wrote:

The console closed . Had to log back in 


On 07/12/2017 07:36 PM, Steve N4IRS wrote:
show me the last line 10 on the console

On 07/12/2017 07:35 PM, Bob kc2cwt wrote:

It stoped and closed down the connection , But HB Link stay up


On 07/12/2017 07:34 PM, Steve N4IRS wrote:
Nothing on the console?, nothing in the log? it just stopped?

On 07/12/2017 07:33 PM, Bob kc2cwt wrote:

It was



On 07/12/2017 07:31 PM, Steve N4IRS wrote:
run it in the foreground.

On 07/12/2017 07:30 PM, Bob kc2cwt wrote:

Just checking as DMR-Link shout down to day and i see nothing in the logs .

Did a restart and it working great


On 07/12/2017 07:28 PM, Steve N4IRS wrote:
You are already running the current hblink and dmrlink

On 07/12/2017 07:17 PM, Bob kc2cwt wrote:

What would be the best way to up date hb link and dmr link



On 07/12/2017 07:12 PM, Steve N4IRS wrote:
Lets make sure you are running the current dmr_utils:

apt-get install python-dev -y
apt-get install python-pip -y
apt-get install python-twisted -y
pip install bitstring
pip install bitarray

cd /opt
git clone https://github.com/n0mjs710/dmr_utils.git
cd dmr_utils/
pip install --upgrade .

Notice the period at the end of the last line.
I don't think this is it, but "it couldn't hurt."

Steve


On 07/12/2017 06:58 PM, David Griffith NZ6D wrote:
That did it. I am receiving the TG now. But whe I TX I get the following:

Unhandled Error

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73, in callWithContext

    return context.call({ILogContext: newCtx}, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext

    return self.currentContext().callWithContext(ctx, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext

    return func(*args,**kw)

  File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite

    why = selectable.doRead()

--- <exception caught here> ---

  File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 246, in doRead

    self.protocol.datagramReceived(data, addr)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 184, in datagramReceived

    self.func(_data, (_host, _port))

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 261, in import_datagramReceived

    self.send_voice_header(_rx_slot)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 526, in send_voice_header

    self.rewriteFrame(self._tempHead[i], _rx_slot.slot, _rx_slot.dst_id, _rx_slot.rf_src, _rx_slot.repeater_id)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 562, in rewriteFrame

    _peerid         = _frame[1:5]                 # int32 peer who is sending us a packet

exceptions.TypeError: 'int' object has no attribute '__getitem__'



-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


Re: DMRlink <-> HBlink communication

Bob kc2cwt
 

The console closed . Had to log back in 


On 07/12/2017 07:36 PM, Steve N4IRS wrote:
show me the last line 10 on the console

On 07/12/2017 07:35 PM, Bob kc2cwt wrote:

It stoped and closed down the connection , But HB Link stay up


On 07/12/2017 07:34 PM, Steve N4IRS wrote:
Nothing on the console?, nothing in the log? it just stopped?

On 07/12/2017 07:33 PM, Bob kc2cwt wrote:

It was



On 07/12/2017 07:31 PM, Steve N4IRS wrote:
run it in the foreground.

On 07/12/2017 07:30 PM, Bob kc2cwt wrote:

Just checking as DMR-Link shout down to day and i see nothing in the logs .

Did a restart and it working great


On 07/12/2017 07:28 PM, Steve N4IRS wrote:
You are already running the current hblink and dmrlink

On 07/12/2017 07:17 PM, Bob kc2cwt wrote:

What would be the best way to up date hb link and dmr link



On 07/12/2017 07:12 PM, Steve N4IRS wrote:
Lets make sure you are running the current dmr_utils:

apt-get install python-dev -y
apt-get install python-pip -y
apt-get install python-twisted -y
pip install bitstring
pip install bitarray

cd /opt
git clone https://github.com/n0mjs710/dmr_utils.git
cd dmr_utils/
pip install --upgrade .

Notice the period at the end of the last line.
I don't think this is it, but "it couldn't hurt."

Steve


On 07/12/2017 06:58 PM, David Griffith NZ6D wrote:
That did it. I am receiving the TG now. But whe I TX I get the following:

Unhandled Error

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73, in callWithContext

    return context.call({ILogContext: newCtx}, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext

    return self.currentContext().callWithContext(ctx, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext

    return func(*args,**kw)

  File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite

    why = selectable.doRead()

--- <exception caught here> ---

  File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 246, in doRead

    self.protocol.datagramReceived(data, addr)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 184, in datagramReceived

    self.func(_data, (_host, _port))

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 261, in import_datagramReceived

    self.send_voice_header(_rx_slot)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 526, in send_voice_header

    self.rewriteFrame(self._tempHead[i], _rx_slot.slot, _rx_slot.dst_id, _rx_slot.rf_src, _rx_slot.repeater_id)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 562, in rewriteFrame

    _peerid         = _frame[1:5]                 # int32 peer who is sending us a packet

exceptions.TypeError: 'int' object has no attribute '__getitem__'



-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


Re: DMRlink <-> HBlink communication

Steve N4IRS
 

show me the last line 10 on the console

On 07/12/2017 07:35 PM, Bob kc2cwt wrote:

It stoped and closed down the connection , But HB Link stay up


On 07/12/2017 07:34 PM, Steve N4IRS wrote:
Nothing on the console?, nothing in the log? it just stopped?

On 07/12/2017 07:33 PM, Bob kc2cwt wrote:

It was



On 07/12/2017 07:31 PM, Steve N4IRS wrote:
run it in the foreground.

On 07/12/2017 07:30 PM, Bob kc2cwt wrote:

Just checking as DMR-Link shout down to day and i see nothing in the logs .

Did a restart and it working great


On 07/12/2017 07:28 PM, Steve N4IRS wrote:
You are already running the current hblink and dmrlink

On 07/12/2017 07:17 PM, Bob kc2cwt wrote:

What would be the best way to up date hb link and dmr link



On 07/12/2017 07:12 PM, Steve N4IRS wrote:
Lets make sure you are running the current dmr_utils:

apt-get install python-dev -y
apt-get install python-pip -y
apt-get install python-twisted -y
pip install bitstring
pip install bitarray

cd /opt
git clone https://github.com/n0mjs710/dmr_utils.git
cd dmr_utils/
pip install --upgrade .

Notice the period at the end of the last line.
I don't think this is it, but "it couldn't hurt."

Steve


On 07/12/2017 06:58 PM, David Griffith NZ6D wrote:
That did it. I am receiving the TG now. But whe I TX I get the following:

Unhandled Error

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73, in callWithContext

    return context.call({ILogContext: newCtx}, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext

    return self.currentContext().callWithContext(ctx, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext

    return func(*args,**kw)

  File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite

    why = selectable.doRead()

--- <exception caught here> ---

  File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 246, in doRead

    self.protocol.datagramReceived(data, addr)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 184, in datagramReceived

    self.func(_data, (_host, _port))

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 261, in import_datagramReceived

    self.send_voice_header(_rx_slot)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 526, in send_voice_header

    self.rewriteFrame(self._tempHead[i], _rx_slot.slot, _rx_slot.dst_id, _rx_slot.rf_src, _rx_slot.repeater_id)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 562, in rewriteFrame

    _peerid         = _frame[1:5]                 # int32 peer who is sending us a packet

exceptions.TypeError: 'int' object has no attribute '__getitem__'



-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


Re: DMRlink <-> HBlink communication

Bob kc2cwt
 

It stoped and closed down the connection , But HB Link stay up


On 07/12/2017 07:34 PM, Steve N4IRS wrote:
Nothing on the console?, nothing in the log? it just stopped?

On 07/12/2017 07:33 PM, Bob kc2cwt wrote:

It was



On 07/12/2017 07:31 PM, Steve N4IRS wrote:
run it in the foreground.

On 07/12/2017 07:30 PM, Bob kc2cwt wrote:

Just checking as DMR-Link shout down to day and i see nothing in the logs .

Did a restart and it working great


On 07/12/2017 07:28 PM, Steve N4IRS wrote:
You are already running the current hblink and dmrlink

On 07/12/2017 07:17 PM, Bob kc2cwt wrote:

What would be the best way to up date hb link and dmr link



On 07/12/2017 07:12 PM, Steve N4IRS wrote:
Lets make sure you are running the current dmr_utils:

apt-get install python-dev -y
apt-get install python-pip -y
apt-get install python-twisted -y
pip install bitstring
pip install bitarray

cd /opt
git clone https://github.com/n0mjs710/dmr_utils.git
cd dmr_utils/
pip install --upgrade .

Notice the period at the end of the last line.
I don't think this is it, but "it couldn't hurt."

Steve


On 07/12/2017 06:58 PM, David Griffith NZ6D wrote:
That did it. I am receiving the TG now. But whe I TX I get the following:

Unhandled Error

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73, in callWithContext

    return context.call({ILogContext: newCtx}, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext

    return self.currentContext().callWithContext(ctx, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext

    return func(*args,**kw)

  File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite

    why = selectable.doRead()

--- <exception caught here> ---

  File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 246, in doRead

    self.protocol.datagramReceived(data, addr)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 184, in datagramReceived

    self.func(_data, (_host, _port))

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 261, in import_datagramReceived

    self.send_voice_header(_rx_slot)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 526, in send_voice_header

    self.rewriteFrame(self._tempHead[i], _rx_slot.slot, _rx_slot.dst_id, _rx_slot.rf_src, _rx_slot.repeater_id)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 562, in rewriteFrame

    _peerid         = _frame[1:5]                 # int32 peer who is sending us a packet

exceptions.TypeError: 'int' object has no attribute '__getitem__'



-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


Re: DMRlink <-> HBlink communication

Steve N4IRS
 

Nothing on the console?, nothing in the log? it just stopped?

On 07/12/2017 07:33 PM, Bob kc2cwt wrote:

It was



On 07/12/2017 07:31 PM, Steve N4IRS wrote:
run it in the foreground.

On 07/12/2017 07:30 PM, Bob kc2cwt wrote:

Just checking as DMR-Link shout down to day and i see nothing in the logs .

Did a restart and it working great


On 07/12/2017 07:28 PM, Steve N4IRS wrote:
You are already running the current hblink and dmrlink

On 07/12/2017 07:17 PM, Bob kc2cwt wrote:

What would be the best way to up date hb link and dmr link



On 07/12/2017 07:12 PM, Steve N4IRS wrote:
Lets make sure you are running the current dmr_utils:

apt-get install python-dev -y
apt-get install python-pip -y
apt-get install python-twisted -y
pip install bitstring
pip install bitarray

cd /opt
git clone https://github.com/n0mjs710/dmr_utils.git
cd dmr_utils/
pip install --upgrade .

Notice the period at the end of the last line.
I don't think this is it, but "it couldn't hurt."

Steve


On 07/12/2017 06:58 PM, David Griffith NZ6D wrote:
That did it. I am receiving the TG now. But whe I TX I get the following:

Unhandled Error

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73, in callWithContext

    return context.call({ILogContext: newCtx}, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext

    return self.currentContext().callWithContext(ctx, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext

    return func(*args,**kw)

  File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite

    why = selectable.doRead()

--- <exception caught here> ---

  File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 246, in doRead

    self.protocol.datagramReceived(data, addr)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 184, in datagramReceived

    self.func(_data, (_host, _port))

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 261, in import_datagramReceived

    self.send_voice_header(_rx_slot)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 526, in send_voice_header

    self.rewriteFrame(self._tempHead[i], _rx_slot.slot, _rx_slot.dst_id, _rx_slot.rf_src, _rx_slot.repeater_id)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 562, in rewriteFrame

    _peerid         = _frame[1:5]                 # int32 peer who is sending us a packet

exceptions.TypeError: 'int' object has no attribute '__getitem__'



-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502

10321 - 10340 of 10637