error when roundtripping r53 zone through cli53 #42

Closed
tomjack opened this Issue Sep 12, 2012 · 1 comment

2 participants

@tomjack

I'm trying to move a Route 53 zone across AWS accounts.

On the former account, I exported with cli53 export example.com > ~/bindfile.

When trying to import (on the latter account):

tom@braskami:~$ cli53 import -f ~/bindfile example.com
Traceback (most recent call last):
  File "/usr/local/bin/cli53", line 744, in <module>
    main()
  File "/usr/local/bin/cli53", line 741, in main
    args.func(args)
  File "/usr/local/bin/cli53", line 500, in cmd_import
    zone = dns.zone.from_text(text, origin=origin, check_origin=False)
  File "/usr/local/lib/python2.7/dist-packages/dns/zone.py", line 761, in from_text
    reader.read()
  File "/usr/local/lib/python2.7/dist-packages/dns/zone.py", line 710, in read
    self._rr_line()
  File "/usr/local/lib/python2.7/dist-packages/dns/zone.py", line 639, in _rr_line
    rd.choose_relativity(self.zone.origin, self.relativize)
  File "/usr/local/lib/python2.7/dist-packages/dns/rdtypes/nsbase.py", line 66, in choose_relativity
    self.target = self.target.choose_relativity(origin, relativize)
AttributeError: 'str' object has no attribute 'choose_relativity'

Any clue what's going on?

boto: 2.5.2
dnspython: 1.10.0
python: 2.7

@barnybug
Owner

No idea sorry. Please attach a minimum test case.

@barnybug barnybug closed this Oct 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment