Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on execution #16

Open
theoneandonly-vector opened this issue Mar 3, 2021 · 0 comments
Open

error on execution #16

theoneandonly-vector opened this issue Mar 3, 2021 · 0 comments

Comments

@theoneandonly-vector
Copy link

when I run:

cloudflare_ddns myemail myapi_key myrootdomain --proxied

I get this error:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/cloudflare_ddns/cloudflare.py", line 103, in setup_zone
    zone = [zone for zone in zones_content['result'] if zone['name'] == domain][0]
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/cloudflare-ddns", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/cloudflare_ddns/cloudflare.py", line 20, in main
    cf = CloudFlare(**vars(args))
  File "/usr/local/lib/python3.8/dist-packages/cloudflare_ddns/cloudflare.py", line 67, in __init__
    self.setup_zone()
  File "/usr/local/lib/python3.8/dist-packages/cloudflare_ddns/cloudflare.py", line 106, in setup_zone
    domain = domain_segments[-3] + "." + domain
IndexError: list index out of range
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant