just installed bagpipe-bgp, tried to peer, got error:
`2016-06-01 05:45:46,030 BGP-192.168.1.18:receiveLoop bagpipe.bgp.engine.exabgp_peer_worker.192-168-1-18 ERROR Error while reading BGP message: label.bottomOfStack should not be set
2016-06-01 05:45:46,031 BGP-192.168.1.18:receiveLoop bagpipe.bgp.engine.exabgp_peer_worker.192-168-1-18 ERROR Error: label.bottomOfStack should not be set (=> aborting receiveLoop and reinitializing)
2016-06-01 05:45:46,034 BGP-192.168.1.18:receiveLoop bagpipe.bgp.engine.exabgp_peer_worker.192-168-1-18 WARNING Traceback (most recent call last):
File '/usr/local/lib/python2.7/dist-packages/bagpipe/bgp/engine/bgp_peer_worker.py', line 256, in _receiveLoop
loopResult = self._receiveLoopFun()
File '/usr/local/lib/python2.7/dist-packages/bagpipe/bgp/engine/exabgp_peer_worker.py', line 269, in _receiveLoopFun
message = self.protocol.read_message()
File '/usr/local/lib/python2.7/dist-packages/bagpipe/exabgp/network/protocol.py', line 176, in read_message
update = self.UpdateFactory(data)
File '/usr/local/lib/python2.7/dist-packages/bagpipe/exabgp/network/protocol.py', line 487, in UpdateFactory
attributes = self.AttributesFactory(attribute)
File '/usr/local/lib/python2.7/dist-packages/bagpipe/exabgp/network/protocol.py', line 509, in AttributesFactory
return self._AttributesFactory(data).attributes
File '/usr/local/lib/python2.7/dist-packages/bagpipe/exabgp/network/protocol.py', line 612, in _AttributesFactory
return self._AttributesFactory(data[length:])
File '/usr/local/lib/python2.7/dist-packages/bagpipe/exabgp/network/protocol.py', line 636, in _AttributesFactory
return self._AttributesFactory(data[length:])
File '/usr/local/lib/python2.7/dist-packages/bagpipe/exabgp/network/protocol.py', line 641, in _AttributesFactory
return self._AttributesFactory(data[length:])
File '/usr/local/lib/python2.7/dist-packages/bagpipe/exabgp/network/protocol.py', line 646, in _AttributesFactory
return self._AttributesFactory(data[length:])
File '/usr/local/lib/python2.7/dist-packages/bagpipe/exabgp/network/protocol.py', line 619, in _AttributesFactory
return self._AttributesFactory(data[length:])
File '/usr/local/lib/python2.7/dist-packages/bagpipe/exabgp/network/protocol.py', line 673, in _AttributesFactory
return self._AttributesFactory(data[length:])
File '/usr/local/lib/python2.7/dist-packages/bagpipe/exabgp/network/protocol.py', line 650, in _AttributesFactory
self.attributes.add(PMSITunnel.unpack(data[:length]))
File '/usr/local/lib/python2.7/dist-packages/bagpipe/exabgp/message/update/attribute/pmsi_tunnel.py', line 131, in unpack
return tunnel_types_to_class[subtype].unpack(label,flags,data)
File '/usr/local/lib/python2.7/dist-packages/bagpipe/exabgp/message/update/attribute/pmsi_tunnel.py', line 161, in unpack
return PMSITunnelIngressReplication(ip,label,flags)
File '/usr/local/lib/python2.7/dist-packages/bagpipe/exabgp/message/update/attribute/pmsi_tunnel.py', line 149, in init
PMSITunnel.init(self, self.subtype, label, flags)
File '/usr/local/lib/python2.7/dist-packages/bagpipe/exabgp/message/update/attribute/pmsi_tunnel.py', line 74, in init
if label.bottomOfStack: raise Exception('label.bottomOfStack should not be set')
Exception: label.bottomOfStack should not be set
2016-06-01 05:45:56,046 BGP-192.168.1.18 bagpipe.bgp.engine.exabgp_peer_worker.192-168-1-18 WARNING Exception while initiating connection: The TCP connection is closed
2016-06-01 05:46:06,961 BGP-192.168.1.18 bagpipe.bgp.engine.exabgp_peer_worker.192-168-1-18 WARNING Exception while initiating connection: The TCP connection is closed
`
fixed by - apt-get install python-txtftp (with tons of depency packages)