Bug 1696851 - [abrt] dnf: setValue(): conf.py:1858:setValue:NotImplementedError: Wrong number or type of arguments for overloaded function 'ConfigParser_setValue'.
Summary: [abrt] dnf: setValue(): conf.py:1858:setValue:NotImplementedError: Wrong numb...
Keywords:
Status: CLOSED DUPLICATE of bug 1693551
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core
Version: 29
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:d1c9846c9b4e1e64a719ed2adb0...
: 1703914 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-05 18:38 UTC by Michael
Modified: 2019-04-29 06:01 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-08 05:30:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: _var_log_dnf.log (642.89 KB, text/plain)
2019-04-05 18:38 UTC, Michael
no flags Details
File: backtrace (2.10 KB, text/plain)
2019-04-05 18:38 UTC, Michael
no flags Details
File: cgroup (341 bytes, text/plain)
2019-04-05 18:38 UTC, Michael
no flags Details
File: cpuinfo (1.15 KB, text/plain)
2019-04-05 18:38 UTC, Michael
no flags Details
File: dnf-makecache.log (22.76 KB, text/plain)
2019-04-05 18:38 UTC, Michael
no flags Details
File: environ (2.16 KB, text/plain)
2019-04-05 18:38 UTC, Michael
no flags Details
File: mountinfo (3.79 KB, text/plain)
2019-04-05 18:38 UTC, Michael
no flags Details
File: namespaces (129 bytes, text/plain)
2019-04-05 18:38 UTC, Michael
no flags Details
File: open_fds (589 bytes, text/plain)
2019-04-05 18:38 UTC, Michael
no flags Details

Description Michael 2019-04-05 18:38:15 UTC
Version-Release number of selected component:
dnf-4.2.2-1.fc29

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

Truncated backtrace:
conf.py:1858: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 &)


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 1129, 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 1858, 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 &)


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

Comment 1 Michael 2019-04-05 18:38:32 UTC
Created attachment 1552672 [details]
File: _var_log_dnf.log

Comment 2 Michael 2019-04-05 18:38:33 UTC
Created attachment 1552673 [details]
File: backtrace

Comment 3 Michael 2019-04-05 18:38:34 UTC
Created attachment 1552674 [details]
File: cgroup

Comment 4 Michael 2019-04-05 18:38:36 UTC
Created attachment 1552675 [details]
File: cpuinfo

Comment 5 Michael 2019-04-05 18:38:38 UTC
Created attachment 1552676 [details]
File: dnf-makecache.log

Comment 6 Michael 2019-04-05 18:38:39 UTC
Created attachment 1552677 [details]
File: environ

Comment 7 Michael 2019-04-05 18:38:40 UTC
Created attachment 1552678 [details]
File: mountinfo

Comment 8 Michael 2019-04-05 18:38:42 UTC
Created attachment 1552679 [details]
File: namespaces

Comment 9 Michael 2019-04-05 18:38:43 UTC
Created attachment 1552680 [details]
File: open_fds

Comment 10 Marek Blaha 2019-04-08 05:30:22 UTC

*** This bug has been marked as a duplicate of bug 1693551 ***

Comment 11 Diogo Guerra 2019-04-29 06:01:18 UTC
*** Bug 1703914 has been marked as a duplicate of this bug. ***


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