lubuntu-software-center-build-db crashed with KeyError in __main__: 'ppc'

Bug #934537 reported by ԜаӀtеr Ⅼарсһуnѕkі
38
This bug affects 2 people
Affects Status Importance Assigned to Milestone
lubuntu-software-center (Ubuntu)
Fix Released
Undecided
Julien Lavergne

Bug Description

Lubuntu Precise from daily-live 20120216 on PowerBook G4 PPC

Crash occurs upon startup.

I've seen mention of this bug more than a couple times on the lubuntu-qa mailing list. It seems to be PPC specific as I did not get it on my x86 (VirtualBox) install.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: lubuntu-software-center 0.0.4-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-16.25-powerpc 3.2.6
Uname: Linux 3.2.0-16-powerpc ppc
ApportVersion: 1.91-0ubuntu1
Architecture: powerpc
Date: Thu Feb 16 16:59:54 2012
ExecutablePath: /usr/sbin/lubuntu-software-center-build-db
InstallationMedia: Lubuntu 12.04 "Precise Pangolin" - Alpha powerpc (20120216)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: python /usr/sbin/lubuntu-software-center-build-db /var/cache/lsc_packages.db /usr/share/app-install/desktop/ /usr/share/LSC/categories.ini
ProcEnviron: PATH=(custom, no user)
PythonArgs: ['/usr/sbin/lubuntu-software-center-build-db', '/var/cache/lsc_packages.db', '/usr/share/app-install/desktop/', '/usr/share/LSC/categories.ini']
SourcePackage: lubuntu-software-center
Title: lubuntu-software-center-build-db crashed with KeyError in __main__: 'ppc'
Traceback:
 Traceback (most recent call last):
   File "/usr/sbin/lubuntu-software-center-build-db", line 37, in <module>
     arch = arch_dict[platform.machine()]
 KeyError: 'ppc'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :
tags: removed: need-duplicate-check
Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

interesting. so maybe this isn't a bug anymore. had a fresh install. rebooted. bug came up. i knew it would complain if i didn't upgrade packages and wouldn't let me report the bug, so i updated, and then reported, thus this bug. then i rebooted. gone. somewhere in the process of updating it seems to have resolved itself. today's updates:
http://paste.ubuntu.com/846531

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

still exists with 20120220 in live and upon 1st reboot

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/935174

tags: added: iso-testing
Julien Lavergne (gilir)
visibility: private → public
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in lubuntu-software-center (Ubuntu):
status: New → Confirmed
Revision history for this message
Paul Gorski (pauliegras) wrote :

Apple Macintosh eMac G4 800 MHz, similar error/crash/problem running from 2012022 live CD, just after desktop was visible. However, not a hard crash, allowed this entry via Firefox.

Revision history for this message
Paul Gorski (pauliegras) wrote :

Apple Macintosh eMac G4 800 MHz, similar error/crash/problem running from 20120301 alternate CD, just after desktop was visible. However, not a hard crash, allowed this entry via Firefox.

Revision history for this message
Paul Gorski (pauliegras) wrote :

Apple Macintosh iBook G4 800 MHz, similar error/crash/problem running from 20120301 DESKTOP CD, just after desktop was visible. However, not a hard crash, allowed this entry via Firefox.

Revision history for this message
Stephan (srm-d) wrote :

same here on PowerBook G4 using current 12.04 live-install,booting live-powerpc
cpu : 7447A, altivec supported
clock : 1666.666000MHz
revision : 1.2 (pvr 8003 0102)
bogomips : 73.72
timebase : 18432000
platform : PowerMac
model : PowerBook5,6
machine : PowerBook5,6
motherboard : PowerBook5,6 MacRISC3 Power Macintosh
detected as : 287 (PowerBook G4 15")
pmac flags : 0000001a
L2 cache : 512K unified
pmac-generation : NewWorld
Memory : 2048 MB

Julien Lavergne (gilir)
Changed in lubuntu-software-center (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Julien Lavergne (gilir)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lubuntu-software-center - 0.0.4-0ubuntu2

---------------
lubuntu-software-center (0.0.4-0ubuntu2) precise; urgency=low

  * debian/patches:
   - 90_add_ppc_support.patch: Add ppc support in the database (LP: #934537)
 -- Julien Lavergne <email address hidden> Sun, 04 Mar 2012 01:49:27 +0100

Changed in lubuntu-software-center (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Paul Gorski (pauliegras) wrote :

The crash may have been fixed, but you can't read the text of the items listed in the window.
The icons of "All" "Office "Utilities" and the others can be seen, but you can't see the text.

See the attached picture.

Revision history for this message
Mathew (1-launchpad-jm-cahaya-com-au) wrote :

A similar issue exists for armv7l. This is the architecture for Toshiba AC100 (https://wiki.ubuntu.com/ARM/TEGRA/AC100)

$ lubuntu-software-center-build-db
Traceback (most recent call last):
  File "/usr/sbin/lubuntu-software-center-build-db", line 39, in <module>
    arch = arch_dict[platform.machine()]
KeyError: 'armv7l'

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.