Public bug reported:

When trying install software-center, this error happened.
This is probabily because I have python 2.6 installed, and some script (I don't 
know what) always update my default python installation to 2.6. If I move 
/usr/bin/python to version 2.7 software-center opens.

This isn't the first problem with automatic update to python 2.6 in my
system, a lot of applications do not check this and returns
unrecognizable errors for normal users, like above, and most normal
users do not see this messages, since they appear at terminals only. I
think this applications need point to python2.7 directily (not
"/usr/bin/python" link file) or (at least) display a human error
message.

The error while trying open software-center:

2011-07-20 19:51:48,532 - softwarecenter.fixme - WARNING - logs to the root 
logger: 
'('/usr/share/software-center/softwarecenter/view/widgets/mkit_themes.py', 675, 
'retrieve')'
2011-07-20 19:51:48,532 - root - WARNING - No styling hints for Adwaita were 
found... using Human hints.
/usr/share/software-center/softwarecenter/view/widgets/searchentry.py:49: 
GtkWarning: Theme file for default has no name

  self.set_icon_from_stock(gtk.ENTRY_ICON_PRIMARY, gtk.STOCK_FIND)
/usr/share/software-center/softwarecenter/view/widgets/searchentry.py:49: 
GtkWarning: Theme file for default has no directories

  self.set_icon_from_stock(gtk.ENTRY_ICON_PRIMARY, gtk.STOCK_FIND)
/usr/share/software-center/softwarecenter/view/historypane.py:192: GtkWarning: 
Theme file for default has no name

  missing = self.icons.load_icon(MISSING_APP_ICON, self.ICON_SIZE, 0)
/usr/share/software-center/softwarecenter/view/historypane.py:192: GtkWarning: 
Theme file for default has no directories

  missing = self.icons.load_icon(MISSING_APP_ICON, self.ICON_SIZE, 0)
/usr/share/software-center/softwarecenter/app.py:1188: Warning: 
g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  self.window_main.show_all()
2011-07-20 19:51:50,414 - softwarecenter.fixme - WARNING - logs to the root 
logger: '('/usr/lib/pymodules/python2.7/zeitgeist/client.py', 367, 
'reconnect_monitors')'
2011-07-20 19:51:50,413 - zeitgeist.client - INFO - Reconnected to Zeitgeist 
engine...
/usr/share/software-center/softwarecenter/SimpleGtkbuilderApp.py:50: Warning: 
g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  gtk.main()
2011-07-20 19:51:56,136 - softwarecenter.app - INFO - software-center-agent 
finished with status 0
/usr/share/software-center/softwarecenter/models/appstore.py:135: GtkWarning: 
Theme file for default has no name

  self._appicon_missing_icon = self.icons.load_icon(MISSING_APP_ICON, 
self.icon_size, 0)
/usr/share/software-center/softwarecenter/models/appstore.py:135: GtkWarning: 
Theme file for default has no directories

  self._appicon_missing_icon = self.icons.load_icon(MISSING_APP_ICON,
self.icon_size, 0)

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: software-center 4.0.3
ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
Uname: Linux 2.6.38-10-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue Jul 19 22:35:29 2011
ErrorMessage: sub-processo novo script pre-removal retornou estado de saída de 
erro 1
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitecture: all
SourcePackage: software-center
Title: package software-center 4.0.3 failed to install/upgrade: sub-processo 
novo script pre-removal retornou estado de saída de erro 1
UpgradeStatus: Upgraded to natty on 2011-05-01 (80 days ago)

** Affects: software-center (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package natty

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

Title:
  package software-center 4.0.3 failed to install/upgrade: sub-processo
  novo script pre-removal retornou estado de saída de erro 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/813832/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to