[Bug 1843109] Re: update-manager crashed with AttributeError in checkFreeSpace(): 'MyCache' object has no attribute 'quirks'

Ɓukasz Zemczak 1843109 at bugs.launchpad.net
Tue Feb 18 11:26:53 UTC 2020


Yet another bug caused by the strangeness of having two separate
incompatible MyCache class definitions. One day I need to sit down and
try to understand why we the UpdateManager declares its own MyCache that
inherits from DistUpgrade.DistUpgradeCache.MyCache but never calls the
DistUpgrade.DistUpgradeCache.MyCache constructor. Since this feels to me
like something really really dirty to do, since now we inherit all the
DistUpgradeCache MyCache methods but we can't really rely on anything
being properly initialized.

Anyway, besides that, looking into how to fix this without being too
invasive.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1843109

Title:
  update-manager crashed with AttributeError in checkFreeSpace():
  'MyCache' object has no attribute 'quirks'

Status in update-manager package in Ubuntu:
  Confirmed
Status in update-manager source package in Eoan:
  Confirmed

Bug description:
  ...

  ProblemType: Crash
  DistroRelease: Ubuntu 19.10
  Package: update-manager 1:19.04.7
  ProcVersionSignature: Ubuntu 5.2.0-15.16-generic 5.2.9
  Uname: Linux 5.2.0-15-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.20.11-0ubuntu7
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Sep  6 05:45:30 2019
  ExecutablePath: /usr/bin/update-manager
  GsettingsChanges:
   b'com.ubuntu.update-manager' b'window-width' b'1191'
   b'com.ubuntu.update-manager' b'launch-count' b'1577'
   b'com.ubuntu.update-manager' b'first-run' b'false'
   b'com.ubuntu.update-manager' b'launch-time' b'int64 1567826530'
   b'com.ubuntu.update-manager' b'window-height' b'551'
  InstallationDate: Installed on 2019-07-23 (45 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190203)
  InterpreterPath: /usr/bin/python3.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map
  ProcEnviron:
   LANG=sv_SE.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   XDG_RUNTIME_DIR=<set>
   LANGUAGE=sv:en_US:en
  Python3Details: /usr/bin/python3.7, Python 3.7.4, python3-minimal, 3.7.3-1
  PythonArgs: ['/usr/bin/update-manager', '--no-update', '--no-focus-on-map']
  PythonDetails: N/A
  SourcePackage: update-manager
  Title: update-manager crashed with AttributeError in checkFreeSpace(): 'MyCache' object has no attribute 'quirks'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

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



More information about the foundations-bugs mailing list