#49691 dsconf shows stack trace
Closed: wontfix 4 years ago Opened 4 years ago by mmuehlfeldrh.

Issue Description

dsconf crashes, regardless if you run it with or without options. The tool is not usable.

Package Version and Platform

Self compiled from master
1.4.0.9-20180515git68ecbff08

Steps to reproduce

  1. Run "dsconf"

Actual results

# dsconf 
Traceback (most recent call last):
  File "/usr/sbin/dsconf", line 80, in <module>
    cli_automember.create_parser(subparsers)
  File "/usr/lib/python3.6/site-packages/lib389/cli_conf/plugins/automember.py", line 127, in create_parser
    create_parser.add_argument("name", nargs='?', required=True ,help='Set cn for group entry.')
  File "/usr/lib64/python3.6/argparse.py", line 1316, in add_argument
    kwargs = self._get_positional_kwargs(*args, **kwargs)
  File "/usr/lib64/python3.6/argparse.py", line 1428, in _get_positional_kwargs
    raise TypeError(msg)
TypeError: 'required' is an invalid argument for positionals

Expected results

Command should not show an error.


Metadata Update from @mreynolds:
- Custom field component adjusted to None
- Custom field origin adjusted to None
- Custom field reviewstatus adjusted to None
- Custom field type adjusted to None
- Custom field version adjusted to None
- Issue close_status updated to: duplicate
- Issue set to the milestone: 1.4.0
- Issue status updated to: Closed (was: Open)

4 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/2750

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: duplicate)

2 years ago

Login to comment on this ticket.

Metadata