Bug 567878 - ValueError: too many values to unpack
Summary: ValueError: too many values to unpack
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 13
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:1de0a9c999ac278a8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-24 08:00 UTC by shmuel siegel
Modified: 2010-06-17 11:13 UTC (History)
4 users (show)

Fixed In Version: anaconda-13.32-1.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 605172 (view as bug list)
Environment:
Last Closed: 2010-02-25 14:40:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (31.31 KB, text/plain)
2010-02-24 08:00 UTC, shmuel siegel
no flags Details
/tmp/*log.tgz (25.47 KB, application/x-gzip)
2010-02-24 16:14 UTC, James Laska
no flags Details

Description shmuel siegel 2010-02-24 08:00:15 UTC
The following was filed automatically by anaconda:
anaconda 13.29 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/yuminstall.py", line 236, in callback
ValueError: too many values to unpack

Comment 1 shmuel siegel 2010-02-24 08:00:20 UTC
Created attachment 395934 [details]
Attached traceback automatically from anaconda.

Comment 2 shmuel siegel 2010-02-24 11:53:10 UTC
I don't know why this is reported as Fedora 12. This comes from trying to install the alpha rc2 of fedora 13.

Comment 3 James Laska 2010-02-24 13:26:26 UTC
I get the same thing when attempting to upgrade from a minimal F-12 system using F-13-Alpha-RC2.  I also see a failure while attempting to present the error handling dialog.  I've opened that against python-meh (see bug#567963)

13:10:35 Please manually connect your vnc client to test1247.test.redhat.com:1 (10.10.10.247) to begin the install.
Press <enter> for a shell
13:10:36 Starting graphical installation.
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/meh/handler.py", line 162, in <lambda>
  File "/usr/lib/python2.6/site-packages/meh/handler.py", line 107, in handleException
  File "/usr/lib/anaconda/gui.py", line 1085, in mainExceptionWindow
ImportError: No module named ui.gui

Original exception was:
Traceback (most recent call last):
  File "/usr/lib/anaconda/yuminstall.py", line 236, in callback
ValueError: too many values to unpack
error: python callback <bound method AnacondaCallback.callback of <yuminstall.AnacondaCallback instance at 0x7fde1da12518>> failed, aborting!
/mnt/sysimage/var/lib/rpm: No such file or directory
/mnt/sysimage/var/lib/rpm: No such file or directory
install exited abnormally [1/1] 
The system will be rebooted when you press Ctrl-C or Ctrl-Alt-Delete.

Comment 4 Chris Lumens 2010-02-24 14:40:33 UTC
Can someone attach the syslog to this bug report?

Comment 5 James Laska 2010-02-24 16:14:25 UTC
Created attachment 396093 [details]
/tmp/*log.tgz

-rw-r--r-- root/root     11475 2010-02-24 11:11 tmp/anaconda.log
-rw-r--r-- root/root      3410 2010-02-24 11:12 tmp/minimon.log
-rw-r--r-- root/root     18767 2010-02-24 11:08 tmp/program.log
-rw-r--r-- root/root     61165 2010-02-24 11:12 tmp/storage.log
-rw-r--r-- root/root     42578 2010-02-24 11:12 tmp/syslog
-rwxr-xr-x root/root       880 2010-02-24 11:03 tmp/vncserver.log
-rw-r--r-- root/root      2459 2010-02-24 11:08 tmp/yum.log

Comment 6 James Laska 2010-02-24 17:58:53 UTC
While upgrades are not listed in the F-13-Alpha release criteria (https://fedoraproject.org/wiki/Fedora_13_Alpha_Release_Criteria), I suspect many people will attempt upgrades.  Adding keyword CommonBugs so adamw or I can document this issue for F-13-Alpha testers.

Comment 7 shmuel siegel 2010-02-24 18:33:55 UTC
In my case, this was very serious and should be avoided by alpha testers who don't have a throw away configuration. Upon rebooting, I had a configuration which wouldn't run. It has a very bad mixture of f12 and f13 components, over 300 dupes including kernel-PAE, fedora-release, gcc and cpp. Package-cleanup wants to delete too much so this is going to have to be cleaned by hand. I would strongly advise people to avoid upgrading until this is fixed.

Comment 8 Chris Lumens 2010-02-24 19:33:51 UTC
Looking at:

http://git.fedorahosted.org/git/?p=anaconda.git;a=blob;f=yuminstall.py;hb=HEAD#l233

You see that this only occurs on a couple cases in the RPM callback - all errors.  In testing, I hit this case a couple times during one upgrade.  The first time during package installation, h was a tuple like we're expecting.  The second time it happened is post-installation, I believe after rpm.RPM_CALLBACK_UNINST_START/STOP has been seen in the above case.  This second time through, h is the string "cyrus-sasl".

Any idea what's going on here?  Shouldn't we be getting the same type as argument in all cases?

Comment 9 James Antill 2010-02-24 21:10:26 UTC
Chris, this is "normal" for rpm, we have a bunch of code in yum to handle it now Eg.:

http://yum.baseurl.org/gitweb?p=yum.git;a=commitdiff;h=cf5765f74a23229abcc26b4e4cf5563b4d2cfeb6

Comment 10 Chris Lumens 2010-02-24 21:43:12 UTC
Sigh, okay.  Thanks for the pointer.

Comment 11 Fedora Update System 2010-02-25 21:41:49 UTC
anaconda-13.32-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/anaconda-13.32-1.fc13

Comment 12 Fedora Update System 2010-02-27 12:57:49 UTC
anaconda-13.32-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2010-02-28 14:45:44 UTC
anaconda-13.32-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2010-03-01 01:40:17 UTC
anaconda-13.32-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2010-03-02 00:59:22 UTC
anaconda-13.32-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 James Laska 2010-03-02 15:34:09 UTC
Removing CommonBugs keyword as this is already fixed in F-13-Alpha-RC4 (anaconda-13.32-1.fc13)

Comment 17 Fedora Update System 2010-03-03 01:59:17 UTC
anaconda-13.32-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2010-03-03 08:17:04 UTC
anaconda-13.32-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2010-03-04 00:22:08 UTC
anaconda-13.32-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 20 Fedora Update System 2010-03-04 01:32:39 UTC
anaconda-13.32-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 21 Fedora Update System 2010-03-05 03:32:15 UTC
anaconda-13.32-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


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