Feature #10581

Tails installer partition label not recognized in gui.py

Added by Anonymous 2015-11-19 03:10:22 . Updated 2015-11-19 08:43:07 .

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
Target version:
Start date:
2015-11-19
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Installer
Deliverable for:

Description

While working on Bug #10539, I realised that in tails_installer/gui.py a piece of code which is supposed to show the disk label does not work as intended:


478                 details = (_("%(size)s %(label)s") % {
479                                 'label': info['label'],
480                                 'size': size
481                             }
482                            if info['label']
483                            else size)
484                 pretty_name = _("%(vendor)s %(model)s (%(details)s) - %(device)s") % {
485                     'device':  info['device'],
486                     'vendor':  info['vendor'],
487                     'model':   info['model'],
488                     'details': details
489                 }

The part which shows the details is not shown at all and info[‘label’] seems to be not set.

I did not have time to dive into it yet in details.


Subtasks


History

#1 Updated by Anonymous 2015-11-19 04:58:38

  • Subject changed from Tails installer label code not working to Tails installer partition label not recognized in gui.py

#2 Updated by Anonymous 2015-11-19 05:33:16

  • Subject changed from Tails installer partition label not recognized in gui.py to Tails installer filesystem label not recognized in gui.py

This is the label set by dosfslabel intially.

#3 Updated by Anonymous 2015-11-19 05:45:26

  • Subject changed from Tails installer filesystem label not recognized in gui.py to Tails installer partition label not recognized in gui.py

#4 Updated by Anonymous 2015-11-19 08:08:57

Actually, this is most likely the same bug as Bug #10539.

#5 Updated by Anonymous 2015-11-19 08:43:07

  • Status changed from New to Duplicate

Confirmed as a duplicate.