massimocandela / geofeed-finder

Utility to find geofeed files linked from rpsl.
BSD 3-Clause "New" or "Revised" License
76 stars 7 forks source link

v1.6.1 crashes while parsing the latest RIPE data, no output .csv file created. #22

Closed sgteq closed 1 year ago

sgteq commented 1 year ago

Steps to reproduce:

sgteq@desk:~/geofeed$ ./geofeed-finder-linux-x64-1.6.1 -k -u -i ripe -o ripe-2022-11-01.csv
...
inetnum: 2a0d:2587:7000::/36 https://geofeed.zhiccc.net/2a0d-2587-geofeed.csv [cache]
inetnum: 2a0e:97c0:6e0::/48 https://portal.alfha-networks.com/avisos/geofeedalfha.csv [cache]
sgteq@desk:~/geofeed$ 

Note the lack of "Done! See ripe-2022-11-01.csv" at the end.

Last three lines of the error log file:

2022-11-01T13:00:33+00:00 2a10:fc42::/32,EU,,, Not valid Country Code (iso-3166-1)
2022-11-01T13:00:36+00:00 Error: https://geofeed.huize.asia/geofeed.csv Error: Request failed with status code 523
2022-11-01T13:00:38+00:00 Error: https://open.okita.network/feed.csv Error: Request failed with status code 521
2022-11-01T13:00:38+00:00 Invalid Opening Quote: a quote is found inside a field at line 2

Expected result: the feed causing the error ignored, processing continued, and the final output .csv created.

massimocandela commented 1 year ago

Hi @sgteq,

Thanks for reporting. This is fixed in v1.6.2.