Regression in devel/py(27)-configargparse 0.12

jim at ohlste.in jim at ohlste.in
Sun May 14 13:26:21 UTC 2017


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


More information about the freebsd-ports mailing list