Bug 882437

Summary: [abrt] fedup-0.7.1-1.fc17: grubby.py:63:get_entry:TypeError: __new__() takes exactly 7 arguments (6 given)
Product: [Fedora] Fedora Reporter: Thomas Meyer <thomas.mey>
Component: fedupAssignee: Will Woods <wwoods>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:a41633d9d7bf0f483f22cc18e1889351171f8fe6
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-03 22:26:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: executable
none
File: environ
none
File: core_backtrace
none
File: smolt_data none

Description Thomas Meyer 2012-11-30 23:18:58 UTC
Description of problem:
I mounted an ISO image with the loop device and started 'fedup --device'

Version-Release number of selected component:
fedup-0.7.1-1.fc17

Additional info:
libreport version: 2.0.18
abrt_version:   2.0.18
cmdline:        /usr/bin/python /usr/bin/fedup-cli --device
kernel:         3.6.7-4.fc17.x86_64

backtrace:
:grubby.py:63:get_entry:TypeError: __new__() takes exactly 7 arguments (6 given)
:
:Traceback (most recent call last):
:  File "/usr/bin/fedup-cli", line 285, in <module>
:    main(args)
:  File "/usr/bin/fedup-cli", line 257, in main
:    prep_boot(kernel, initrd)
:  File "/usr/lib/python2.7/site-packages/fedup/download.py", line 373, in prep_boot
:    modify_bootloader(kernel, initrd)
:  File "/usr/lib/python2.7/site-packages/fedup/download.py", line 356, in modify_bootloader
:    for e in bootloader.get_entries():
:  File "/usr/lib/python2.7/site-packages/fedup/grubby.py", line 69, in get_entries
:    ents.append(self.get_entry(n))
:  File "/usr/lib/python2.7/site-packages/fedup/grubby.py", line 63, in get_entry
:    return GrubbyEntry(**info)
:TypeError: __new__() takes exactly 7 arguments (6 given)
:
:Local variables in innermost frame:
:info: {'index': 3, 'args': '"rootfstype=ext4 rootflags=data=writeback ro quiet rhgb"', 'root': '/dev/sda3', 'title': 'Linux 3.6.y', 'kernel': '/boot/vmlinuz-3.6.2'}
:index: 3
:val: ''
:k: ''
:line: ''
:eq: ''
:self: <fedup.grubby.Grubby object at 0x7f8b18b87190>
:out: 'index=3\nkernel=/boot/vmlinuz-3.6.2\nargs="rootfstype=ext4 rootflags=data=writeback ro quiet rhgb"\nroot=/dev/sda3\ntitle=Linux 3.6.y\n'

Comment 1 Thomas Meyer 2012-11-30 23:19:01 UTC
Created attachment 655346 [details]
File: executable

Comment 2 Thomas Meyer 2012-11-30 23:19:02 UTC
Created attachment 655347 [details]
File: environ

Comment 3 Thomas Meyer 2012-11-30 23:19:04 UTC
Created attachment 655348 [details]
File: core_backtrace

Comment 4 Thomas Meyer 2012-11-30 23:19:06 UTC
Created attachment 655349 [details]
File: smolt_data

Comment 5 Thomas Meyer 2012-12-01 09:37:28 UTC
Okay, I could circumvent this problem by commenting out my custom boot entries in grub, which boot my self-compiled kernel. This entries are missing the initrd line, because I boot directly into systemd.

Comment 6 Will Woods 2012-12-03 22:26:02 UTC

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