This repository was archived by the owner on Jul 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
This repository was archived by the owner on Jul 29, 2020. It is now read-only.
TypeError: cannot marshal None unless allow_none is enabled #18
Copy link
Copy link
Closed
Description
Hi there,
Thanks for creating this!
I was trying to use this with my domain (using the new gandi v5) and I get this error: TypeError: cannot marshal None unless allow_none is enabled.
Any idea ? :-)
Cheers
Full debug (IP redacted):
$ LOG_LEVEL=DEBUG ./gandi_dyndns.py
2017-08-12 22:07:10,457 [DEBUG] Loading config file...
2017-08-12 22:07:10,457 [DEBUG] Config file loaded.
2017-08-12 22:07:10,459 [DEBUG] Getting external IP...
2017-08-12 22:07:10,993 [DEBUG] Got IP from provider http://ipinfo.io/ip: 92.xxx.xxx.xxx
2017-08-12 22:07:11,137 [DEBUG] Got IP from provider http://ip-api.com/csv: 92.xxx.xxx.xxx
2017-08-12 22:07:11,465 [DEBUG] Got IP from provider http://ventrilo.com/myip.php: 92.xxx.xxx.xxx
2017-08-12 22:07:11,465 [DEBUG] External IP is: 92.xxx.xxx.xxx
2017-08-12 22:07:11,466 [DEBUG] Getting domain info for domain 'cosmico.net'...
2017-08-12 22:07:11,969 [DEBUG] Got domain info.
2017-08-12 22:07:11,969 [DEBUG] Getting zone records for live zone version...
Traceback (most recent call last):
File "./gandi_dyndns.py", line 357, in <module>
main(sys.argv)
File "./gandi_dyndns.py", line 353, in main
update_ip()
File "./gandi_dyndns.py", line 248, in update_ip
zone_records = gandi.domain.zone.record.list(zone_id, 0)
File "./gandi_dyndns.py", line 69, in __call__
return getattr(self.proxy, method)(*key_args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1233, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1585, in __request
allow_none=self.__allow_none)
File "/usr/lib/python2.7/xmlrpclib.py", line 1086, in dumps
data = m.dumps(params)
File "/usr/lib/python2.7/xmlrpclib.py", line 633, in dumps
dump(v, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 655, in __dump
f(self, value, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 659, in dump_nil
raise TypeError, "cannot marshal None unless allow_none is enabled"
TypeError: cannot marshal None unless allow_none is enabled
cavebeat
Metadata
Metadata
Assignees
Labels
No labels