Bug 388053 - Cannot run Ubuntu Software Center
Summary: Cannot run Ubuntu Software Center
Status: RESOLVED NOT A BUG
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-20 00:12 UTC by Thomas Pfeiffer
Modified: 2017-12-20 11:41 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Pfeiffer 2017-12-20 00:12:26 UTC
When trying tu run Ubuntu Software Center, it doesn't open. When trying to start it from the command line, I get the following output:

/usr/bin/software-center:25: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, GObject
ERROR:root:DebFileApplication import
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/db/__init__.py", line 6, in <module>
    from .debfile import DebFileApplication, DebFileOpenError
  File "/usr/share/software-center/softwarecenter/db/debfile.py", line 25, in <module>
    from softwarecenter.db.application import Application, AppDetails
  File "/usr/share/software-center/softwarecenter/db/application.py", line 28, in <module>
ImportError: No module named neon

    import softwarecenter.distro
  File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 201, in <module>
    distro_instance = _get_distro()
  File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 176, in _get_distro
    module = __import__(distro_module_name, globals(), locals(), [], level)
ImportError: No module named neon
Traceback (most recent call last):
  File "/usr/bin/software-center", line 128, in <module>
    from softwarecenter.ui.gtk3.app import SoftwareCenterAppGtk3
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 54, in <module>
    from softwarecenter.db.application import Application
  File "/usr/share/software-center/softwarecenter/db/application.py", line 28, in <module>
    import softwarecenter.distro
  File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 201, in <module>
    distro_instance = _get_distro()
  File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 176, in _get_distro
    module = __import__(distro_module_name, globals(), locals(), [], level)
Comment 1 Harald Sitter 2017-12-20 11:41:00 UTC
neon does not care about non-kde software.

https://neon.kde.org/faq#diff-desktop

if you want to only check it out, I'd suggest you setup an ubuntu VM and look at the software center in its natural environment.