GNU bug report logs - #41058
GNOME Maps fails to start in GNOME

Previous Next

Package: guix;

Reported by: sirgazil <sirgazil <at> zoho.com>

Date: Sun, 3 May 2020 18:45:01 UTC

Severity: normal

Merged with 40490

Done: Leo Prikler <leo.prikler <at> student.tugraz.at>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41058 in the body.
You can then email your comments to 41058 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#41058; Package guix. (Sun, 03 May 2020 18:45:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to sirgazil <sirgazil <at> zoho.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 03 May 2020 18:45:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: sirgazil <sirgazil <at> zoho.com>
To: "bug-guix" <bug-guix <at> gnu.org>
Subject: core-updates: GNOME Maps doesn't start
Date: Sun, 03 May 2020 18:44:31 +0000
This happens in both master and core-updates, although I don't know if the former fails for the same reason. It also happens in both real machine and virtual machine.


## Steps to reproduce

Assuming you are using the Guix System with GNOME:

1. Go to Activities → Show Applications (nine dots button) → All
2. Click on Maps


## Expected result

GNOME Maps starts.


## Unexpected result

GNOME Maps does not starts. You see the GNOME Maps application menu loading next to the "Activities" button in the GNOME desktop for a few seconds, but the application never starts. 


## Additional information

In both, real and virtual machines, GNOME Maps starts when run from a terminal. It prints the following message though:

```
$ gnome-maps

(org.gnome.Maps:22887): Gjs-WARNING **: 13:35:50.971: JS ERROR: Gio.IOErrorEnum: Ya existe un objeto exportado para la interfaz org.gnome.Sysprof3.Profiler en /org/gtk/Profiler
vfunc_dbus_unregister <at> resource:///org/gnome/Maps/js/application.js:269:9
main <at> resource:///org/gnome/Maps/js/main.js:57:12
run <at> resource:///org/gnome/gjs/modules/package.js:222:12
start <at> resource:///org/gnome/gjs/modules/package.js:206:5
@/gnu/store/agrz0vryg6ipcz4qh3q1addwdiizbkrw-gnome-maps-3.34.2/share/gnome-maps/org.gnome.Maps:2:1
```

In both, real and virtual machines, GNOME Maps also starts when run from the minishell (Alt+F2 and type gnome-maps).


## System information

```
GNOME Maps 3.34.1

$ LANG=C guix describe
Generation 78	May 02 2020 18:00:20	(current)
  guix 7b07852
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: core-updates
    commit: 7b07852ddb334c92bcef69666f21c599f1f0fa79
  sirgazil-x ef6ac93
    repository URL: https://gitlab.com/sirgazil/guix-channel-x.git
    branch: master
    commit: ef6ac9331a7847fdec6f0eb199524b1b755ba0df
```


---
https://sirgazil.bitbucket.io/







Reply sent to Marius Bakke <mbakke <at> fastmail.com>:
You have taken responsibility. (Mon, 04 May 2020 14:39:01 GMT) Full text and rfc822 format available.

Notification sent to sirgazil <sirgazil <at> zoho.com>:
bug acknowledged by developer. (Mon, 04 May 2020 14:39:02 GMT) Full text and rfc822 format available.

Message #10 received at 41058-done <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: sirgazil <sirgazil <at> zoho.com>, 41058-done <at> debbugs.gnu.org
Subject: Re: bug#41058: core-updates: GNOME Maps doesn't start
Date: Mon, 04 May 2020 16:38:05 +0200
[Message part 1 (text/plain, inline)]
sirgazil via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:

> This happens in both master and core-updates, although I don't know if the former fails for the same reason. It also happens in both real machine and virtual machine.

Fixed on core-updates with commit
7d7fedf6f022e6114959684658f927e191ab40b1.  Thanks for the report!
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#41058; Package guix. (Sat, 09 May 2020 15:34:01 GMT) Full text and rfc822 format available.

Message #13 received at 41058 <at> debbugs.gnu.org (full text, mbox):

From: sirgazil <sirgazil <at> zoho.com>
To: "41058" <41058 <at> debbugs.gnu.org>
Subject: core-updates: GNOME Maps doesn't start
Date: Sat, 09 May 2020 10:33:36 -0500
I still can reproduce the problem though, in both real and virtual machines.

★★★★★★★★★★★★★★★★★★★★
$ LANG=C guix describe
Generation 80	May 08 2020 15:18:18	(current)
  sirgazil-x ef6ac93
    repository URL: https://gitlab.com/sirgazil/guix-channel-x.git
    branch: master
    commit: ef6ac9331a7847fdec6f0eb199524b1b755ba0df
  guix 35c43fc
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 35c43fcdbb408a5755efebc13241dd9082360aa1
★★★★★★★★★★★★★★★★★★★★







Information forwarded to bug-guix <at> gnu.org:
bug#41058; Package guix. (Sun, 10 May 2020 21:15:01 GMT) Full text and rfc822 format available.

Message #16 received at 41058 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: sirgazil <sirgazil <at> zoho.com>, 41058 <41058 <at> debbugs.gnu.org>
Cc: control <at> debbugs.gnu.org
Subject: Re: bug#41058: core-updates: GNOME Maps doesn't start
Date: Sun, 10 May 2020 23:14:47 +0200
reopen 41058
retitle GNOME Maps fails to start in GNOME
thanks

sirgazil via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:

> I still can reproduce the problem though, in both real and virtual machines.

Oh, I had missed that you mentioned it worked from a terminal (it did
not for me on i3).

I hope one of the GNOME users around here can have a look.




Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 10 May 2020 21:15:02 GMT) Full text and rfc822 format available.

Changed bug title to 'GNOME Maps fails to start in GNOME' from 'core-updates: GNOME Maps doesn't start' Request was from Marius Bakke <mbakke <at> fastmail.com> to control <at> debbugs.gnu.org. (Sun, 10 May 2020 21:17:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#41058; Package guix. (Mon, 11 May 2020 03:58:02 GMT) Full text and rfc822 format available.

Message #23 received at 41058 <at> debbugs.gnu.org (full text, mbox):

From: Jack Hill <jackhill <at> jackhill.us>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: sirgazil <sirgazil <at> zoho.com>, 41058 <41058 <at> debbugs.gnu.org>
Subject: bug#41058: GNOME Maps fails to start in GNOME
Date: Sun, 10 May 2020 23:57:24 -0400 (EDT)
[Message part 1 (text/plain, inline)]
On Sun, 10 May 2020, Marius Bakke wrote:

> sirgazil via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:
>
>> I still can reproduce the problem though, in both real and virtual machines.
>
> Oh, I had missed that you mentioned it worked from a terminal (it did
> not for me on i3).
>
> I hope one of the GNOME users around here can have a look.

I think that this is probably the same issue as: 
https://issues.guix.gnu.org/issue/39324

In that case the problem application was GNOME-Weather. Pierre worked 
around it there by calling the executable directly in the .desktop files 
rather than using gapplication launch…

It would be nice to figure out what's going wrong with gapplication launch 
though.

Should the issues be merged?

Best,
Jack

Information forwarded to bug-guix <at> gnu.org:
bug#41058; Package guix. (Mon, 11 May 2020 12:33:01 GMT) Full text and rfc822 format available.

Message #26 received at 41058 <at> debbugs.gnu.org (full text, mbox):

From: Leo Prikler <leo.prikler <at> student.tugraz.at>
To: jackhill <at> jackhill.us
Cc: 41058 <at> debbugs.gnu.org
Subject: bug#41058: GNOME Maps fails to start in GNOME
Date: Mon, 11 May 2020 14:31:55 +0200
[Message part 1 (text/plain, inline)]
I think, I figured out the root cause of this.  GApplication launches
apps through dbus, looking up the respective service in share/dbus-1. 
The service for GNOME Maps does not start the actual program, but much
rather a gjs wrapper, which we don't patch -- and which we can't simply
patch, because that leads to other errors, that rival our own when it
comes to how cryptic they are.

I've attached a patch, in which I rewrite the DBUS service to use the
actual program.  I have not fully tested this patch, as `guix
environment --ad-hoc gnome-maps` appears not to be strong enough to
influence the gapplication lookup.  However, if you launch `gnome-maps
--gapplication-service` in one terminal, then quickly switch to some
other and launch `gnome-maps` normally, the one that spawned the
service is the one that gets used, so claiming the bus in this fashion
*should* work.

Regards,
Leo
[0001-gnu-gnome-maps-Patch-DBUS-service.patch (text/x-patch, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#41058; Package guix. (Thu, 15 Oct 2020 06:31:01 GMT) Full text and rfc822 format available.

Message #29 received at 41058 <at> debbugs.gnu.org (full text, mbox):

From: Leo Prikler <leo.prikler <at> student.tugraz.at>
To: leo.prikler <at> student.tugraz.at
Cc: 41058 <at> debbugs.gnu.org
Subject: bug#41058: GNOME Maps fails to start in GNOME
Date: Thu, 15 Oct 2020 08:30:31 +0200
Bumping this, as it has been months since I've posted my fix.
For the record, it might also be worth looking into #39324, which uses
a different workaround, and seeing whether the dbus service can be
patched in a similar manner.

Regards, Leo





Merged 40490 41058. Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 15 Nov 2020 03:17:01 GMT) Full text and rfc822 format available.

Reply sent to Leo Prikler <leo.prikler <at> student.tugraz.at>:
You have taken responsibility. (Tue, 29 Dec 2020 13:05:02 GMT) Full text and rfc822 format available.

Notification sent to sirgazil <sirgazil <at> zoho.com>:
bug acknowledged by developer. (Tue, 29 Dec 2020 13:05:02 GMT) Full text and rfc822 format available.

Message #36 received at 41058-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Prikler <leo.prikler <at> student.tugraz.at>
To: jackhill <at> jackhill.us
Cc: 41058-done <at> debbugs.gnu.org
Subject: Re: bug#41058: GNOME Maps fails to start in GNOME
Date: Tue, 29 Dec 2020 14:04:29 +0100
Hello Guix,

I've just pushed a variant of the patch I proposed as
a2d5f9f60d0f440e5d5ce1a1cc81743b27d6cede.  I tested it yesterday in a
VM; it should work.

Regards,
Leo 





Reply sent to Leo Prikler <leo.prikler <at> student.tugraz.at>:
You have taken responsibility. (Tue, 29 Dec 2020 13:05:02 GMT) Full text and rfc822 format available.

Notification sent to Christopher Howard <christopher <at> alaskasi.com>:
bug acknowledged by developer. (Tue, 29 Dec 2020 13:05:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 27 Jan 2021 12:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 89 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.