"bagpipe-looking-glass bgp" results in "error code 500"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BaGPipe |
New
|
Undecided
|
Unassigned |
Bug Description
With current master code, but probably some earlier versions as well, we have this:
# bagpipe-
Error code 500: A server error occurred. Please contact the administrator.
In bagpipe-bgp logs, we have the following error:
Traceback (most recent call last):
File "/usr/lib64/
self.result = application(
File "/usr/lib/
return self.applicatio
File "/usr/lib/
return super(Pecan, self)._
File "/usr/lib/
self.
File "/usr/lib/
result = self.render(
File "/usr/lib/
return renderer.
File "/usr/lib/
return encode(namespace)
File "/usr/lib/
return _instance.
File "/usr/lib64/
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib64/
return _iterencode(o, 0)
File "/usr/lib/
return jsonify(obj)
File "/usr/lib/
return dispatch(
File "/usr/lib/
return _default.
File "/usr/lib/
return JSONEncoder.
File "/usr/lib64/
raise TypeError(repr(o) + " is not JSON serializable")
TypeError: <bound method Manager.
127.0.0.1 - - [10/Oct/2019 13:01:48] "GET /looking-glass/bgp HTTP/1.1" 500 59