GNU bug report logs

#47097 environment container example in the manual does not work

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to bug-guix@gnu.org:
bug#47097; Package guix. (Fri, 12 Mar 2021 11:05:02 GMT) (full text, mbox, link).


Acknowledgement sent to zimoun <zimon.toutoune@gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org. (Fri, 12 Mar 2021 11:05:02 GMT) (full text, mbox, link).


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

From: zimoun <zimon.toutoune@gmail.com>
To: bug-guix@gnu.org
Subject: eolie broken => unworking example from manual
Date: Fri, 12 Mar 2021 11:56:31 +0100
Hi,

The manual says:

   guix environment --preserve='^DISPLAY$' --container --network \
     --expose=/etc/machine-id \
     --expose=/etc/ssl/certs/ \
     --share=$HOME/.local/share/eolie/=$HOME/.local/share/eolie/ \
     --ad-hoc eolie nss-certs dbus --  eolie

from
<https://guix.gnu.org/manual/devel/en/guix.html#Invoking-guix-environment>.

The result is:

--8<---------------cut here---------------start------------->8---
Traceback (most recent call last):
  File "/gnu/store/vd3j73jl7prq92w1343k9miiyzbiw2qz-eolie-0.9.101/bin/.eolie-real", line 20, in <module>
    from eolie.application import Application
  File "/gnu/store/vd3j73jl7prq92w1343k9miiyzbiw2qz-eolie-0.9.101/lib/python3.8/site-packages/eolie/application.py", line 19, in <module>
    gi.require_version("Handy", "1")
  File "/gnu/store/w2vbhjfbhiszlrjilnxniqrmkdpy0kr9-python-pygobject-3.34.0/lib/python3.8/site-packages/gi/__init__.py", line 129, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Handy not available
--8<---------------cut here---------------end--------------->8---


All the best,
simon




Information forwarded to bug-guix@gnu.org:
bug#47097; Package guix. (Fri, 12 Mar 2021 11:45:02 GMT) (full text, mbox, link).


Message #8 received at 47097@debbugs.gnu.org (full text, mbox, reply):

From: Martin <smartin@disroot.org>
To: zimoun <zimon.toutoune@gmail.com>, 47097@debbugs.gnu.org
Subject: Re: bug#47097: eolie broken => unworking example from manual
Date: Fri, 12 Mar 2021 11:44:26 +0000
On 3/12/21 10:56 AM, zimoun wrote:
> Hi,
>
> The manual says:
>
>     guix environment --preserve='^DISPLAY$' --container --network \
>       --expose=/etc/machine-id \
>       --expose=/etc/ssl/certs/ \
>       --share=$HOME/.local/share/eolie/=$HOME/.local/share/eolie/ \
>       --ad-hoc eolie nss-certs dbus --  eolie
>
> from
> <https://guix.gnu.org/manual/devel/en/guix.html#Invoking-guix-environment>.

Btw. is it possible to enable sound for browsers in the guix container 
like from above, for example by using the newest pipewire? Does anyone 
ever test it?


Kind regards!
Martin





Information forwarded to bug-guix@gnu.org:
bug#47097; Package guix. (Fri, 12 Mar 2021 17:56:02 GMT) (full text, mbox, link).


Message #11 received at 47097@debbugs.gnu.org (full text, mbox, reply):

From: Leo Prikler <leo.prikler@student.tugraz.at>
To: 47097@debbugs.gnu.org
Subject: [PATCH] gnu: eolie: Add missing inputs.
Date: Fri, 12 Mar 2021 18:55:41 +0100
This fixes errors observed directly at launch of Eolie inside pure
environments.  (See <https://bugs.gnu.org/47097> for more information.)
It is still not possible to launch Eolie inside a container, however.
(See also <https://bugs.gnu.org/47106>.)

* gnu/packages/gnome.scm (eolie)[inputs]: Add libhandy and
gnome-settings-daemon.
---
 gnu/packages/gnome.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 5c6d247471..78dac0b357 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -6641,9 +6641,11 @@ almost all of them.")
        ("python-pygobject" ,python-pygobject)
        ("python-pycairo" ,python-pycairo)
        ("python-pycrypto" ,python-pycrypto)
+       ("libhandy" ,libhandy)
        ("libsecret" ,libsecret)
        ("gtkspell3" ,gtkspell3)
        ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
+       ("gnome-settings-daemon" ,gnome-settings-daemon) ; desktop-schemas are not enough
        ("webkitgtk" ,webkitgtk)))
     (home-page "https://wiki.gnome.org/Apps/Eolie")
     (synopsis "Web browser for GNOME")
-- 
2.30.1





Information forwarded to bug-guix@gnu.org:
bug#47097; Package guix. (Thu, 18 Mar 2021 20:45:02 GMT) (full text, mbox, link).


Message #14 received at 47097@debbugs.gnu.org (full text, mbox, reply):

From: Ludovic Courtès <ludo@gnu.org>
To: Leo Prikler <leo.prikler@student.tugraz.at>
Cc: 47097@debbugs.gnu.org
Subject: Re: bug#47097: eolie broken => unworking example from manual
Date: Thu, 18 Mar 2021 21:44:49 +0100
Hi,

Leo Prikler <leo.prikler@student.tugraz.at> skribis:

> This fixes errors observed directly at launch of Eolie inside pure
> environments.  (See <https://bugs.gnu.org/47097> for more information.)
> It is still not possible to launch Eolie inside a container, however.
> (See also <https://bugs.gnu.org/47106>.)
>
> * gnu/packages/gnome.scm (eolie)[inputs]: Add libhandy and
> gnome-settings-daemon.

LGTM, thanks!

Ludo’.




Information forwarded to bug-guix@gnu.org:
bug#47097; Package guix. (Wed, 24 Mar 2021 03:15:02 GMT) (full text, mbox, link).


Message #17 received at 47097@debbugs.gnu.org (full text, mbox, reply):

From: zimoun <zimon.toutoune@gmail.com>
To: Ludovic Courtès <ludo@gnu.org>
Cc: Leo Prikler <leo.prikler@student.tugraz.at>, 47097@debbugs.gnu.org
Subject: Re: bug#47097: eolie broken => unworking example from manual
Date: Wed, 24 Mar 2021 04:14:00 +0100
Hi,

On Thu, 18 Mar 2021 at 21:44, Ludovic Courtès <ludo@gnu.org> wrote:
> Leo Prikler <leo.prikler@student.tugraz.at> skribis:
>
>> This fixes errors observed directly at launch of Eolie inside pure
>> environments.  (See <https://bugs.gnu.org/47097> for more information.)
>> It is still not possible to launch Eolie inside a container, however.
>> (See also <https://bugs.gnu.org/47106>.)
>>
>> * gnu/packages/gnome.scm (eolie)[inputs]: Add libhandy and
>> gnome-settings-daemon.
>
> LGTM, thanks!

I could have missed the commit, I guess this patch is not pushed.  It
seems nice to have for the next release.  Since it fixes an example from
the manual. :-)


Cheers,
simon




Information forwarded to bug-guix@gnu.org:
bug#47097; Package guix. (Wed, 24 Mar 2021 08:08:02 GMT) (full text, mbox, link).


Message #20 received at 47097@debbugs.gnu.org (full text, mbox, reply):

From: Leo Prikler <leo.prikler@student.tugraz.at>
To: zimoun <zimon.toutoune@gmail.com>, Ludovic Courtès <ludo@gnu.org>
Cc: 47097@debbugs.gnu.org
Subject: Re: bug#47097: eolie broken => unworking example from manual
Date: Wed, 24 Mar 2021 09:07:34 +0100
Am Mittwoch, den 24.03.2021, 04:14 +0100 schrieb zimoun:
> Hi,
> 
> On Thu, 18 Mar 2021 at 21:44, Ludovic Courtès <ludo@gnu.org> wrote:
> > Leo Prikler <leo.prikler@student.tugraz.at> skribis:
> > 
> > > This fixes errors observed directly at launch of Eolie inside
> > > pure
> > > environments.  (See <https://bugs.gnu.org/47097> for more
> > > information.)
> > > It is still not possible to launch Eolie inside a container,
> > > however.
> > > (See also <https://bugs.gnu.org/47106>;.)
> > > 
> > > * gnu/packages/gnome.scm (eolie)[inputs]: Add libhandy and
> > > gnome-settings-daemon.
> > 
> > LGTM, thanks!
> 
> I could have missed the commit, I guess this patch is not pushed.  It
> seems nice to have for the next release.  Since it fixes an example
> from
> the manual. :-)
Sorry to disappoint you, but it only fixes *some* errors, not all of
them.  I still haven't figured out how to meaningfully launch Eolie
inside a container, see <https://bugs.gnu.org/47106> detailing my
bubblewrap-related issues doing so.

Regards,
Leo






Added indication that bug 47097 blocks47297 Request was from zimoun <zimon.toutoune@gmail.com> to control@debbugs.gnu.org. (Wed, 24 Mar 2021 09:29:02 GMT) (full text, mbox, link).


Information forwarded to bug-guix@gnu.org:
bug#47097; Package guix. (Wed, 24 Mar 2021 16:18:02 GMT) (full text, mbox, link).


Message #25 received at 47097@debbugs.gnu.org (full text, mbox, reply):

From: Ludovic Courtès <ludo@gnu.org>
To: Leo Prikler <leo.prikler@student.tugraz.at>
Cc: 47097@debbugs.gnu.org, zimoun <zimon.toutoune@gmail.com>
Subject: Re: bug#47097: eolie broken => unworking example from manual
Date: Wed, 24 Mar 2021 17:17:27 +0100
Leo Prikler <leo.prikler@student.tugraz.at> skribis:

> Am Mittwoch, den 24.03.2021, 04:14 +0100 schrieb zimoun:
>> Hi,
>> 
>> On Thu, 18 Mar 2021 at 21:44, Ludovic Courtès <ludo@gnu.org> wrote:
>> > Leo Prikler <leo.prikler@student.tugraz.at> skribis:
>> > 
>> > > This fixes errors observed directly at launch of Eolie inside
>> > > pure
>> > > environments.  (See <https://bugs.gnu.org/47097> for more
>> > > information.)
>> > > It is still not possible to launch Eolie inside a container,
>> > > however.
>> > > (See also <https://bugs.gnu.org/47106>;.)
>> > > 
>> > > * gnu/packages/gnome.scm (eolie)[inputs]: Add libhandy and
>> > > gnome-settings-daemon.
>> > 
>> > LGTM, thanks!
>> 
>> I could have missed the commit, I guess this patch is not pushed.  It
>> seems nice to have for the next release.  Since it fixes an example
>> from
>> the manual. :-)
> Sorry to disappoint you, but it only fixes *some* errors, not all of
> them.

Still worth pushing though, IMO.

Ludo’.




Information forwarded to bug-guix@gnu.org:
bug#47097; Package guix. (Fri, 26 Mar 2021 12:33:01 GMT) (full text, mbox, link).


Message #28 received at 47097@debbugs.gnu.org (full text, mbox, reply):

From: Leo Prikler <leo.prikler@student.tugraz.at>
To: Ludovic Courtès <ludo@gnu.org>
Cc: 47097@debbugs.gnu.org, zimoun <zimon.toutoune@gmail.com>
Subject: Re: bug#47097: eolie broken => unworking example from manual
Date: Fri, 26 Mar 2021 13:32:42 +0100
Am Mittwoch, den 24.03.2021, 17:17 +0100 schrieb Ludovic Courtès:
> Leo Prikler <leo.prikler@student.tugraz.at> skribis:
> 
> > Am Mittwoch, den 24.03.2021, 04:14 +0100 schrieb zimoun:
> > > Hi,
> > > 
> > > On Thu, 18 Mar 2021 at 21:44, Ludovic Courtès <ludo@gnu.org>
> > > wrote:
> > > > Leo Prikler <leo.prikler@student.tugraz.at> skribis:
> > > > 
> > > > > This fixes errors observed directly at launch of Eolie inside
> > > > > pure
> > > > > environments.  (See <https://bugs.gnu.org/47097> for more
> > > > > information.)
> > > > > It is still not possible to launch Eolie inside a container,
> > > > > however.
> > > > > (See also <https://bugs.gnu.org/47106>;;.)
> > > > > 
> > > > > * gnu/packages/gnome.scm (eolie)[inputs]: Add libhandy and
> > > > > gnome-settings-daemon.
> > > > 
> > > > LGTM, thanks!
> > > 
> > > I could have missed the commit, I guess this patch is not
> > > pushed.  It
> > > seems nice to have for the next release.  Since it fixes an
> > > example
> > > from
> > > the manual. :-)
> > Sorry to disappoint you, but it only fixes *some* errors, not all
> > of
> > them.
> 
> Still worth pushing though, IMO.
> 
> Ludo’.
Pushed as 0dc9ad898180bd37aadfa23d23806b595e600c83.  I assume this bug
is to be kept open until 47106 is resolved, am I correct?





Information forwarded to bug-guix@gnu.org:
bug#47097; Package guix. (Sat, 10 Apr 2021 18:41:02 GMT) (full text, mbox, link).


Message #31 received at 47097@debbugs.gnu.org (full text, mbox, reply):

From: Leo Famulari <leo@famulari.name>
To: Leo Prikler <leo.prikler@student.tugraz.at>
Cc: Ludovic Courtès <ludo@gnu.org>, 47097@debbugs.gnu.org, zimoun <zimon.toutoune@gmail.com>
Subject: Re: bug#47097: eolie broken => unworking example from manual
Date: Sat, 10 Apr 2021 14:40:48 -0400
[Message part 1 (text/plain, inline)]
On Wed, Mar 24, 2021 at 09:07:34AM +0100, Leo Prikler wrote:
> Am Mittwoch, den 24.03.2021, 04:14 +0100 schrieb zimoun:
> > Hi,
> > 
> > On Thu, 18 Mar 2021 at 21:44, Ludovic Courtès <ludo@gnu.org> wrote:
> > > Leo Prikler <leo.prikler@student.tugraz.at> skribis:
> > > 
> > > > This fixes errors observed directly at launch of Eolie inside
> > > > pure
> > > > environments.  (See <https://bugs.gnu.org/47097> for more
> > > > information.)
> > > > It is still not possible to launch Eolie inside a container,
> > > > however.
> > > > (See also <https://bugs.gnu.org/47106>;.)
> > > > 
> > > > * gnu/packages/gnome.scm (eolie)[inputs]: Add libhandy and
> > > > gnome-settings-daemon.
> > > 
> > > LGTM, thanks!
> > 
> > I could have missed the commit, I guess this patch is not pushed.  It
> > seems nice to have for the next release.  Since it fixes an example
> > from
> > the manual. :-)
> Sorry to disappoint you, but it only fixes *some* errors, not all of
> them.  I still haven't figured out how to meaningfully launch Eolie
> inside a container, see <https://bugs.gnu.org/47106> detailing my
> bubblewrap-related issues doing so.

We are aiming for a new release on April 18. Should we just remove this
example from the manual?
[signature.asc (application/pgp-signature, inline)]

Changed bug title to '"environment container example in the manual does not work"' from 'eolie broken => unworking example from manual' Request was from Leo Famulari <leo@famulari.name> to control@debbugs.gnu.org. (Sat, 10 Apr 2021 19:22:02 GMT) (full text, mbox, link).


Changed bug title to 'environment container example in the manual does not work' from '"environment container example in the manual does not work"' Request was from Leo Famulari <leo@famulari.name> to control@debbugs.gnu.org. (Sat, 10 Apr 2021 19:39:02 GMT) (full text, mbox, link).


Information forwarded to bug-guix@gnu.org:
bug#47097; Package guix. (Sat, 10 Apr 2021 20:25:01 GMT) (full text, mbox, link).


Message #38 received at 47097@debbugs.gnu.org (full text, mbox, reply):

From: Leo Prikler <leo.prikler@student.tugraz.at>
To: Leo Famulari <leo@famulari.name>
Cc: Ludovic Courtès <ludo@gnu.org>, 47097@debbugs.gnu.org, zimoun <zimon.toutoune@gmail.com>
Subject: Re: bug#47097: eolie broken => unworking example from manual
Date: Sat, 10 Apr 2021 22:24:11 +0200
Am Samstag, den 10.04.2021, 14:40 -0400 schrieb Leo Famulari:
> On Wed, Mar 24, 2021 at 09:07:34AM +0100, Leo Prikler wrote:
> > Am Mittwoch, den 24.03.2021, 04:14 +0100 schrieb zimoun:
> > > Hi,
> > > 
> > > On Thu, 18 Mar 2021 at 21:44, Ludovic Courtès <ludo@gnu.org>
> > > wrote:
> > > > Leo Prikler <leo.prikler@student.tugraz.at> skribis:
> > > > 
> > > > > This fixes errors observed directly at launch of Eolie inside
> > > > > pure
> > > > > environments.  (See <https://bugs.gnu.org/47097> for more
> > > > > information.)
> > > > > It is still not possible to launch Eolie inside a container,
> > > > > however.
> > > > > (See also <https://bugs.gnu.org/47106>;;.)
> > > > > 
> > > > > * gnu/packages/gnome.scm (eolie)[inputs]: Add libhandy and
> > > > > gnome-settings-daemon.
> > > > 
> > > > LGTM, thanks!
> > > 
> > > I could have missed the commit, I guess this patch is not
> > > pushed.  It
> > > seems nice to have for the next release.  Since it fixes an
> > > example
> > > from
> > > the manual. :-)
> > Sorry to disappoint you, but it only fixes *some* errors, not all
> > of
> > them.  I still haven't figured out how to meaningfully launch Eolie
> > inside a container, see <https://bugs.gnu.org/47106> detailing my
> > bubblewrap-related issues doing so.
> 
> We are aiming for a new release on April 18. Should we just remove
> this
> example from the manual?
Since the aim is to showcase how to "run security-sensitive
applications such as a web browser", perhaps we might try to use icecat
for this purpose instead?





Information forwarded to bug-guix@gnu.org:
bug#47097; Package guix. (Sat, 10 Apr 2021 20:32:01 GMT) (full text, mbox, link).


Message #41 received at 47097@debbugs.gnu.org (full text, mbox, reply):

From: Leo Famulari <leo@famulari.name>
To: Leo Prikler <leo.prikler@student.tugraz.at>
Cc: Ludovic Courtès <ludo@gnu.org>, 47097@debbugs.gnu.org, zimoun <zimon.toutoune@gmail.com>
Subject: Re: bug#47097: eolie broken => unworking example from manual
Date: Sat, 10 Apr 2021 16:31:33 -0400
On Sat, Apr 10, 2021 at 10:24:11PM +0200, Leo Prikler wrote:
> Since the aim is to showcase how to "run security-sensitive
> applications such as a web browser", perhaps we might try to use icecat
> for this purpose instead?

Sure, whatever is appropriate. The important thing is to not include
broken examples in the manual.




Information forwarded to bug-guix@gnu.org:
bug#47097; Package guix. (Wed, 14 Apr 2021 20:04:02 GMT) (full text, mbox, link).


Message #44 received at 47097@debbugs.gnu.org (full text, mbox, reply):

From: Leo Famulari <leo@famulari.name>
To: Leo Prikler <leo.prikler@student.tugraz.at>
Cc: Ludovic Courtès <ludo@gnu.org>, 47097@debbugs.gnu.org, zimoun <zimon.toutoune@gmail.com>
Subject: Re: bug#47097: eolie broken => unworking example from manual
Date: Wed, 14 Apr 2021 16:03:16 -0400
Unfortunately, we have entered "string freeze" for the upcoming release.
This means the manual cannot be changed. So, we will release with the
broken example :(

I should have been more proactive about removing it.




Removed indication that bug 47097 blocks Request was from Leo Famulari <leo@famulari.name> to control@debbugs.gnu.org. (Wed, 14 Apr 2021 20:04:02 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Dec 22 03:11:44 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.