Re: [PDB Tech] Peeringdb sync problem

2020-05-22 Thread Milton Ngan
i think this one is caused by using Dango3. you should install Django < 3 Sent from my iPad On May 22, 2020, at 8:19 AM, "jan.boog...@swisscom.com" wrote:  Hi Stefan I upgraded now to python3 and have new errors, I tried with python3.6.9 and 3.8.3: pdb@pdb2:~$ peeringdb sync Syncing to

Re: [PDB Tech] Peeringdb sync problem

2020-05-22 Thread Jan.Boogman
Hi Milton I now went back from Django3.0.6 to Django2.2.12 and that did the trick! Thanks a lot for your help Best regards Jan Von: Milton Ngan Gesendet: Freitag, 22. Mai 2020 18:01 An: Boogman Jan, INI-ONE-WSN-EIS-SNS Cc: ste...@20c.com ;

Re: [PDB Tech] Peeringdb sync problem

2020-05-22 Thread Jan.Boogman
Hi Stefan I upgraded now to python3 and have new errors, I tried with python3.6.9 and 3.8.3: pdb@pdb2:~$ peeringdb sync Syncing to https://www.peeringdb.com/api Updating resources: org fac net ix ixfac ixlan ixpfx netfac netixlan poc Fetching & updating all: org Updates to be processed: 4

Re: [PDB Tech] Peeringdb sync problem

2020-05-22 Thread Jan.Boogman
Hi Stefan yes, this is a possible. I'll upgrade to a new python and see if it helps Thanks Jan Von: Stefan Pratter Gesendet: Freitag, 22. Mai 2020 15:37 An: Boogman Jan, INI-ONE-WSN-EIS-SNS ; pdb-tech@lists.peeringdb.com Betreff: Re: AW: [PDB Tech] Peeringdb

Re: [PDB Tech] Peeringdb sync problem

2020-05-22 Thread Stefan Pratter
Python2.7 support was dropped with version 2.0 I believe officially supported versions are now 3.5, 3.6, 3.7 and 3.8 Is upgrading to python3 a possibility on your end? Stefan On 22/05/2020 16.32, jan.boog...@swisscom.com wrote: Hi Stefan I had 1.1.0 after upgrading I get this error:

Re: [PDB Tech] Peeringdb sync problem

2020-05-22 Thread Jan.Boogman
Hi Stefan I had 1.1.0 after upgrading I get this error: pdb@pdb2:~$ pip freeze | grep django-peeringdb django-peeringdb==2.0.0 pdb@pdb2:~$ peeringdb sync Traceback (most recent call last): File "/usr/local/bin/peeringdb", line 11, in sys.exit(main()) File

Re: [PDB Tech] Peeringdb sync problem

2020-05-22 Thread Stefan Pratter
Validation errors are often (not always) caused by the server's django-peeringdb version being ahead of your locally installed version. In other words the server treats something as valid, while the client doesn't. What's the output of `pip freeze | grep django-peeringdb` and if its < 2.0

Re: [PDB Tech] Peeringdb sync problem

2020-05-22 Thread Jan.Boogman
Hi Arnold, indeed, seems to be the same issue Cheers Jan Von: Arnold Nipper Gesendet: Freitag, 22. Mai 2020 12:09 Bis: Boogman Jan, INI-ONE-WSN-EIS-SNS; pdb-tech@lists.peeringdb.com Betreff: Re: [PDB Tech] Peeringdb sync problem Hi Jan On 22.05.2020 10:20,

Re: [PDB Tech] Peeringdb sync problem

2020-05-22 Thread Arnold Nipper
Hi Jan On 22.05.2020 10:20, jan.boog...@swisscom.com wrote: > every now and then I stumble over syncing problems like this, which seem > to be caused by bad data in the db: > looks like https://github.com/peeringdb/peeringdb-py/issues/38 to me. Could you please check? Cheers Arnold -- Keep

[PDB Tech] Peeringdb sync problem

2020-05-22 Thread Jan.Boogman
Hi every now and then I stumble over syncing problems like this, which seem to be caused by bad data in the db: pdb@pdb2:~$ peeringdb sync Syncing to https://www.peeringdb.com/api Updating resources: org fac net ix ixfac ixlan ixpfx netfac netixlan poc Fetching & updating all: org Updates to be