unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#47097: eolie broken => unworking example from manual
@ 2021-03-12 10:56 zimoun
  2021-03-12 11:44 ` Martin via Bug reports for GNU Guix
  2021-03-12 17:55 ` bug#47097: [PATCH] gnu: eolie: Add missing inputs Leo Prikler
  0 siblings, 2 replies; 12+ messages in thread
From: zimoun @ 2021-03-12 10:56 UTC (permalink / raw)
  To: 47097

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




^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#47097: eolie broken => unworking example from manual
  2021-03-12 10:56 bug#47097: eolie broken => unworking example from manual zimoun
@ 2021-03-12 11:44 ` Martin via Bug reports for GNU Guix
  2021-03-12 17:55 ` bug#47097: [PATCH] gnu: eolie: Add missing inputs Leo Prikler
  1 sibling, 0 replies; 12+ messages in thread
From: Martin via Bug reports for GNU Guix @ 2021-03-12 11:44 UTC (permalink / raw)
  To: zimoun, 47097

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





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#47097: [PATCH] gnu: eolie: Add missing inputs.
  2021-03-12 10:56 bug#47097: eolie broken => unworking example from manual zimoun
  2021-03-12 11:44 ` Martin via Bug reports for GNU Guix
@ 2021-03-12 17:55 ` Leo Prikler
  2021-03-18 20:44   ` bug#47097: eolie broken => unworking example from manual Ludovic Courtès
  1 sibling, 1 reply; 12+ messages in thread
From: Leo Prikler @ 2021-03-12 17:55 UTC (permalink / raw)
  To: 47097

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





^ permalink raw reply related	[flat|nested] 12+ messages in thread

* bug#47097: eolie broken => unworking example from manual
  2021-03-12 17:55 ` bug#47097: [PATCH] gnu: eolie: Add missing inputs Leo Prikler
@ 2021-03-18 20:44   ` Ludovic Courtès
  2021-03-24  3:14     ` zimoun
  0 siblings, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2021-03-18 20:44 UTC (permalink / raw)
  To: Leo Prikler; +Cc: 47097

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’.




^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#47097: eolie broken => unworking example from manual
  2021-03-18 20:44   ` bug#47097: eolie broken => unworking example from manual Ludovic Courtès
@ 2021-03-24  3:14     ` zimoun
  2021-03-24  8:07       ` Leo Prikler
  0 siblings, 1 reply; 12+ messages in thread
From: zimoun @ 2021-03-24  3:14 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Leo Prikler, 47097

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




^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#47097: eolie broken => unworking example from manual
  2021-03-24  3:14     ` zimoun
@ 2021-03-24  8:07       ` Leo Prikler
  2021-03-24 16:17         ` Ludovic Courtès
  2021-04-10 18:40         ` Leo Famulari
  0 siblings, 2 replies; 12+ messages in thread
From: Leo Prikler @ 2021-03-24  8:07 UTC (permalink / raw)
  To: zimoun, Ludovic Courtès; +Cc: 47097

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






^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#47097: eolie broken => unworking example from manual
  2021-03-24  8:07       ` Leo Prikler
@ 2021-03-24 16:17         ` Ludovic Courtès
  2021-03-26 12:32           ` Leo Prikler
  2021-04-10 18:40         ` Leo Famulari
  1 sibling, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2021-03-24 16:17 UTC (permalink / raw)
  To: Leo Prikler; +Cc: 47097

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’.




^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#47097: eolie broken => unworking example from manual
  2021-03-24 16:17         ` Ludovic Courtès
@ 2021-03-26 12:32           ` Leo Prikler
  0 siblings, 0 replies; 12+ messages in thread
From: Leo Prikler @ 2021-03-26 12:32 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 47097

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?





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#47097: eolie broken => unworking example from manual
  2021-03-24  8:07       ` Leo Prikler
  2021-03-24 16:17         ` Ludovic Courtès
@ 2021-04-10 18:40         ` Leo Famulari
  2021-04-10 20:24           ` Leo Prikler
  1 sibling, 1 reply; 12+ messages in thread
From: Leo Famulari @ 2021-04-10 18:40 UTC (permalink / raw)
  To: Leo Prikler; +Cc: 47097, zimoun

[-- Attachment #1: Type: text/plain, Size: 1268 bytes --]

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?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#47097: eolie broken => unworking example from manual
  2021-04-10 18:40         ` Leo Famulari
@ 2021-04-10 20:24           ` Leo Prikler
  2021-04-10 20:31             ` Leo Famulari
  0 siblings, 1 reply; 12+ messages in thread
From: Leo Prikler @ 2021-04-10 20:24 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 47097, zimoun

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?





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#47097: eolie broken => unworking example from manual
  2021-04-10 20:24           ` Leo Prikler
@ 2021-04-10 20:31             ` Leo Famulari
  2021-04-14 20:03               ` Leo Famulari
  0 siblings, 1 reply; 12+ messages in thread
From: Leo Famulari @ 2021-04-10 20:31 UTC (permalink / raw)
  To: Leo Prikler; +Cc: 47097, zimoun

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.




^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#47097: eolie broken => unworking example from manual
  2021-04-10 20:31             ` Leo Famulari
@ 2021-04-14 20:03               ` Leo Famulari
  0 siblings, 0 replies; 12+ messages in thread
From: Leo Famulari @ 2021-04-14 20:03 UTC (permalink / raw)
  To: Leo Prikler; +Cc: 47097, zimoun

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.




^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-04-14 20:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-12 10:56 bug#47097: eolie broken => unworking example from manual zimoun
2021-03-12 11:44 ` Martin via Bug reports for GNU Guix
2021-03-12 17:55 ` bug#47097: [PATCH] gnu: eolie: Add missing inputs Leo Prikler
2021-03-18 20:44   ` bug#47097: eolie broken => unworking example from manual Ludovic Courtès
2021-03-24  3:14     ` zimoun
2021-03-24  8:07       ` Leo Prikler
2021-03-24 16:17         ` Ludovic Courtès
2021-03-26 12:32           ` Leo Prikler
2021-04-10 18:40         ` Leo Famulari
2021-04-10 20:24           ` Leo Prikler
2021-04-10 20:31             ` Leo Famulari
2021-04-14 20:03               ` Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).