Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2017 09:26:18 -0400
From:      "jim@ohlste.in" <jim@ohlste.in>
To:        freebsd-ports@freebsd.org, sunpoet@FreeBSD.org
Subject:   Regression in devel/py(27)-configargparse 0.12
Message-ID:  <96e4dbbb-bc66-4af0-cf97-89e99e9a7de8@ohlste.in>

next in thread | raw e-mail | index | archive | help
Hello,

This is a runtime dependency for py-certbot. Trying to check 
certificates I get the following error:

# certbot renew --dryrun
An unexpected error occurred:
AttributeError: 'tuple' object has no attribute 'add'
Please see the logfile 'certbot.log' for more details.

# cat certbot.log
Traceback (most recent call last):
   File "/usr/local/bin/certbot", line 11, in <module>
     load_entry_point('certbot==0.13.0', 'console_scripts', 'certbot')()
   File "/usr/local/lib/python2.7/site-packages/certbot/main.py", line 
738, in main
     args = cli.prepare_and_parse_args(plugins, cli_args)
   File "/usr/local/lib/python2.7/site-packages/certbot/cli.py", line 
1072, in prepare_and_parse_args
     helpful.add_deprecated_argument("--agree-dev-preview", 0)
   File "/usr/local/lib/python2.7/site-packages/certbot/cli.py", line 
726, in add_deprecated_argument
     self.parser.add_argument, argument_name, num_args)
   File "/usr/local/lib/python2.7/site-packages/certbot/util.py", line 
440, in add_deprecated_argument
     configargparse.ACTION_TYPES_THAT_DONT_NEED_A_VALUE.add(ShowWarning)
AttributeError: 'tuple' object has no attribute 'add'


Reverting to 0.11 fixes the issue.

-- 
Jim Ohlstein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?96e4dbbb-bc66-4af0-cf97-89e99e9a7de8>