mrtparse icon indicating copy to clipboard operation
mrtparse copied to clipboard

AttributeError: 'Reader' object has no attribute 'mrt'

Open aweher opened this issue 8 months ago • 2 comments

System Desc

$ lsb_release -a
LSB Version:	core-11.1.0ubuntu4-noarch:printing-11.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.4 LTS
Release:	22.04
Codename:	jammy

$ python -V
Python 3.10.12
$ pip3 freeze | grep mrt
mrtparse==2.2.0

Error reported

$ mrt2exabgp -P latest-bview.gz 
#!/usr/bin/env python

import sys
import time

msgs = [
Traceback (most recent call last):
  File "/usr/bin/mrt2exabgp", line 498, in <module>
    main()
  File "/usr/bin/mrt2exabgp", line 495, in main
    conv_format(args, flags, d)
  File "/usr/bin/mrt2exabgp", line 192, in conv_format
    m = m.mrt
        ^^^^^
AttributeError: 'Reader' object has no attribute 'mrt'

aweher avatar Jun 13 '24 15:06 aweher