Bug #6462

Tails Installer fails to list USB stick with isohybrid Tails installed

Added by intrigeri 2013-12-01 06:15:33 . Updated 2013-12-11 08:16:35 .

Status:
Resolved
Priority:
Elevated
Assignee:
Category:
Installation
Target version:
Start date:
2013-12-01
Due date:
% Done:

100%

Feature Branch:
liveusb:bugfix/list_isohybrid
Type of work:
Code
Blueprint:

Starter:
0
Affected tool:
Deliverable for:

Description

[gui:422] drives: {'/dev/sda': {'size': 4007657472L, 'is_optical': False, 'vendor': u'Verbatim', 'fsversion': '', 'parent': None, 'bootable': False, 'mount': None, 'parent_size': None, 'mounted_partitions': set([]), 'free': None, 'label': u'TAILS_0.21_-_20131027', 'fstype': 'iso9660', 'parent_udi': None, 'device': '/dev/sda', 'model': u'STORE N GO', 'udi': '/org/freedesktop/UDisks/devices/sda', 'uuid': ''}}
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 586, in msg_reply_handler
    reply_handler(*message.get_args_list(**get_args_opts))
  File "/usr/lib/python2.6/dist-packages/liveusb/creator.py", line 724, in handle_reply
    callback()
  File "/usr/lib/python2.6/dist-packages/liveusb/gui.py", line 439, in add_devices
    'size': _format_bytes_in_gb(info['parent_size'])
  File "/usr/lib/python2.6/dist-packages/liveusb/utils.py", line 100, in _format_bytes_in_gb
    return '%0.1f GB' % (value / 10.0**9)
TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'

I guess this bug was introduced in the liveusb GUI improvements, so tentatively assigning to Alan.


Subtasks


History

#1 Updated by intrigeri 2013-12-01 06:16:01

  • Target version set to Tails_0.22

#2 Updated by alant 2013-12-02 03:34:33

  • Status changed from Confirmed to In Progress
  • % Done changed from 0 to 30
  • Feature Branch set to liveusb:bugfix/list_isohybrid

I belive this is fixed in liveusb:bugfix/list_isohybrid. I tested inside a running Tails but didn’t build a test package and ISO.

#3 Updated by intrigeri 2013-12-02 05:23:26

  • Assignee changed from alant to intrigeri
  • QA Check set to Ready for QA

#4 Updated by intrigeri 2013-12-05 02:42:27

  • Status changed from In Progress to Fix committed
  • QA Check changed from Ready for QA to Pass

Merged into testing & devel.

#5 Updated by intrigeri 2013-12-05 02:46:25

  • Assignee deleted (intrigeri)

#6 Updated by intrigeri 2013-12-06 02:09:28

  • % Done changed from 30 to 100

#7 Updated by intrigeri 2013-12-11 08:16:36

  • Status changed from Fix committed to Resolved

Fixed in 0.22.