Closed byroncollins closed 3 years ago
Hi @byroncollins I haven't seen this error before:
EXCEPTION OCCURRED: 'Resolver' object has no attribute 'resolve'
My best guess is that you may have an older version of the dnspython
dependency. Can you try running this command to see if it solves the issue for you?
pip3 install dnspython --upgrade
Thanks dnspython was on 1.16.0 and upgraded to 2.1.0 and now cvdupdate works.
byronc@byronc-lt001:~/.cvdupdate$ pip3 install --upgrade cvdupdate
Requirement already up-to-date: cvdupdate in /home/byronc/.local/lib/python3.8/site-packages (0.3.0)
Requirement already satisfied, skipping upgrade: click>=7.0 in /usr/lib/python3/dist-packages (from cvdupdate) (7.0)
Requirement already satisfied, skipping upgrade: colorama in /usr/lib/python3/dist-packages (from cvdupdate) (0.4.3)
Requirement already satisfied, skipping upgrade: requests in /usr/lib/python3/dist-packages (from cvdupdate) (2.22.0)
Requirement already satisfied, skipping upgrade: rangehttpserver in /home/byronc/.local/lib/python3.8/site-packages (from cvdupdate) (1.2.0)
Requirement already satisfied, skipping upgrade: coloredlogs>=10.0 in /home/byronc/.local/lib/python3.8/site-packages (from cvdupdate) (15.0)
Requirement already satisfied, skipping upgrade: dnspython in /home/byronc/.local/lib/python3.8/site-packages (from cvdupdate) (2.1.0)
Requirement already satisfied, skipping upgrade: humanfriendly>=9.1 in /home/byronc/.local/lib/python3.8/site-packages (from coloredlogs>=10.0->cvdupdate) (9.1)
and cvdupdate
byronc@byronc-lt001:~/.cvdupdate$ cvd update
2021-03-22 10:46:13 cvdupdate-0.3.0 INFO Downloaded main-59.cdiff
2021-03-22 10:46:22 cvdupdate-0.3.0 INFO Downloaded main.cvd. Version: 59
2021-03-22 10:46:23 cvdupdate-0.3.0 INFO Downloaded daily-26116.cdiff
2021-03-22 10:46:30 cvdupdate-0.3.0 INFO Downloaded daily.cvd. Version: 26116
2021-03-22 10:46:30 cvdupdate-0.3.0 INFO Downloaded bytecode-333.cdiff
2021-03-22 10:46:31 cvdupdate-0.3.0 INFO Downloaded bytecode.cvd. Version: 333
Do you need to and a minimum version to the dnspython requirement in setup.py?
Cheers Byron
vcdupdate isn't working for us as the DNS entry current.cvd.clamav.net doesn't resolve
dig doesn't resolve DNS
when running vcd update