Getting a traceback error #94

Closed
opened 2025-12-29 00:24:41 +01:00 by adam · 3 comments
Owner

Originally created by @GTAXL on GitHub (May 10, 2016).

[root@excession:letsencrypt.sh]./letsencrypt.sh -c -d excession.gtaxl.net -d irc.gtaxl.net -t dns-01 -k 'hooks/cloudflare/hook.py'

INFO: Using main config file /root/letsencrypt.sh/config.sh

  • Generating account key...
  • Registering account key with letsencrypt...
    Processing excession.gtaxl.net with alternative names: irc.gtaxl.net
    • Signing domains...
    • Creating new directory /root/letsencrypt.sh/certs/excession.gtaxl.net ...
    • Generating private key...
    • Generating signing request...
    • Requesting challenge for excession.gtaxl.net...
    • Requesting challenge for irc.gtaxl.net...
      Traceback (most recent call last):
      File "hooks/cloudflare/hook.py", line 14, in
      import dns.resolver
      File "/usr/local/lib/python2.7/dist-packages/dns/resolver.py", line 35, in
      import dns.message
      File "/usr/local/lib/python2.7/dist-packages/dns/message.py", line 191
      print('id %d' % self.id, file=s)
      ^
      SyntaxError: invalid syntax

I'm on Debian 8.4. Please help :(

Originally created by @GTAXL on GitHub (May 10, 2016). [root@excession:letsencrypt.sh]./letsencrypt.sh -c -d excession.gtaxl.net -d irc.gtaxl.net -t dns-01 -k 'hooks/cloudflare/hook.py' # INFO: Using main config file /root/letsencrypt.sh/config.sh - Generating account key... - Registering account key with letsencrypt... Processing excession.gtaxl.net with alternative names: irc.gtaxl.net - Signing domains... - Creating new directory /root/letsencrypt.sh/certs/excession.gtaxl.net ... - Generating private key... - Generating signing request... - Requesting challenge for excession.gtaxl.net... - Requesting challenge for irc.gtaxl.net... Traceback (most recent call last): File "hooks/cloudflare/hook.py", line 14, in <module> import dns.resolver File "/usr/local/lib/python2.7/dist-packages/dns/resolver.py", line 35, in <module> import dns.message File "/usr/local/lib/python2.7/dist-packages/dns/message.py", line 191 print('id %d' % self.id, file=s) ^ SyntaxError: invalid syntax I'm on Debian 8.4. Please help :(
adam closed this issue 2025-12-29 00:24:41 +01:00
Author
Owner

@GTAXL commented on GitHub (May 10, 2016):

I have no idea why Github formatted it like that, sorry.

@GTAXL commented on GitHub (May 10, 2016): I have no idea why Github formatted it like that, sorry.
Author
Owner

@rumpelsepp commented on GitHub (May 10, 2016):

Use three backticks:

hans
@rumpelsepp commented on GitHub (May 10, 2016): Use three backticks: ``` hans ```
Author
Owner

@lukas2511 commented on GitHub (May 11, 2016):

This is a problem with your hook script and not with letsencrypt.sh. I don't maintain any hook scripts.

@lukas2511 commented on GitHub (May 11, 2016): This is a problem with your hook script and not with letsencrypt.sh. I don't maintain any hook scripts.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#94