Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot parse RIPE RIS bview data anymore #62

Closed
ghost opened this issue Oct 3, 2019 · 15 comments
Closed

Cannot parse RIPE RIS bview data anymore #62

ghost opened this issue Oct 3, 2019 · 15 comments

Comments

@ghost
Copy link

ghost commented Oct 3, 2019

It seems that today's data of http://data.ris.ripe.net/rrc12/latest-bview.gz (permalink http://data.ris.ripe.net/rrc12/2019.10/bview.20191003.0000.gz) can't be parsed anymore. It worked at least until yesterday

> pyasn_util_convert.py --single bview.20191003.0000.gz ipasn.dat
Parsing MRT/RIB archive ..  MrtTD2Record (PEER-INDEX-TABLE, collector 1347535000, 102 peers)
  MRT record 100000 @6s
  MRT record 200000 @10s
  MRT record 300000 @13s
  MRT record 400000 @16s
  MRT record 500000 @19s
  MRT record 600000 @22s
  Exception parsing prefix record 185.206.208.42/32
Traceback (most recent call last):
  File "/usr/bin/pyasn_util_convert.py", line 71, in <module>
    skip_record_on_error=args.skip_on_error)
  File "/usr/lib64/python3.6/site-packages/pyasn/mrtx.py", line 106, in parse_mrt_file
    origin = mrt.get_first_origin_as()
  File "/usr/lib64/python3.6/site-packages/pyasn/mrtx.py", line 311, in get_first_origin_as
    return path.get_origin_as()
  File "/usr/lib64/python3.6/site-packages/pyasn/mrtx.py", line 578, in get_origin_as
    assert origin  # eventually, should not be 0 (no asn 0), or None, or an empty set
AssertionError
@hadiasghari
Copy link
Owner

Hi @wagner-certat, I am not actively working on pyasn at the moment to assist with the debugging. But sometimes the problem is in just one particular RIS file. Have you since tried with a later day?

@marcolussetti
Copy link

Confirming the issue, tried with today with the same result. Tried going back to http://data.ris.ripe.net/rrc12/2019.10/bview.20191002.0000.gz and it does work.

Might try to work on it tomorrow if I can find the time though first time using this package.

@hadiasghari
Copy link
Owner

@marcolussetti I will flag this as an incidental problem with that particular file and close it for now. Thanks,

@ghost
Copy link
Author

ghost commented Feb 11, 2020

Does it mean that RIPE RIS data is not supported (anymore)? The error (message) is the same for the current files from that source.

@hadiasghari hadiasghari reopened this Feb 11, 2020
@hadiasghari
Copy link
Owner

@wagner-certat sorry, I misunderstood, then I'll repoen it.

@marty90
Copy link

marty90 commented Apr 2, 2020

+1

@marty90
Copy link

marty90 commented Apr 2, 2020

--skip-on-error does not work

@marty90
Copy link

marty90 commented Apr 2, 2020

Apparently originating from here

@ghost
Copy link
Author

ghost commented Jul 4, 2020

The problem has been fixed by efcd5ef -> can we have a new release plz :)

@hadiasghari
Copy link
Owner

Hi @wagner-certat , do you mean it's already fixed in main and we just need a new Pypi release?

@ghost
Copy link
Author

ghost commented Jul 8, 2020

Exactly :)

@hadiasghari
Copy link
Owner

Ok thanks for pointing that out. I'll do it in the next few days. I might ask for your help/feedback afterwards to make sure nothing breaks with the release.

@ghost
Copy link
Author

ghost commented Jul 8, 2020

I'm using the master branch in our production system since a few days now 0 to fix that error, I haven't seen any issues yet.

@hadiasghari
Copy link
Owner

Dear @wagner-certat, I have released a new pypi version. Can you kindly check and tell me if it works as expected? Thanks.

@ghost
Copy link
Author

ghost commented Aug 20, 2020

Yes, works!

Thank you

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants