Bug 12626 - drakpxelinux crashed (Can't locate object method "new" via package "Gtk3::ItemFactory" )
Summary: drakpxelinux crashed (Can't locate object method "new" via package "Gtk3::Ite...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: x86_64 Linux
Priority: High normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks: 11778
  Show dependency treegraph
 
Reported: 2014-02-06 08:42 CET by john gibbe
Modified: 2014-11-19 12:05 CET (History)
2 users (show)

See Also:
Source RPM: drakpxelinux-1.3-1.mga4
CVE:
Status comment:


Attachments

Description john gibbe 2014-02-06 08:42:33 CET
The "drakpxelinux" program crashed. Drakbug-16.26.7 caught it.

Error appear when trying to parameter pxelinux on a fresh mageia4 virtualbox server.
(I had also other bugs:
drakwizard is needed to configure dhcpd but is not in the dependencies of drakpxelinux package. I had to install it manually)
drakwizard do not allow to select the new name for 'eth0' which is now 'enp0s3'
)
Can't locate object method "new" via package "Gtk3::ItemFactory" (perhaps you forgot to load "Gtk3::ItemFactory"?) at /usr/sbin/drakpxelinux line 1139.
Perl's trace:
standalone::bug_handler() called from /usr/sbin/drakpxelinux:1139

Theme name: oxygen-gtk
Kernel version = 3.12.8-desktop-2.mga4
Distribution=Mageia release 4 (Official) for x86_64
CPU=Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
john gibbe 2014-02-06 14:57:06 CET

CC: (none) => john.gibbe

Manuel Hiebel 2014-02-06 16:36:04 CET

Keywords: (none) => Triaged
Assignee: bugsquad => thierry.vignaud
Summary: drakpxelinux crashed => drakpxelinux crashed (Can't locate object method "new" via package "Gtk3::ItemFactory" )

Comment 1 nexus nexus 2014-08-03 12:40:00 CEST
I have the same problem ater run drakpxelinux:
"Can't locate object method "new" via package "Gtk3::ItemFactory" (perhaps you forgot to load "Gtk3::ItemFactory"?) at /usr/sbin/drakpxelinux line 1139.
  Perl's trace:
  standalone::bug_handler() called from /usr/sbin/drakpxelinux:1139"

Is possible fix it?

CC: (none) => nexus9
Priority: Normal => High

Thierry Vignaud 2014-08-17 18:47:14 CEST

Blocks: (none) => 11778

Comment 2 Thierry Vignaud 2014-08-17 21:29:18 CEST
Fixed in git and in drakpxelinux-1.4

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

Comment 3 nexus nexus 2014-08-19 12:18:57 CEST
What I did:
- add "Core Update Testing" to repository
- uninstall old drakpxelinux
- install drakpxelinux-1.4
- login as root
- run drakpxelinux
and I see a error:
"Subroutine Gtk3::main redefined at /usr/lib/perl5/vendor_perl/5.18.1/Gtk3.pm line 296.
 - Backup of /var/lib/tftpboot/X86PC/linux/pxelinux.cfg/default configuration
INTERNAL ERROR: gtkset ComboBoxText: unknown class
MDK::Common::Various::internal_error() called from /usr/lib/libDrakX/mygtk3.pm:106
mygtk3::_gtk() called from /usr/lib/libDrakX/mygtk3.pm:57
mygtk3::gtkset() called from ./drakpxelinux:1011
main::refresh_profiles() called from ./drakpxelinux:1264"

Something else must be wrong.

Resolution: FIXED => INVALID

Comment 4 Thierry Vignaud 2014-08-19 21:13:51 CEST
you need to update draxtools too

Resolution: INVALID => FIXED

Comment 5 nexus nexus 2014-08-20 12:49:11 CEST
Is better but if I try:
- run drakpxelinux as root
- add PXE entry in default profile
- select new entry
- click on button "Edit PXE entry"
window closed and I see a error:
"  undefined value for mandatory argument 'text' encountered at ./drakpxelinux line 476.
  Perl's trace:
  standalone::bug_handler() called from /usr/lib/perl5/vendor_perl/5.18.1/Gtk3.pm:295
  Gtk3::__ANON__() called from ./drakpxelinux:1267"

Resolution: FIXED => INVALID

Comment 6 Thierry Vignaud 2014-08-20 13:23:09 CEST
Please stop that.
"INVALID" means the bug report is invalid.

Anyway the reported issue is fixed. drakpxelinux does start now.

Please open another bug report for the newly discoverd issue.
(Mixing different issues in the same bug report make reports unreadable).

Thanks.

Resolution: INVALID => FIXED

Comment 7 nexus nexus 2014-08-20 18:10:32 CEST
OK and Thanks
Comment 8 Thierry Vignaud 2014-08-20 20:07:43 CEST
you can update to 1.5
Comment 9 nexus nexus 2014-08-21 20:09:20 CEST
Thanks
In 1.5 work without error in "Edit PXE entry".
Comment 10 David Walser 2014-11-18 21:45:56 CET
This update was never released.  Please provide an advisory and assign to QA.

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

Comment 11 David Walser 2014-11-18 21:55:01 CET
Just a helpful reminder that tv added something in the drakxtools package that was needed for this update, so be sure to include that in the package list when/if this is assigned to QA.
Comment 12 Thierry Vignaud 2014-11-19 12:05:42 CET
The issue is fixed.
The advisory is in bug #14604

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


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