[Bug 397031] New: Automatic Configuration: Installation in VirtualBox prints: Argument "" isn't numeric in sprintf / usr/.../XLib.pm line 261
https://bugzilla.novell.com/show_bug.cgi?id=397031 Summary: Automatic Configuration: Installation in VirtualBox prints: Argument "" isn't numeric in sprintf /usr/.../XLib.pm line 261 Product: openSUSE 11.0 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: jdsn@novell.com ReportedBy: locilka@novell.com QAContact: jsrain@novell.com CC: coolo@novell.com Found By: --- Created an attachment (id=220053) --> (https://bugzilla.novell.com/attachment.cgi?id=220053) Screenshot of the error I've failed to find a duplicate... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397031 User locilka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397031#c1 --- Comment #1 from Lukas Ocilka <locilka@novell.com> 2008-06-04 05:19:15 MDT --- Created an attachment (id=220054) --> (https://bugzilla.novell.com/attachment.cgi?id=220054) YaST logs -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397031 User locilka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397031#c2 --- Comment #2 from Lukas Ocilka <locilka@novell.com> 2008-06-04 05:33:46 MDT --- sub getDisplaySize { ... my $traversal = $mDesktop->getDisplayTraversal(); ... if (defined $traversal) { $traversal = sprintf ("%.1f",$traversal); ^^^ defined but not numeric ... } } Experimentally confirmed, $traversal is really empty string... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397031 User locilka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397031#c3 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Major |Normal --- Comment #3 from Lukas Ocilka <locilka@novell.com> 2008-06-04 05:36:45 MDT --- Proposed patch --- cut --- Index: XLib.pm =================================================================== --- XLib.pm (revision 48062) +++ XLib.pm (working copy) @@ -257,7 +257,7 @@ my @result = ("undef"); my $traversal = $mDesktop->getDisplayTraversal(); my @ratio = @{$mDesktop->getDisplayRatio()}; - if (defined $traversal) { + if (defined $traversal && $traversal ne "") { $traversal = sprintf ("%.1f",$traversal); if ($traversal < 12.2) { $traversal = 10.0; --- cut --- Anyway, it doesn't break anything important. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397031 User jdsn@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=397031#c4 J. Daniel Schmidt <jdsn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #4 from J. Daniel Schmidt <jdsn@novell.com> 2008-07-23 08:46:36 MDT --- *** This bug has been marked as a duplicate of bug 388259 *** https://bugzilla.novell.com/show_bug.cgi?id=388259 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com