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

Bug #917802 reported by Cristian Neacsu
236
This bug affects 54 people
Affects Status Importance Assigned to Milestone
gdebi (Ubuntu)
Fix Released
High
Unassigned

Bug Description

gdebi-gtk crashed with TypeError in __new__(): object of

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: gdebi 0.8.3
ProcVersionSignature: Ubuntu 3.2.0-9.16-generic 3.2.1
Uname: Linux 3.2.0-9-generic x86_64
ApportVersion: 1.90-0ubuntu2
Architecture: amd64
CrashCounter: 1
Date: Tue Jan 17 20:50:14 2012
ExecutablePath: /usr/share/gdebi/gdebi-gtk
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120114)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/gdebi-gtk /home/username/Descărcări/tv-maxe_0.06.4-0ubuntu1~lucid_amd64.deb
ProcEnviron:
 PATH=(custom, no user)
 LANG=ro_RO.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/gdebi-gtk', '/home/username/Desc\xc4\x83rc\xc4\x83ri/tv-maxe_0.06.4-0ubuntu1~lucid_amd64.deb']
SourcePackage: gdebi
Title: gdebi-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

Related branches

Revision history for this message
Cristian Neacsu (cristian.ncs) wrote :
tags: removed: need-duplicate-check
visibility: private → public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gdebi (Ubuntu):
status: New → Confirmed
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:

* Is this reproducible?
* If so, what specific steps should we take to recreate this bug?

This will help us to find and resolve the problem.

Changed in gdebi (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Jani Uusitalo (uusijani) wrote :

Here's the steps I can currently reproduce this with on my system:

0. Have Gdebi associated with .debs
1. Download http://launchpadlibrarian.net/89242455/linux-generic_3.2.0.8.8_i386.deb in Chromium
2. Click the downloaded file in Chromium's downloads bar to open it in Gdebi

This results in Gdebi launching and the crash triggering. If I then close Gdebi, it triggers the same crash again (apport points me to this report in both instances).

(I have yet to install the upgrades from this weekend. If any of those change this, I'll report back.)

Revision history for this message
Doug McMahon (mc3man) wrote :

See this easily on 12.04 A2 install, upgraded, just try to use gdebi to install a .deb
Can happen whether from a right click on or in terminal

This bug can also happen, it'll be one or the other Bug 912389

Attaching from terminal, in this case with bzr because current Precise version is broken

Changed in gdebi (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Doug McMahon (mc3man) wrote :

Did a little more testing, in all cases gdebi-gtk worked fine, - either installed; installed with available dependencies; didn't install because deps couldn't be met

So the only package it crashed on was the above, "bzr_2.4.1-1ubuntu1_all.deb" which it should have said it couldn't install because a later version of 'python-bzrlib' was either installed or was the only version available to be installed, tested both ways.

So at least here this crash only occurs when a dep is the wrong version, either installed or available for install

Revision history for this message
deuce (azinas) wrote :

For me it says "cannot install ia32-libs". I noticed that during last update it uninstalled skype and some other programs, but also ubuntu-desktop and software-center

Revision history for this message
kevinchou (kevinchou-c-gmail) wrote :

same here
everytime I use it to install a software

Revision history for this message
Paul White (paulw2u) wrote :

Crash seen here on Ubuntu 12.04 i386 when trying to install a .deb where a dependency could not be met.

Revision history for this message
wagung (wagungs) wrote :

in my ubuntu 12.04 lts this error alaways show after install .deb package ,,

Changed in gdebi (Ubuntu):
assignee: nobody → Luca Falavigna (dktrkranz)
status: Confirmed → In Progress
Revision history for this message
Luca Falavigna (dktrkranz) wrote :
Changed in gdebi (Ubuntu):
assignee: Luca Falavigna (dktrkranz) → nobody
importance: Medium → High
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gdebi - 0.8.5

---------------
gdebi (0.8.5) unstable; urgency=low

  * GDebi/GDebi.py:
    - Check whether model and path are set (LP: #917802, #912389).
  * debian/control:
    - gdebi must depend on python-gi (Closes: #661624).
    - Bump Standards-Version to 3.9.3.
  * debian/copyright:
    - Format now points to copyright-format site.
  * po/*.po:
    - Refresh translations exported from Rosetta.

 -- Luca Falavigna <email address hidden> Wed, 29 Feb 2012 22:36:18 +0100

Changed in gdebi (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.