** Description changed: + [Impact] + On systems where zenity is not installed or otherwise fails to run, the network_check test crashes with an exception which may also trigger a bug report and is confusing to the user. + + The error message is: + network_check crashed with OSError in _execute_child(): [Errno 2] No such file or directory - ProblemType: Crash - DistroRelease: Ubuntu 11.10 + The development branch fixes this by properly catching the exception and + outputting a useful error message to stdout instead. That way the test + result will still be available even if zenity is not usable. + + [Test Case] + - Either uninstall zenity (undesirable because it also removes metacity and unity-2d) or render it inoperable by renaming the executable. + - Manually run /usr/share/checkbox/scripts/network_check + - An exception trace will appear and the user will be asked to report a problem. + + [Regression Potential] + A regression in the sense of the old behavior reoccurring is virtually impossible, as we're simply catching an exception that was previously being ignored. The new code is very unlikely to fail as it's just a print statement so no unrelated failures are introduced. + + + ProblemType: CrashDistroRelease: Ubuntu 11.10 Package: checkbox 0.12.8 ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4 Uname: Linux 3.0.0-12-generic x86_64 ApportVersion: 1.23-0ubuntu3 Architecture: amd64 CasperVersion: 1.287 CheckboxSubmission: 1be3304fd540677596ce7b85a36afa1b CheckboxSystem: d00f84de8a555815fa1c4660280da308 Date: Wed Apr 25 10:34:02 2012 ExecutablePath: /usr/share/checkbox/scripts/network_check InterpreterPath: /usr/bin/python2.7 LiveMediaBuild: Lubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012) ProcCmdline: /usr/bin/python /usr/share/checkbox/scripts/network_check ProcEnviron: - PATH=(custom, no user) - LANG=fr_FR.UTF-8 - SHELL=/bin/bash - PythonArgs: ['/usr/share/checkbox/scripts/network_check'] - SourcePackage: checkbox + PATH=(custom, no user) + LANG=fr_FR.UTF-8 + SHELL=/bin/bash + PythonArgs: ['/usr/share/checkbox/scripts/network_check']SourcePackage: checkbox Title: network_check crashed with OSError in _execute_child(): [Errno 2] No such file or directory UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/988260 Title: network_check crashed with OSError in _execute_child(): [Errno 2] No such file or directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/checkbox/+bug/988260/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
