After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 791295 - Something went wrong appears when launched
Something went wrong appears when launched
Status: RESOLVED OBSOLETE
Product: gnome-software
Classification: Applications
Component: General
3.26.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Software maintainer(s)
GNOME Software maintainer(s)
https://bugs.launchpad.net/ubuntu/+so...
Depends on:
Blocks:
 
 
Reported: 2017-12-06 07:56 UTC by foss.freedom
Modified: 2018-01-24 17:55 UTC
See Also:
GNOME target: ---
GNOME version: 3.25/3.26


Attachments
journalctl trace filtered for gnome-software (6.76 KB, text/plain)
2017-12-06 07:56 UTC, foss.freedom
Details
gnome-software --verbose (295.44 KB, text/plain)
2017-12-06 19:14 UTC, foss.freedom
Details

Description foss.freedom 2017-12-06 07:56:12 UTC
Created attachment 365091 [details]
journalctl trace filtered for gnome-software

linked downstream report: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1723802

On non gnome-shell based desktops such as budgie-desktop the message "Something went wrong" appears at the top of the screen.

Attached is a journalctl trace filtered for gnome-software

If there is a better trace I can obtain, happy to supply - just advise how to generate.  thanks.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-software 3.26.1-0ubuntu1
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic i686
ApportVersion: 2.20.7-0ubuntu3
Architecture: i386
CurrentDesktop: Budgie:GNOME
Date: Sun Oct 15 22:05:14 2017
InstallationDate: Installed on 2017-10-15 (0 days ago)
InstallationMedia: Ubuntu-Budgie 17.10 "Artful Aardvark" - Beta i386 (20171015)
InstalledPlugins:
 gnome-software-plugin-flatpak N/A
 gnome-software-plugin-limba N/A
 gnome-software-plugin-snap 3.26.1-0ubuntu1
SourcePackage: gnome-software
UpgradeStatus: No upgrade log present (probably fresh install)
Comment 1 Richard Hughes 2017-12-06 09:52:23 UTC
Does applying the patch in b598b3a31ae3cf8fe76484ec316f8688fc184b06 fix things?
Comment 2 foss.freedom 2017-12-06 11:25:32 UTC
Hi Richard - I've git cloned https://git.gnome.org/browse/gnome-software/ but cannot git format-patch -1 b598b3a31ae3cf8fe76484ec316f8688fc184b06

It says "bad object" 

Any thoughts?  TIA
Comment 3 foss.freedom 2017-12-06 19:14:57 UTC
Created attachment 365144 [details]
gnome-software --verbose

enc is the output of running:

killall gnome-software ; gnome-software --verbose > verboseoutput.txt
Comment 4 Richard Hughes 2017-12-06 21:10:07 UTC
Gahh, 165d6110498115a42668363a1f27fee73f163eba is the commit. Sorry.
Comment 5 foss.freedom 2017-12-06 21:59:31 UTC
I've taken that commit and slightly adjusted the line numbers:

Index: gnome-software-3.26.1/plugins/shell-extensions/gs-plugin-shell-extensions.c
===================================================================
--- gnome-software-3.26.1.orig/plugins/shell-extensions/gs-plugin-shell-extensions.c
+++ gnome-software-3.26.1/plugins/shell-extensions/gs-plugin-shell-extensions.c
@@ -282,7 +282,10 @@ gs_plugin_setup (GsPlugin *plugin, GCanc
 
 	/* not running under Shell */
 	if (g_dbus_proxy_get_name_owner (priv->proxy) == NULL) {
-		g_clear_object (&priv->proxy);
+		g_set_error_literal (error,
+				     GS_PLUGIN_ERROR,
+				     GS_PLUGIN_ERROR_NOT_SUPPORTED,
+				     "gnome-shell is not running");
 		return FALSE;
 	}
 
I've applied this to the current ubuntu 17.10 of gnome-software, rebuilt and installed.  Unfortunately the popup message "Sorry, something went wrong" still appears.
Comment 6 GNOME Infrastructure Team 2018-01-24 17:55:51 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-software/issues/271.