← Back to team overview

desktop-packages team mailing list archive

[Bug 1376313] Re: update-software-center crashed with AttributeError in __getattr__(): When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject". See: https://bugzilla.gnome.org/show_bug.cgi?id=709183

 

*** This bug is a duplicate of bug 1367017 ***
    https://bugs.launchpad.net/bugs/1367017

Thank you for taking the time to report this crash and helping to make
this software better.  This particular crash has already been reported
and is a duplicate of bug #1367017, so is being marked as such.  Please
look at the other bug report to see if there is any missing information
that you can provide, or to see if there is a workaround for the bug.
Additionally, any further discussion regarding the bug should occur in
the other report.  Please continue to report any other bugs you may
find.

** Tags removed: need-duplicate-check

** Changed in: software-center (Ubuntu)
   Importance: Undecided => Medium

** Attachment removed: "ProcMaps.txt"
   https://bugs.launchpad.net/bugs/1376313/+attachment/4221574/+files/ProcMaps.txt

** Attachment removed: "ProcStatus.txt"
   https://bugs.launchpad.net/bugs/1376313/+attachment/4221575/+files/ProcStatus.txt

** This bug has been marked a duplicate of private bug 1367017

** Information type changed from Private to Public

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/1376313

Title:
  update-software-center crashed with AttributeError in __getattr__():
  When using gi.repository you must not import static modules like
  "gobject". Please change all occurrences of "import gobject" to "from
  gi.repository import GObject". See:
  https://bugzilla.gnome.org/show_bug.cgi?id=709183

Status in “software-center” package in Ubuntu:
  New

Bug description:
  md@wx:~$ software-center
  /usr/share/software-center/softwarecenter/ui/gtk3/SimpleGtkbuilderApp.py:32: Warning: The property GtkImage:stock is deprecated and shouldn't be used anymore. It will be removed in a future version.
    self.builder.add_from_file(path)
  /usr/share/software-center/softwarecenter/ui/gtk3/SimpleGtkbuilderApp.py:32: Warning: The property GtkImageMenuItem:use-stock is deprecated and shouldn't be used anymore. It will be removed in a future version.
    self.builder.add_from_file(path)
  /usr/share/software-center/softwarecenter/ui/gtk3/SimpleGtkbuilderApp.py:32: Warning: The property GtkImageMenuItem:image is deprecated and shouldn't be used anymore. It will be removed in a future version.
    self.builder.add_from_file(path)
  /usr/share/software-center/softwarecenter/ui/gtk3/SimpleGtkbuilderApp.py:32: Warning: The property GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed in a future version.
    self.builder.add_from_file(path)
  2014-10-01 18:11:51,751 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
  2014-10-01 18:11:53,788 - softwarecenter.region - WARNING - failed to use geoclue: 'org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Geoclue.Master was not provided by any .service files'
  2014-10-01 18:11:54,283 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
  2014-10-01 18:11:54,296 - softwarecenter.plugin - INFO - activating plugin '<module 'webapps_activation' from '/usr/share/software-center/softwarecenter/plugins/webapps_activation.pyc'>'
  2014-10-01 18:11:54,383 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
  2014-10-01 18:11:55,193 - softwarecenter.backend.reviews - WARNING - error creating bsddb: '(22, 'Invalid argument -- BDB0054 illegal flag combination specified to DB_ENV->open')' (corrupted?)
  2014-10-01 18:11:55,210 - softwarecenter.backend.reviews - ERROR - trying to repair DB failed
  Traceback (most recent call last):
    File "/usr/share/software-center/softwarecenter/backend/reviews/__init__.py", line 358, in _save_review_stats_cache_blocking
      self._dump_bsddbm_for_unity(outfile, outdir)
    File "/usr/share/software-center/softwarecenter/backend/reviews/__init__.py", line 377, in _dump_bsddbm_for_unity
      0600)
  DBInvalidArgError: (22, 'Invalid argument -- BDB0054 illegal flag combination specified to DB_ENV->open')
  /usr/lib/python2.7/dist-packages/gi/overrides/GLib.py:560: Warning: Source ID 68 was not found when attempting to remove it
    return super(MainContext, self).iteration(may_block)
  /usr/share/software-center/softwarecenter/ui/gtk3/widgets/description.py:418: Warning: The property GtkImageMenuItem:accel-group is deprecated and shouldn't be used anymore. It will be removed in a future version.
    Gtk.STOCK_COPY, None)
  /usr/share/software-center/softwarecenter/ui/gtk3/app.py:558: Warning: The property GtkSettings:gtk-cursor-blink is deprecated and shouldn't be used anymore. It will be removed in a future version.
    self.available_pane.searchentry.grab_focus()
  /usr/share/software-center/softwarecenter/ui/gtk3/app.py:558: Warning: The property GtkSettings:gtk-cursor-blink-time is deprecated and shouldn't be used anymore. It will be removed in a future version.
    self.available_pane.searchentry.grab_focus()
  /usr/bin/software-center:184: Warning: Source ID 181 was not found when attempting to remove it
    Gtk.main()
  /usr/bin/software-center:184: Warning: The property GtkSettings:gtk-cursor-blink-timeout is deprecated and shouldn't be used anymore. It will be removed in a future version.
    Gtk.main()
  2014-10-01 18:12:01,889 - softwarecenter.db.utils - INFO - software-center-agent finished with status 0

  ProblemType: Crash
  DistroRelease: Ubuntu 14.10
  Package: software-center 13.10-0ubuntu4.1
  ProcVersionSignature: Ubuntu 3.16.0-18.25-generic 3.16.3
  Uname: Linux 3.16.0-18-generic x86_64
  ApportVersion: 2.14.7-0ubuntu2
  Architecture: amd64
  Date: Wed Oct  1 17:31:40 2014
  ExecutablePath: /usr/share/software-center/update-software-center
  InstallationDate: Installed on 2014-09-30 (0 days ago)
  InstallationMedia: Xubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/sbin/update-software-center --triggered /usr/share/locale-langpack
  PythonArgs: ['/usr/sbin/update-software-center', '--triggered', '/usr/share/locale-langpack']
  SourcePackage: software-center
  Title: update-software-center crashed with AttributeError in __getattr__(): When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject". See: https://bugzilla.gnome.org/show_bug.cgi?id=709183
  UpgradeStatus: Upgraded to utopic on 2014-10-01 (0 days ago)
  UserGroups:

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