Hi,
I'm trying to configure this script on a new Raspberry Pi 4.
I already made some changes (i.e. adding () to the print command) but I still get these errors :
Traceback (most recent call last):
File "/home/pi/configs/gandi-live-dns/src/./gandi-live-dns.py", line 122, in <module>
main(args.force, args.verbose)
File "/home/pi/configs/gandi-live-dns/src/./gandi-live-dns.py", line 101, in main
dynIP = get_dynip(config.ifconfig)
File "/home/pi/configs/gandi-live-dns/src/./gandi-live-dns.py", line 24, in get_dynip
print('Checking dynamic IP: ' , r._content.strip('\n'))
TypeError: a bytes-like object is required, not 'str'
I'm not a developper, just an enthusiast and after several hours trying to understand what is the issue, I'm near to giving up.
Did someone as a clue ? Or can help me ?
Best regards,
Laurent
Hi,
I'm trying to configure this script on a new Raspberry Pi 4.
I already made some changes (i.e. adding () to the print command) but I still get these errors :
I'm not a developper, just an enthusiast and after several hours trying to understand what is the issue, I'm near to giving up.
Did someone as a clue ? Or can help me ?
Best regards,
Laurent