Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
asn_get_routeviews broken #137
Issue migrated (2015-06-05) from old issue tracker http://mirrorbrain.org/issues/issue137
msg476 (view) Author: floeff Date: 2014-01-27.09:40:26
It seems asn_get_routeviews | asn_import -b main is broken:
This also leads to the following error message for mb update -a:
psycopg2.IntegrityError: null value in column "prefix" violates not-null constraint
Probably it's related to those messages:
mirrorservice.org: updating network prefix (220.127.116.11/16 -> None)
msg478 (view) Author: poeml Date: 2014-01-27.20:34:30
The file is indeed broken.
bzcat oix-full-snapshot-latest.dat.bz2 > /dev/null
bzcat: Compressed file ends unexpectedly;
msg479 (view) Author: poeml Date: 2014-01-27.20:55:15
But the routing table snapshots are provided every few hours, and apparently the issue has been fixed. The
Let me know if you still get database errors after re-running the command!
msg481 (view) Author: floeff Date: 2014-01-27.21:03:17
Partially indeed - the download works again. However, mb main update yields
mb -b main update --all --all-mirrors
ftp.rezopole.net: updating network prefix (18.104.22.168/22 -> None)
msg484 (view) Author: poeml Date: 2014-01-27.21:24:16
Apparently, there is no network prefix in the current routing data snapshot which
I can reproduce the error here for another mirror: ftp.piotrkosoft.net
As for the error spit out by "mb update", I have a local fix here that I'll commit to
mb update --all ftp.piotrkosoft.net
ftp.piotrkosoft.net: STRANGE! There's no prefix containing this hosts IP address
So the command completes to run.
msg485 (view) Author: poeml Date: 2014-01-27.21:31:39
the fix is here:
(end of migrated issue)