Date   

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


Re: DMRlink <-> HBlink communication

Bob kc2cwt
 

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


Re: DMRlink <-> HBlink communication

Steve N4IRS
 

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


Re: DMRlink <-> HBlink communication

Bob kc2cwt
 

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


Re: DMRlink <-> HBlink communication

Steve N4IRS
 

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


Re: DMRlink <-> HBlink communication

Bob kc2cwt
 

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


Re: DMRlink <-> HBlink communication

Steve N4IRS
 

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__'


9621 - 9640 of 9931