Bug 706259 - RuntimeError: More keyword list entries (2) than format specifiers (1)
Summary: RuntimeError: More keyword list entries (2) than format specifiers (1)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 19
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:72f982fe38cff477e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-19 21:07 UTC by David Lehman
Modified: 2013-09-13 19:55 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-13 19:55:05 UTC
Type: ---


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (447.81 KB, text/plain)
2011-05-19 21:07 UTC, David Lehman
no flags Details

Description David Lehman 2011-05-19 21:07:30 UTC
The following was filed automatically by anaconda:
anaconda 16.7 exception report
Traceback (most recent call first):
  File "/tmp/updates/pyanaconda/storage/devicelibs/crypto.py", line 103, in luks_format
    cs.addKeyByVolumeKey(passphrase)
  File "/tmp/updates/pyanaconda/storage/formats/luks.py", line 204, in create
    key_size=self.key_size)
  File "/tmp/updates/pyanaconda/storage/deviceaction.py", line 429, in execute
    options=self.device.formatArgs)
  File "/tmp/updates/pyanaconda/storage/devicetree.py", line 315, in processActions
    action.execute(intf=self.intf)
  File "/tmp/updates/pyanaconda/storage/__init__.py", line 383, in doIt
    self.devicetree.processActions()
  File "/tmp/updates/pyanaconda/packages.py", line 122, in turnOnFilesystems
    anaconda.storage.doIt()
  File "/tmp/updates/pyanaconda/dispatch.py", line 229, in dispatch
    self.dir = step_func(self.anaconda)
  File "/tmp/updates/pyanaconda/dispatch.py", line 135, in go_forward
    self.dispatch()
  File "/tmp/updates/pyanaconda/gui.py", line 1204, in nextClicked
    self.anaconda.dispatch.go_forward()
RuntimeError: More keyword list entries (2) than format specifiers (1)

Comment 1 David Lehman 2011-05-19 21:07:45 UTC
Created attachment 499947 [details]
Attached traceback automatically from anaconda.

Comment 2 David Lehman 2011-05-19 21:11:34 UTC
It was setting up the new storage configuration, which was autopart with an encrypted lv_root.

Before that I had applied the following patch to fix another traceback:

diff --git a/pyanaconda/storage/devicelibs/crypto.py b/pyanaconda/storage/devicelibs/crypto.py
index b018b60..134e67f 100644
--- a/pyanaconda/storage/devicelibs/crypto.py
+++ b/pyanaconda/storage/devicelibs/crypto.py
@@ -91,8 +91,8 @@ def luks_format(device,
         cipherType = "".join(cparts[0:1])
         cipherMode = "-".join(cparts[1:])
     
-    if cipherType: kwargs["cipher"]  = cipherTy
-    if cipherMode: kwargs["cipherMode"]  = cipherMo
+    if cipherType: kwargs["cipher"]  = cipherType
+    if cipherMode: kwargs["cipherMode"]  = cipherMode
     if   key_size: kwargs["keysize"]  = key_size
 
     rc = cs.luksFormat(**kwargs)

Comment 3 Fedora End Of Life 2013-04-03 18:18:40 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 4 David Shea 2013-09-13 19:55:05 UTC
I'm going to assume this isn't an issue anymore


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