Re: G-Golf - Callback segmentation fault

David Pirotte <[email protected]>
Newsgroups gmane.lisp.guile.user
Message-ID <20240905174819.0d250abb@tintin>
Hi Florian,

> Thank you David, thank you Matija,
> it works on Guix!

Excellent!

> Except for small warnings like
> Warning: Missing /etc/X11/rgb.txt, using a fallback.
> that probably should be fixed on the Guix side.

You may as well safely ignore the warning ofc - i am not sure how to
handle this, yet ... this is in the newly added (g-golf support color)
module ... [1]

> And some issues that I have to chdir to
> ~/src/g-golf/examples/gtk-4/
> to run
> ~/src/g-golf/examples/gtk-4/revealer.scm,
> otherwise I get
> g-golf/hl-api/function.scm:89:6: Failed to open file
> ???/home/florian/ui/revealer.ui???: No such file or directory

Yes, you have to, as things are, because all template files are
(currently), files :), and their path are defined, at runtime, based
on the app (script) dirname ... I could improve that, but not in the
near future ...

> And some locale issues when running adwaita demo
> only when running in a container,
> ERROR: In procedure dirname:
> In procedure scm_to_utf8_stringn: Wrong type argument in position 1
> (expecting string): #f probably because I set up the container
> wrongly.

It is not because of a locale issue, it is because you are calling
(dirname #f)

	scheme@(guile-user)> (dirname #f)
	"ice-9/boot-9.scm":1677:22: In procedure raise-exception:
	In procedure "scm_to_utf8_stringn": Wrong type argument in
	position 1 (expecting "string"): #f

	Entering a new prompt.  Type `,bt' for a backtrace or `,q' to
	continue.

Cheers,
David

[1]

https://www.gnu.org/software/g-golf/manual/html_node/Color-Hollow.html
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAmbaGRMACgkQ83T9k6MF
ete+owgA0ccBE8wrmdKGakFda/PMN2sZ+lLE9EVJ+PNnVHdOyJDCgwWCts1PBKGp
tWYEEPaLvceo73WqHnNGhg0CK+PbtvzeetOe+9iNoqxwFYw/DdMqQnX0Cx03+Zlp
R3X7/IoM0KZJi2qzMfmT5rctVHTGx7OY0+zWa6m60TX6XgBE4lqvo2+YGtfG1sBZ
Rut+ELrGxXnekQi/IDqUSfeNeQLR8xOBfX/z5Ay8FYZ/jbaTN/fgWm3ILkcaE6a4
IRBMQqNLhx08f99m41L78JDtf3bFTmc0mhW6TXryjy0cpLI3nkWE2oz2Un7FeLGm
IFQAbq/zRDoOGxhRJ52j8hLwjAuopQ==
=2qoc
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.