Bug 11924 - draklive-install: partitioning error: Can't call method "grab_focus" on an undefined value at diskdrake/hd_gtk.pm line 118 (when there're several disks)
Summary: draklive-install: partitioning error: Can't call method "grab_focus" on an un...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard: 4beta2
Keywords:
Depends on:
Blocks: 11778
  Show dependency treegraph
 
Reported: 2013-12-07 22:51 CET by Dick Gevers
Modified: 2013-12-09 11:20 CET (History)
2 users (show)

See Also:
Source RPM: Mageia-4-beta2-LiveDVD-GNOME-x86_64-DVD.iso (3rd round prerelease)
CVE:
Status comment:


Attachments
the error described earlier (639.55 KB, image/jpeg)
2013-12-07 22:58 CET, Dick Gevers
Details
second diskdrake appears on top of first, as described (640.29 KB, image/jpeg)
2013-12-07 23:04 CET, Dick Gevers
Details

Description Dick Gevers 2013-12-07 22:51:39 CET
Description of problem:

 3rd prerelease round of beta2 (Live DVD Gnome 64 bits) still has roughly the same error as bug # 11779 (not a crash), but tv says it is a seaparate bug.

So I report (not from ddebug.log, because there isn;t any in LiveDVD):

Start install, choose:
Custom disk partitioning --> next 
and then appears an error message appears reading:
---
draklive-install
Partitioning failed: Can't call method "grab_focus" on an undefined value.
Ok.
---

Press 'Ok' and one gets again the diskdrake gui, on top of the previous one. Partitions now have colour and are normal size (not one mm anymore), but there are 2 diskdrake guis on top of each visible to the user.

When you choose *again* custom disk partitioning and "next", the warning to make a backup of your data or continue appears between the top and lower diskdrake guis, but you can't get it to focus, because the latest diskdrake gui has the focus. 

Also the top gui cannot now access the disks: nothing happens. Only quitting works.

Do this a few times and then you have only one diskdrake and one can continue. But by now the average user is feeling sufficiently insecure to not continue and give up.


I shall attach some screenprints.


Starting draklive-install-lock-storage as live, this is the result of stdout and stderr:
Too late to run INIT block at /usr/lib/perl5/vendor_perl/5.18.1/x86_64-linux-thread-multi/Glib/Object/Introspection.pm line 258.
Subroutine Gtk3::main redefined at /usr/lib/perl5/vendor_perl/5.18.1/Gtk3.pm line 304.
(draklive-install:3722): Gtk-CRITICAL **: gtk_widget_set_size_request: assertion 'width >= -1' failed
(draklive-install:3722): Gtk-CRITICAL **: gtk_widget_set_size_request: assertion 'width >= -1' failed
(draklive-install:3722): Gtk-CRITICAL **: gtk_widget_set_size_request: assertion 'width >= -1' failed
(draklive-install:3722): IBUS-WARNING **: The owner of /home/live/.config/ibus/bus is not root!


As suggested by DavidWHodgins I am adding output of blikd:
/dev/sda1: UUID="c74f4881-d46e-4257-89fc-2510bcd1d6c9" TYPE="ext4" PARTUUID="000494a8-01" 
/dev/sda5: UUID="69f0c92e-eb5e-4881-9f2f-f802457db850" TYPE="ext4" PARTUUID="000494a8-05" 
/dev/sda6: UUID="11c26a2d-1350-4714-8c6b-690824ad095f" TYPE="ext4" PARTUUID="000494a8-06" 
/dev/sda7: UUID="e73e0e27-560c-4e7b-aef1-f51189862908" TYPE="ext4" PARTUUID="000494a8-07" 
/dev/sda8: UUID="7ab2b0d5-b49a-439a-950c-c69866f6d81a" TYPE="ext4" PARTUUID="000494a8-08" 
/dev/sda9: UUID="e0b77f92-8ae4-4682-977b-9240edb8ccb7" TYPE="swap" PARTUUID="000494a8-09" 
/dev/sda10: UUID="8021ae68-4022-4f03-849d-ba5bf546930b" TYPE="ext4" PARTUUID="000494a8-0a" 
/dev/loop0: TYPE="squashfs" 
/dev/sr0: UUID="2013-12-06-16-26-06-00" LABEL="Mageia-4-GNOME-LiveDVD" TYPE="iso9660" PTUUID="1310d99c" PTTYPE="dos" 
/dev/sdb1: SEC_TYPE="msdos" UUID="C2F8-E4F2" TYPE="vfat" PARTUUID="c3072e18-01" 


and result of stdout and stderr of command: sfdisk -luS:
sfdisk: Warning: The partition table looks like it was made
  for C/H/S=*/129/32 (instead of 1018/62/62).
For this listing I'll assume that geometry.

Disk /dev/sda: 60801 cylinders, 255 heads, 63 sectors/track
Units: sectors of 512 bytes, counting from 0

   Device Boot    Start       End   #sectors  Id  System
/dev/sda1   *        63    240974     240912  83  Linux
/dev/sda2        240975 976768064  976527090   5  Extended
/dev/sda3             0         -          0   0  Empty
/dev/sda4             0         -          0   0  Empty
/dev/sda5        241038    319487      78450  83  Linux
/dev/sda6        321536  51470335   51148800  83  Linux
/dev/sda7      51472323 665862119  614389797  83  Linux
/dev/sda8     952204743 976768064   24563322  83  Linux
/dev/sda9     665862183 678135779   12273597  82  Linux swap / Solaris
/dev/sda10    678137856 952203263  274065408  83  Linux

Disk /dev/sdb: 1018 cylinders, 62 heads, 62 sectors/track
Units: sectors of 512 bytes, counting from 0

   Device Boot    Start       End   #sectors  Id  System
/dev/sdb1   *        32   3915775    3915744   6  FAT16
		end: (c,h,s) expected (948,75,32) found (956,128,32)
/dev/sdb2             0         -          0   0  Empty
/dev/sdb3             0         -          0   0  Empty
/dev/sdb4             0         -          0   0  Empty


Reproducible: 

Steps to Reproduce:
Dick Gevers 2013-12-07 22:55:00 CET

Summary: Mageia-4-beta2-LiveDVD-GNOME-x86_64-DVD.iso (3rd round prerelease) => draklive-install: partitioning error: Can't call method "grab_focus" on an undefined value
Source RPM: (none) => Mageia-4-beta2-LiveDVD-GNOME-x86_64-DVD.iso (3rd round prerelease)
Whiteboard: (none) => 4beta2

Comment 1 Dick Gevers 2013-12-07 22:58:16 CET
Created attachment 4593 [details]
the error described earlier
Comment 2 Dick Gevers 2013-12-07 23:04:17 CET
Created attachment 4594 [details]
second diskdrake appears on top of first, as described
Comment 3 Thierry Vignaud 2013-12-08 11:23:17 CET
Works fine in a regular desktop.
Please send by email where I can the the test ISO (URL, any needed password, ...)

Keywords: (none) => NEEDINFO
CC: (none) => thierry.vignaud, tmb

Comment 4 Dick Gevers 2013-12-08 12:05:46 CET
Setn to your address in cc.
Comment 5 Thierry Vignaud 2013-12-08 23:56:01 CET
I failed to reproduce this in vbox (using one disk)
Thierry Vignaud 2013-12-09 00:22:25 CET

Keywords: NEEDINFO => (none)
Summary: draklive-install: partitioning error: Can't call method "grab_focus" on an undefined value => draklive-install: partitioning error: Can't call method "grab_focus" on an undefined value (when there're several disks)

Thierry Vignaud 2013-12-09 00:36:00 CET

Summary: draklive-install: partitioning error: Can't call method "grab_focus" on an undefined value (when there're several disks) => draklive-install: partitioning error: Can't call method "grab_focus" on an undefined value at diskdrake/hd_gtk.pm line 118 (when there're several disks)

Comment 6 Thierry Vignaud 2013-12-09 04:28:01 CET
Workarounded

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Thierry Vignaud 2013-12-09 04:28:45 CET

Blocks: (none) => 11778

Comment 7 Dick Gevers 2013-12-09 06:05:52 CET
Thierry:

Thanks. To be sure I have to say there was a usb-disk inserted only for easily catching output and report the bug from another box: it happened also when there was just one HD (unless you mean "several disks" = "several disk partitions" ?).

HTH
Comment 8 Thierry Vignaud 2013-12-09 11:20:02 CET
No I really couldn't reproduce with only 1 hd

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