software-center crashed with TypeError in show_available_packages(): this constructor takes no arguments

Bug #827615 reported by Viktor Kämpe
556
This bug affects 114 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
High
Michael Vogt
Precise
Fix Released
High
Michael Vogt

Bug Description

software-center crashed when double clicking on google chrome stable .deb file in firefox downloadlist

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: software-center 4.1.14
ProcVersionSignature: Ubuntu 3.0.0-8.11-generic 3.0.1
Uname: Linux 3.0.0-8-generic x86_64
Architecture: amd64
Date: Tue Aug 16 21:53:50 2011
ExecutablePath: /usr/share/software-center/software-center
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110802.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-center /home/username/Downloads/google-chrome-stable_current_amd64.deb
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/software-center', '/home/username/Downloads/google-chrome-stable_current_amd64.deb']
SoftwareCenterLog:
 2011-08-16 21:53:49,433 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/share/software-center/softwarecenter/db/database.py', 169, 'open')'
 2011-08-16 21:53:49,433 - root - WARNING - failed to add sca db Couldn't stat '/home/smiladon/.cache/software-center/software-center-agent.db' (No such file or directory)
 2011-08-16 21:53:49,451 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
 2011-08-16 21:53:49,971 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/zeitgeist/client.py', 396, 'reconnect_monitors')'
 2011-08-16 21:53:49,971 - zeitgeist.client - INFO - Reconnected to Zeitgeist engine...
SourcePackage: software-center
Title: software-center crashed with TypeError in show_available_packages(): this constructor takes no arguments
UpgradeStatus: Upgraded to oneiric on 2011-08-16 (0 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Viktor Kämpe (viktor-kampe) wrote :
tags: removed: need-duplicate-check
Changed in software-center (Ubuntu):
status: New → Confirmed
tags: added: bugpattern-needed
Steve Beattie (sbeattie)
visibility: private → public
Revision history for this message
Michael Vogt (mvo) wrote :

thanks for your bugreport. I just tried this with version in oneiric and can no longer reproduce this.

summary: - software-center crashed when double clicking on google chrome stable
- .deb file in firefox downloadlist
+ software-center crashed with TypeError in show_available_packages():
+ this constructor takes no arguments
tags: removed: bugpattern-needed
Revision history for this message
Pedro Villavicencio (pedro) wrote :

bug 828856 was filed with software-center 4.1.15 but latest on Oneiric is 4.1.20 can anybody reproduce it with that package? Thanks.

Changed in software-center (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Viktor Kämpe (viktor-kampe) wrote :

I cannot reproduce it anymore. After upgrading all packages today it works fine.

Revision history for this message
Gary Lasker (gary-lasker) wrote :

We have moved to the new software center UI since the last report of this issue, and this problem appears to be fixed there. I cannot reproduce this myself when installing a standalone deb file. I'll close based ont his and on Viktor's comment.

Many thanks!

Changed in software-center (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
Martin Albisetti (beuno) wrote :

Seems to be happening again.

Changed in software-center (Ubuntu):
status: Fix Released → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in software-center (Ubuntu):
status: New → Confirmed
Revision history for this message
Thomas (t.c) wrote :

ok, today I updated all packages and now I got it too.

after opening a deb over firefox download list i get the crash.

tags: added: apport-collected precise
Revision history for this message
Thomas (t.c) wrote : apport information

ApportVersion: 1.91-0ubuntu1
Architecture: i386
DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20120201.1)
NonfreeKernelModules: nvidia
Package: software-center 5.1.9
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
Tags: precise
Uname: Linux 3.2.5-030205-generic-pae i686
UpgradeStatus: Upgraded to precise on 2012-02-11 (4 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Thomas (t.c) wrote : Dependencies.txt

apport information

Revision history for this message
Thomas (t.c) wrote : SoftwareCenterLog.txt

apport information

Revision history for this message
villejuho (villejuho) wrote :

This also happens when trying to install .deb by double clicking in nautilus. Tried with two different package(opera and chrome .deb files).

Revision history for this message
norberto (netcaster) wrote :

This bug happens when double clicking any .deb

Revision history for this message
alex.marcev@gmail.com (alex-marcev) wrote :

when will this bug be assigned?

Revision history for this message
Alex Rybicki (alex-rybicki) wrote :

This bug occurs when attempting to use nautilus with any .deb. Based on symptom it seems to be a reversion of a bug I was experiencing several months ago.

A quick workaround if you're attempting to install a .deb is:
sudo dpkg -i package_file.deb

If you're attempting to uninstall, you can use:
sudo dpkg -r package_file.deb

Revision history for this message
Brian Smith (brian-smith-i) wrote :

This is a regression. When will developers start going forward instead of going back to old bugs?

Revision history for this message
marksward (mark-thewardconnection) wrote :

same issue seen here, running .deb file in Chromium.
Ubuntu Software Centre Window was also open at the time of downloading and executing the .deb file in Chromium

Revision history for this message
PatrickSCarrroll (patrickscarroll-hotmail) wrote :

Opened deb file (not the same as other people, different one) in the download box from Firefox

Revision history for this message
Frank (asianhippie) wrote :

Software Centre crashed as well when attempting to open .deb file from Spotify, similar to the case above.

Revision history for this message
Darren Weslow (dazw2001) wrote :

Using Ubuntu Precise 12.04 Alpha3 i think AMD64 alternate DVD.
Open firefox Web browser.
Went to Google.co.uk and downloaded google Chrome 64 bit .deb (For Debian/Ubuntu) to the default downloads folder.
From he downloads window in firefox clicked the 64 bit .deb (For Debian/Ubuntu) and hey presto.
Software centre crashed

Revision history for this message
Cameron Hart (bitshifternz) wrote :

Software Centre was already open at the time. I downloaded the Skype .deb (skype-ubuntu_2.2.0.35-1_amd64.deb), double clicked on the .deb in Nautilus and got the crash.

Revision history for this message
dum (dummyxl) wrote :

same problem, i can install the packages with synaptic but a crash with software center, the last 3 days.

Revision history for this message
Lee Jarratt (lee.jarratt-deactivatedaccount) wrote :

This is also happening to me with a fully up-to-date Precise.. I also get errors when trying to install the .deb via the terminal.

Revision history for this message
Lee Jarratt (lee.jarratt-deactivatedaccount) wrote :

Please disregard the error log when installing via terminal, that seems to be fixed with an updated package of libxss1.

Revision history for this message
RAFAEL GONÇALVES DA COSTA (rafaelg-costa) wrote :

It cashed when I was trying to install skype-ubuntu_2.2.0.35-1_amd64.deb

tags: added: regression-update
Revision history for this message
Bilal Shahid (s9iper1) wrote :

also have this crash when i download google chrome and than it open in software center..

Revision history for this message
xcape77 (xcape77) wrote :

Got this problem when double clicking on keymon_1.9-1_all.deb

Revision history for this message
Sutram (sutram) wrote :

This happens to me too with Xubuntu 12.04 i386 with all updates current as of today Feb 21, 2012.

Software center consistently crashes when I double click on a standalone deb file.

Revision history for this message
Scott Wright (swright198) wrote :

I tried to install a .deb for gpg's GPA program and there was a flicker like software-center was going to come up but it closed right straight away. I tried with a couple other .deb files and got the same results.

Revision history for this message
Scott Wright (swright198) wrote :

forgot to mention that I was running Alpha 2 of Precise Pangolin when I got my error.

Omer Akram (om26er)
Changed in software-center (Ubuntu):
importance: Medium → High
Revision history for this message
Malte Pannemann (malte-pannemann) wrote :

reproduce this bug with Softwarecenter 5.1.9 and Chrome 17

Revision history for this message
António Correia (antoniojcorreia) wrote :

I can't install any .deb package, software center crash every time I try.

Revision history for this message
Andrea Caminiti (nrayever) wrote :

Iḿ affected by this bug too. Itś really bad to see that hasn't been assigned to someone. It is a really important feature.

Regards, Andrea.

Martin Pitt (pitti)
Changed in software-center (Ubuntu Precise):
assignee: nobody → Gary Lasker (gary-lasker)
Revision history for this message
Jacques Pasquier (jp-pasquier) wrote :

Je télécharge Google chrome pour l'installer par la logitjèque.
clique droit sur l'icone google pour installation et la fenêtre de la logithèque s'affiche puis disparait aussitôt puis le message voulez vous transmettre l'anomalie.
Je clique sur ok et la logithèque ouvre sa fenêtre pour me signaler NON Trouvé.

Revision history for this message
Ursula Junque (ursinha) wrote :

From a conversation earlier today on IRC:
<kiwinote> Ursinha: fwiw mvo has already fixed that s-c bug in trunk, so it'll be working in the next s-c release when he's back from vacation

Revision history for this message
Kiwinote (kiwinote) wrote :

There was actually a software-center release a few hours ago, so once you have installed the latest updates via the update manager (ensure that the software-center version is v5.1.10), then this crash will no longer occur.

Changed in software-center (Ubuntu Precise):
assignee: Gary Lasker (gary-lasker) → Michael Vogt (mvo)
status: Confirmed → Fix Released
Revision history for this message
Rahul Singh Bisht (rahulbisht140) wrote :

i downloaded google chrome stable version .deb file and tried to install it with ubuntu software center while it crashed.

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.