← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1101881] Re: software-properties-gtk crashed with TypeError in __new__(): object of type 'NoneType' has no len()

 

This bug was fixed in the package software-properties - 0.96.20.2

---------------
software-properties (0.96.20.2) xenial; urgency=medium

  * SoftwarePropertiesGtk.py: only add mirror choices if there are mirrors
    available from which to choose. (LP: #1101881)
  * DialogMirror.py: guard against a traceback when get cursor returns None.
    (LP: #1101881)

 -- Brian Murray <brian@xxxxxxxxxx>  Tue, 21 Jun 2016 12:22:08 -0700

** Changed in: software-properties (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/1101881

Title:
  software-properties-gtk crashed with TypeError in __new__(): object of
  type 'NoneType' has no len()

Status in software-properties package in Ubuntu:
  Fix Released
Status in software-properties source package in Wily:
  Triaged
Status in software-properties source package in Xenial:
  Fix Released

Bug description:
  [ Impact ]
  Users on architectures other than amd64 of i386 trying to use software-properties to choose a server from which to download software will receive a crash after closing the "Choose a Download Server" dialog.

  [ Test Case ]
  1) Be on a not i386 or amd64 system (or be on amd64 and use a hack found in comment #11)
  2) Launch software-properties-gtk
  3) In the Download from: drop-down choose "Other..."
  4) Observe an empty list of download servers
  5) Click "Cancel"
  6) Observe a traceback in the terminal which you launched software-properties-gtk

  Wit the version of software-properties-gtk from -proposed you will not
  receive a crash.

  -----------------------------------------------------------------------

  on nexus 7

  ProblemType: CrashDistroRelease: Ubuntu 13.04
  Package: software-properties-gtk 0.92.13
  Uname: Linux 3.1.10-8-nexus7 armv7l
  ApportVersion: 2.8-0ubuntu2
  Architecture: armhf
  CrashCounter: 1
  Date: Sat Jan 19 14:44:31 2013
  ExecutablePath: /usr/bin/software-properties-gtk
  InstallationDate: Installed on 2013-01-16 (3 days ago)
  InstallationMedia: Ubuntu Raring Ringtail (development branch) - armhf (20130115-15:18)
  InterpreterPath: /usr/bin/python3.3
  MarkForUpload: True
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/bin/software-properties-gtk --open-tab 2
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/software-properties-gtk', '--open-tab', '2']SourcePackage: software-properties
  Title: software-properties-gtk crashed with TypeError in __new__(): object of type 'NoneType' has no len()
  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/software-properties/+bug/1101881/+subscriptions