[Group.of.nepali.translators] [Bug 1428297] Re: update-manager crashed with OSError in _get_application_for_package(): [Errno 5] Eingabe-/Ausgabefehler

2017-08-28 Thread Launchpad Bug Tracker
This bug was fixed in the package update-manager - 1:17.04.6

---
update-manager (1:17.04.6) zesty; urgency=medium

  * UpdateManager/Core/UpdateList.py: Instead of trying to print an error
when trying to find the desktop file log it. (LP: #1428297)
  * tests/test_update_origin.py: This does not need to be architecture
specific so just set the arch to amd64 like test_update_list.py. Replace
references to lucid with xenial as lucid is no longer on the archive.
  * tests/test_utils.py: mock /proc/net/tcp and processes in proc so that we
are testing the code and not the system under test.
  * tests/test_cache.py: pass an empty list when getting a changelog for 3rd
party packages.
  * tests/test_hwe_support_status.py: port to python3.
  * tests/test_meta_release_core.py: switch to a site that works with no proxy
in the autopkgtest environment.
  * Resolve pep8 and pyflakes issues.

 -- Brian Murray   Thu, 10 Aug 2017 13:58:50 -0700

** Changed in: update-manager (Ubuntu Zesty)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1428297

Title:
  update-manager crashed with OSError in _get_application_for_package():
  [Errno 5] Eingabe-/Ausgabefehler

Status in update-manager package in Ubuntu:
  Fix Released
Status in update-manager source package in Xenial:
  Fix Released
Status in update-manager source package in Zesty:
  Fix Released
Status in update-manager source package in Artful:
  Fix Released

Bug description:
  [Impact]
  Users are experiencing a crash when there is a failure to load the desktop 
file for a package while updating packages with update-manager.  This crash is 
handled with an exception but the action for the exception is to print a 
message (which causes an OSError Traceback) but it really should be logged. The 
crash is causing a lot of noise as people are receiving crash dialogs about it 
regularly.

  [Test Case]
  Its not clear to me which packages to update to recreate the crash however 
the bucket in the Error Tracker, 
https://errors.ubuntu.com/bucket/?id=/usr/bin/update-manager%3AOSError%3A_get_application_for_package%3A/usr/bin/update-manager%40121%3Astart_update%3Astart_available%3Arefresh_cache%3Aupdate%3A_make_groups%3A_get_application_for_package,
 has a sufficient number of crashes that occur quite frequently that we should 
be able to prove that the new version is not affected.

  [Regression Potential]
  The print() is just changing to a logging.warning() a regression would be 
possible if I were to have mistyped the patch.

  ---

  ProblemType: CrashDistroRelease: Ubuntu 15.04
  Package: update-manager 1:15.04.2
  ProcVersionSignature: Ubuntu 3.19.0-7.7-generic 3.19.0
  Uname: Linux 3.19.0-7-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.16.2-0ubuntu1
  Aptdaemon:

  Architecture: i386
  CrashCounter: 1
  Date: Wed Mar  4 21:02:29 2015
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/update-manager
  GsettingsChanges:
   b'com.ubuntu.update-manager' b'window-height' b'371'
   b'com.ubuntu.update-manager' b'first-run' b'false'
   b'com.ubuntu.update-manager' b'window-width' b'439'
   b'com.ubuntu.update-manager' b'launch-time' b'1425499338'
  InstallationDate: Installed on 2013-02-10 (752 days ago)
  InstallationMedia: Xubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.1)
  InterpreterPath: /usr/bin/python3.4
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/bin/update-manager --no-update 
--no-focus-on-map
  PythonArgs: ['/usr/bin/update-manager', '--no-update', 
'--no-focus-on-map']SourcePackage: update-manager
  Title: update-manager crashed with OSError in _get_application_for_package(): 
[Errno 5] Eingabe-/Ausgabefehler
  UpgradeStatus: Upgraded to vivid on 2015-02-27 (5 days ago)
  UserGroups: adm cdrom dip fuse lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1428297/+subscriptions

___
Mailing list: https://launchpad.net/~group.of.nepali.translators
Post to : group.of.nepali.translators@lists.launchpad.net
Unsubscribe : https://launchpad.net/~group.of.nepali.translators
More help   : https://help.launchpad.net/ListHelp


[Group.of.nepali.translators] [Bug 1428297] Re: update-manager crashed with OSError in _get_application_for_package(): [Errno 5] Eingabe-/Ausgabefehler

2017-08-28 Thread Launchpad Bug Tracker
This bug was fixed in the package update-manager - 1:16.04.9

---
update-manager (1:16.04.9) xenial; urgency=medium

  * UpdateManager/Core/UpdateList.py: Instead of trying to print an error
when trying to find the desktop file log it. (LP: #1428297)
  * tests/test_update_origin.py: This does not need to be architecture
specific so just set the arch to amd64 like test_update_list.py. Replace
references to lucid with xenial as lucid is no longer on the archive.
  * tests/test_utils.py: mock /proc/net/tcp and processes in proc so that we
are testing the code and not the system under test.
  * tests/test_cache.py: pass an empty list when getting a changelog for 3rd
party packages.
  * tests/test_hwe_support_status.py: port to python3.
  * tests/test_meta_release_core.py: switch to a site that works with no proxy
in the autopkgtest environment.
  * Resolve pep8 and pyflakes issues.

 -- Brian Murray   Thu, 10 Aug 2017 15:08:15 -0700

** Changed in: update-manager (Ubuntu Xenial)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1428297

Title:
  update-manager crashed with OSError in _get_application_for_package():
  [Errno 5] Eingabe-/Ausgabefehler

Status in update-manager package in Ubuntu:
  Fix Released
Status in update-manager source package in Xenial:
  Fix Released
Status in update-manager source package in Zesty:
  Fix Released
Status in update-manager source package in Artful:
  Fix Released

Bug description:
  [Impact]
  Users are experiencing a crash when there is a failure to load the desktop 
file for a package while updating packages with update-manager.  This crash is 
handled with an exception but the action for the exception is to print a 
message (which causes an OSError Traceback) but it really should be logged. The 
crash is causing a lot of noise as people are receiving crash dialogs about it 
regularly.

  [Test Case]
  Its not clear to me which packages to update to recreate the crash however 
the bucket in the Error Tracker, 
https://errors.ubuntu.com/bucket/?id=/usr/bin/update-manager%3AOSError%3A_get_application_for_package%3A/usr/bin/update-manager%40121%3Astart_update%3Astart_available%3Arefresh_cache%3Aupdate%3A_make_groups%3A_get_application_for_package,
 has a sufficient number of crashes that occur quite frequently that we should 
be able to prove that the new version is not affected.

  [Regression Potential]
  The print() is just changing to a logging.warning() a regression would be 
possible if I were to have mistyped the patch.

  ---

  ProblemType: CrashDistroRelease: Ubuntu 15.04
  Package: update-manager 1:15.04.2
  ProcVersionSignature: Ubuntu 3.19.0-7.7-generic 3.19.0
  Uname: Linux 3.19.0-7-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.16.2-0ubuntu1
  Aptdaemon:

  Architecture: i386
  CrashCounter: 1
  Date: Wed Mar  4 21:02:29 2015
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/update-manager
  GsettingsChanges:
   b'com.ubuntu.update-manager' b'window-height' b'371'
   b'com.ubuntu.update-manager' b'first-run' b'false'
   b'com.ubuntu.update-manager' b'window-width' b'439'
   b'com.ubuntu.update-manager' b'launch-time' b'1425499338'
  InstallationDate: Installed on 2013-02-10 (752 days ago)
  InstallationMedia: Xubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.1)
  InterpreterPath: /usr/bin/python3.4
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/bin/update-manager --no-update 
--no-focus-on-map
  PythonArgs: ['/usr/bin/update-manager', '--no-update', 
'--no-focus-on-map']SourcePackage: update-manager
  Title: update-manager crashed with OSError in _get_application_for_package(): 
[Errno 5] Eingabe-/Ausgabefehler
  UpgradeStatus: Upgraded to vivid on 2015-02-27 (5 days ago)
  UserGroups: adm cdrom dip fuse lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1428297/+subscriptions

___
Mailing list: https://launchpad.net/~group.of.nepali.translators
Post to : group.of.nepali.translators@lists.launchpad.net
Unsubscribe : https://launchpad.net/~group.of.nepali.translators
More help   : https://help.launchpad.net/ListHelp


[Group.of.nepali.translators] [Bug 1428297] Re: update-manager crashed with OSError in _get_application_for_package(): [Errno 5] Eingabe-/Ausgabefehler

2017-08-10 Thread Brian Murray
** Also affects: update-manager (Ubuntu Zesty)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1428297

Title:
  update-manager crashed with OSError in _get_application_for_package():
  [Errno 5] Eingabe-/Ausgabefehler

Status in update-manager package in Ubuntu:
  Fix Released
Status in update-manager source package in Xenial:
  Triaged
Status in update-manager source package in Zesty:
  Triaged
Status in update-manager source package in Artful:
  Fix Released

Bug description:
  ---

  ProblemType: Crash
  DistroRelease: Ubuntu 15.04
  Package: update-manager 1:15.04.2
  ProcVersionSignature: Ubuntu 3.19.0-7.7-generic 3.19.0
  Uname: Linux 3.19.0-7-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.16.2-0ubuntu1
  Aptdaemon:
   
  Architecture: i386
  CrashCounter: 1
  Date: Wed Mar  4 21:02:29 2015
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/update-manager
  GsettingsChanges:
   b'com.ubuntu.update-manager' b'window-height' b'371'
   b'com.ubuntu.update-manager' b'first-run' b'false'
   b'com.ubuntu.update-manager' b'window-width' b'439'
   b'com.ubuntu.update-manager' b'launch-time' b'1425499338'
  InstallationDate: Installed on 2013-02-10 (752 days ago)
  InstallationMedia: Xubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.1)
  InterpreterPath: /usr/bin/python3.4
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/bin/update-manager --no-update 
--no-focus-on-map
  PythonArgs: ['/usr/bin/update-manager', '--no-update', '--no-focus-on-map']
  SourcePackage: update-manager
  Title: update-manager crashed with OSError in _get_application_for_package(): 
[Errno 5] Eingabe-/Ausgabefehler
  UpgradeStatus: Upgraded to vivid on 2015-02-27 (5 days ago)
  UserGroups: adm cdrom dip fuse lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1428297/+subscriptions

___
Mailing list: https://launchpad.net/~group.of.nepali.translators
Post to : group.of.nepali.translators@lists.launchpad.net
Unsubscribe : https://launchpad.net/~group.of.nepali.translators
More help   : https://help.launchpad.net/ListHelp