installer: partman_auto.py: need more than 1 value to unpack

Bug #95734 reported by mherweg
This bug report is a duplicate of:  Bug #95400: resize logic not 64-bit clean. Edit Remove
2
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Incomplete
Undecided
Colin Watson

Bug Description

Binary package hint: ubiquity

kubunut 7.04 beta installer Step4 of 6:

Mar 25 00:44:09 ubiquity: Setting keyboard layout: pc105 de nodeadkeys []

QSocketNotifier: Invalid socket 17 and type 'Read', disabling...
QSocketNotifier: Invalid socket 17 and type 'Read', disabling...
QSocketNotifier: Invalid socket 17 and type 'Exception', disabling...
Mar 25 00:44:14 ubiquity: Starting up '['log-output', '-t', 'ubiquity', '--pass-stdout', '/bin/partman']' for ubiquity.components.partman.Partman

Mar 25 00:44:14 ubiquity: Watching for question patterns ^partman-auto/.*automatically_partition$, ^partman-auto/select_disk$, ^partman-partitioning/new_size$, ^partman/choose_partition$, ^partman/confirm.*, type:boolean, ERROR, PROGRESS, ^partman/confirm
_new_label$, ^partman/free_space$, ^partman/active_partition$, ^partman-partitioning/new_partition_(size|type|place)$, ^partman-partitioning/confirm_resize$, ^partman-partitioning/new_size$, ^partman-target/choose_method$, ^partman-basicfilesystems/(fat_m
ountpoint|mountpoint|mountpoint_manual)$, ^partman/exception_handler$, ^partman/exception_handler_note$

Mar 25 00:44:15 ubiquity: Partman: update_partitions = None
Mar 25 00:44:15 ubiquity: Partman: update_partitions = None
Mar 25 00:44:15 ubiquity: Partman: update_partitions = None
Mar 25 00:44:15 ubiquity: Partman: update_partitions = None
Mar 25 00:44:15 ubiquity: Partman: update_partitions = None
Mar 25 00:44:16 ubiquity: Partman: update_partitions = None
Mar 25 00:44:16 ubiquity: Partman: update_partitions = None
Mar 25 00:44:16 ubiquity: Partman: update_partitions = None

Mar 25 00:44:16 ubiquity: Partman: update_partitions = None
Mar 25 00:44:16 ubiquity: Partman: update_partitions = None
Mar 25 00:44:16 ubiquity: Partman: update_partitions = None
Mar 25 00:44:17 ubiquity: Partman: update_partitions = None
Mar 25 00:44:17 ubiquity: Partman: update_partitions = None
Mar 25 00:44:17 ubiquity: Partman: update_partitions = None
Mar 25 00:44:17 ubiquity: Partman: update_partitions = None
Mar 25 00:44:17 ubiquity: Partman: update_partitions = None
Mar 25 00:44:17 ubiquity: Partman: update_partitions = None
Mar 25 00:44:18 ubiquity: Partman: update_partitions = None
Mar 25 00:44:18 ubiquity: Partman: state = [['', None, None]]
Exception in KDE frontend (invoking crash handler):
Traceback (most recent call last):
  File "/usr/lib/ubiquity/ubiquity/frontend/kde-ui.py", line 1339, in watch_debconf_fd_helper_read
    self.debconf_callbacks[source](source, debconf_condition)
  File
"/usr/lib/ubiquity/ubiquity/filteredcommand.py", line 176, in process_input
    if not self.process_line():
  File "/usr/lib/ubiquity/ubiquity/filteredcommand.py", line 110, in process_line
    return self.dbfilter.process_line()
  File "/usr/lib/ubiquity
/ubiquity/debconffilter.py", line 268, in process_line
    widget.subst(question, key, value)
  File "/usr/lib/ubiquity/ubiquity/components/partman.py", line 228, in subst
    PartmanAuto.subst(self, question, key, value)
  File "/usr/lib/ubiquity/ubiquit
y/components/partman_auto.py", line 99, in subst
    self.resize_min_size = self.parse_size(value)
  File "/usr/lib/ubiquity/ubiquity/components/partman_auto.py", line 81, in parse_size
    (size_int, size_frac) = num.split('.', 1)
ValueError: need more t
han 1 value to unpack

before it did work on the same machine, but the installation crashed later.
fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot Start End Blocks Id System
/dev/sda1 1 2432 19535008+ 83 Linux
/dev/sda2 2433 19457 136753312+ 5 Extended
/dev/sda5 2433 3648 9767488+ 83 Linux
/dev/sda6 3649 6080 19535008+ 83 Linux
/dev/sda7 6081 15806 78124063+ 83 Linux
/dev/sda8 15807 16049 1951866 82 Linux swap / Solaris
/dev/sda9 16050 16657 4883728+ 83 Linux
/dev/sda10 16658 17265 4883728+ 83 Linux
/dev/sda11 17266 17873 4883728+ 83 Linux
/dev/sda12 17874 19457 12723448+ 83 Linux

sda12 is a dmcrypt-partition

mherweg (m-herweg)
description: updated
Revision history for this message
Colin Watson (cjwatson) wrote :

This is odd; I can't see from the code why this would be happening. Could you start the installer with 'ubiquity --debug' from a Konsole window, reproduce this problem, and attach /var/log/installer/debug, /var/log/syslog, and /var/log/partman to this bug, following the directions in http://wiki.ubuntu.com/DebuggingUbiquity/AttachingLogs? Thanks in advance.

Changed in ubiquity:
assignee: nobody → kamion
status: Unconfirmed → Needs Info
Revision history for this message
mherweg (m-herweg) wrote :
Revision history for this message
mherweg (m-herweg) wrote :
Revision history for this message
mherweg (m-herweg) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

Thanks for that. This is also bug 95400, which I'll fix shortly.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.