Traceback (most recent call last):


 "C:\Users\Amgad\PycharmProjects\bell\bgp_update.py", line 72, in extract_features

bgp_element = dpkt.bgp.BGP(bgp)


 "C:\Users\Amgad\PycharmProjects\dpkt\dpkt\dpkt.py", line 95, in __init__

self.unpack(args[0])


 "C:\Users\Amgad\PycharmProjects\dpkt\dpkt\bgp.py", line 161, in unpack

self.data = self.update = self.Update(self.data)


 "C:\Users\Amgad\PycharmProjects\dpkt\dpkt\dpkt.py", line 95, in __init__

self.unpack(args[0])


 "C:\Users\Amgad\PycharmProjects\dpkt\dpkt\bgp.py", line 272, in unpack

attr = self.Attribute(self.data)


 "C:\Users\Amgad\PycharmProjects\dpkt\dpkt\dpkt.py", line 95, in __init__

self.unpack(args[0])


 "C:\Users\Amgad\PycharmProjects\dpkt\dpkt\bgp.py", line 351, in unpack

self.data = self.as_path = self.ASPath(self.data)


 "C:\Users\Amgad\PycharmProjects\dpkt\dpkt\dpkt.py", line 95, in __init__

self.unpack(args[0])


 "C:\Users\Amgad\PycharmProjects\dpkt\dpkt\bgp.py", line 401, in unpack

seg = self.ASPathSegment(self.data)


 "C:\Users\Amgad\PycharmProjects\dpkt\dpkt\dpkt.py", line 99, in __init__

raise UnpackError('invalid %s: %r' %
dpkt.dpkt.UnpackError: invalid ASPathSegment: b'\xfb\xff'

Traceback (most recent call last):


 "<pyshell#66>", line 1, in <module>

asShape({'type': "Polygon", "coordinates": [(0,0), (0,1), (1,1),(1,0),(0,0)]}).area()


 "C:\Anaconda3\lib\site-packages\shapely\geometry\base.py", line 431, in area

return self.impl['area'](self)


 "C:\Anaconda3\lib\site-packages\shapely\topology.py", line 55, in __call__

self._validate(this)


 "C:\Anaconda3\lib\site-packages\shapely\topology.py", line 17, in _validate

if ob is None or ob._geom is None:


 "C:\Anaconda3\lib\site-packages\shapely\geometry\proxy.py", line 49, in _geom

self.__geom__, n = self.factory(self.context[0], self.context[1])


 "C:\Anaconda3\lib\site-packages\shapely\geometry\polygon.py", line 526, in geos_polygon_from_py

ret = geos_linearring_from_py(shell)


 "C:\Anaconda3\lib\site-packages\shapely\geometry\polygon.py", line 468, in geos_linearring_from_py

n = len(ob[0])
TypeError: object of type 'int' has no len()
