Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1691965 - [abrt] dnf: setValue(): conf.py:1855:setValue:NotImplementedError: Wrong number or type of arguments for overloaded function 'ConfigParser_setValue'.
Summary: [abrt] dnf: setValue(): conf.py:1855:setValue:NotImplementedError: Wrong numb...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 29
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Rohel
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:81bd7fd4c0a57dd2a786ed40b38...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-23 01:07 UTC by steubens
Modified: 2019-04-11 06:05 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)
File: _var_log_dnf.log (deleted)
2019-03-23 01:07 UTC, steubens
no flags Details
File: backtrace (deleted)
2019-03-23 01:07 UTC, steubens
no flags Details
File: cgroup (deleted)
2019-03-23 01:07 UTC, steubens
no flags Details
File: cpuinfo (deleted)
2019-03-23 01:07 UTC, steubens
no flags Details
File: dnf-makecache.log (deleted)
2019-03-23 01:07 UTC, steubens
no flags Details
File: environ (deleted)
2019-03-23 01:07 UTC, steubens
no flags Details
File: mountinfo (deleted)
2019-03-23 01:07 UTC, steubens
no flags Details
File: namespaces (deleted)
2019-03-23 01:07 UTC, steubens
no flags Details
File: open_fds (deleted)
2019-03-23 01:07 UTC, steubens
no flags Details

Description steubens 2019-03-23 01:07:31 UTC
Version-Release number of selected component:
dnf-4.2.1-1.fc29

Additional info:
reporter:       libreport-2.10.0
cmdline:        /usr/bin/python3 /usr/bin/dnf copr disable baggypants/Buzztraxx
crash_function: setValue
exception_type: NotImplementedError
executable:     /usr/bin/dnf
interpreter:    python3-3.7.2-4.fc29.x86_64
kernel:         4.20.15-200.fc29.x86_64
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
conf.py:1855:setValue:NotImplementedError: Wrong number or type of arguments for overloaded function 'ConfigParser_setValue'.
  Possible C/C++ prototypes are:
    libdnf::ConfigParser::setValue(std::string const &,std::string const &,std::string const &,std::string const &)
    libdnf::ConfigParser::setValue(std::string const &,std::string const &,std::string const &)
    libdnf::ConfigParser::setValue(std::string const &,std::string &&,std::string &&,std::string &&)
    libdnf::ConfigParser::setValue(std::string const &,std::string &&,std::string &&)


Traceback (most recent call last):
  File "/usr/bin/dnf", line 58, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 192, in user_main
    errcode = main(args)
  File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 64, in main
    return _main(base, args, cli_class, option_parser_class)
  File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 99, in _main
    return cli_run(cli, base)
  File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 115, in cli_run
    cli.run()
  File "/usr/lib/python3.7/site-packages/dnf/cli/cli.py", line 1128, in run
    return self.command.run()
  File "/usr/lib/python3.7/site-packages/dnf-plugins/copr.py", line 266, in run
    self._disable_repo(copr_username, copr_projectname)
  File "/usr/lib/python3.7/site-packages/dnf-plugins/copr.py", line 521, in _disable_repo
    self.base.conf.substitutions, {"enabled": 0})
  File "/usr/lib/python3.7/site-packages/dnf/conf/config.py", line 198, in write_raw_configfile
    parser.setValue(section_id, name, value)
  File "/usr/lib64/python3.7/site-packages/libdnf/conf.py", line 1855, in setValue
    return _conf.ConfigParser_setValue(self, *args)
NotImplementedError: Wrong number or type of arguments for overloaded function 'ConfigParser_setValue'.
  Possible C/C++ prototypes are:
    libdnf::ConfigParser::setValue(std::string const &,std::string const &,std::string const &,std::string const &)
    libdnf::ConfigParser::setValue(std::string const &,std::string const &,std::string const &)
    libdnf::ConfigParser::setValue(std::string const &,std::string &&,std::string &&,std::string &&)
    libdnf::ConfigParser::setValue(std::string const &,std::string &&,std::string &&)


Local variables in innermost frame:
self: <libdnf.conf.ConfigParser; proxy of <Swig Object of type 'libdnf::ConfigParser *' at 0x7f5a58aae450> >
args: ('baggypants-Buzztraxx', 'enabled', 0)

Comment 1 steubens 2019-03-23 01:07:47 UTC
Created attachment 1547179 [details]
File: _var_log_dnf.log

Comment 2 steubens 2019-03-23 01:07:48 UTC
Created attachment 1547180 [details]
File: backtrace

Comment 3 steubens 2019-03-23 01:07:49 UTC
Created attachment 1547181 [details]
File: cgroup

Comment 4 steubens 2019-03-23 01:07:50 UTC
Created attachment 1547182 [details]
File: cpuinfo

Comment 5 steubens 2019-03-23 01:07:53 UTC
Created attachment 1547183 [details]
File: dnf-makecache.log

Comment 6 steubens 2019-03-23 01:07:54 UTC
Created attachment 1547184 [details]
File: environ

Comment 7 steubens 2019-03-23 01:07:55 UTC
Created attachment 1547185 [details]
File: mountinfo

Comment 8 steubens 2019-03-23 01:07:56 UTC
Created attachment 1547186 [details]
File: namespaces

Comment 9 steubens 2019-03-23 01:07:57 UTC
Created attachment 1547187 [details]
File: open_fds

Comment 10 Ants Kärner 2019-03-28 14:47:13 UTC
*** Bug 1693736 has been marked as a duplicate of this bug. ***

Comment 11 Mai Ling 2019-04-11 06:05:39 UTC
is there any workaround for this?


Note You need to log in before you can comment on or make changes to this bug.