← Back to team overview

desktop-packages team mailing list archive

[Bug 1452630] [NEW] fails with incomplete python3/gi port on upgrade

 

Public bug reported:

Processing triggers for software-center (13.10-0ubuntu6) ...
Updating software catalog...this may take a moment.
Traceback (most recent call last):
  File "/usr/sbin/update-software-center", line 176, in <module>
    pathname, appinfo_dir=options.app_install_desktop_dir)
  File "/usr/share/software-center/softwarecenter/db/update.py", line 1145, in rebuild_database
    cache = get_pkg_info()
  File "/usr/share/software-center/softwarecenter/db/pkginfo.py", line 245, in get_pkg_info
    from softwarecenter.db.pkginfo_impl.aptcache import AptCache
  File "/usr/share/software-center/softwarecenter/db/pkginfo_impl/aptcache.py", line 30, in <module>
    from aptdaemon.client import AptClient
  File "/usr/lib/python2.7/dist-packages/aptdaemon/client.py", line 43, in <module>
    _GObject = GObject.GObject
  File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 62, in __getattr__
    raise AttributeError(_static_binding_error)
AttributeError: 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

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

-- 
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/1452630

Title:
  fails with incomplete python3/gi port on upgrade

Status in software-center package in Ubuntu:
  New

Bug description:
  Processing triggers for software-center (13.10-0ubuntu6) ...
  Updating software catalog...this may take a moment.
  Traceback (most recent call last):
    File "/usr/sbin/update-software-center", line 176, in <module>
      pathname, appinfo_dir=options.app_install_desktop_dir)
    File "/usr/share/software-center/softwarecenter/db/update.py", line 1145, in rebuild_database
      cache = get_pkg_info()
    File "/usr/share/software-center/softwarecenter/db/pkginfo.py", line 245, in get_pkg_info
      from softwarecenter.db.pkginfo_impl.aptcache import AptCache
    File "/usr/share/software-center/softwarecenter/db/pkginfo_impl/aptcache.py", line 30, in <module>
      from aptdaemon.client import AptClient
    File "/usr/lib/python2.7/dist-packages/aptdaemon/client.py", line 43, in <module>
      _GObject = GObject.GObject
    File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 62, in __getattr__
      raise AttributeError(_static_binding_error)
  AttributeError: 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

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


Follow ups

References