guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: G-Golf - Callback segmentation fault


From: David Pirotte
Subject: Re: G-Golf - Callback segmentation fault
Date: Thu, 5 Sep 2024 17:48:19 -0300

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

Attachment: pgpMCVd9NqMVN.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]