unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: David Pirotte <david@altosw.be>
To: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
Cc: Matija Obid <matija.obid@posteo.net>, guile-user@gnu.org
Subject: Re: G-Golf - Callback segmentation fault
Date: Thu, 5 Sep 2024 17:48:19 -0300	[thread overview]
Message-ID: <20240905174819.0d250abb@tintin> (raw)
In-Reply-To: <8734mer2ax.fsf@pelzflorian.de>

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

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  parent reply	other threads:[~2024-09-05 20:48 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-21 14:50 G-Golf - Callback segmentation fault Matija Obid
2024-08-21 15:19 ` pelzflorian (Florian Pelz)
2024-08-23 23:57   ` David Pirotte
2024-08-24 16:01     ` pelzflorian (Florian Pelz)
2024-08-25  5:09       ` David Pirotte
2024-08-25 13:28         ` pelzflorian (Florian Pelz)
2024-08-26  6:40           ` pelzflorian (Florian Pelz)
2024-08-22  0:21 ` David Pirotte
2024-08-27 20:09   ` Matija Obid
2024-08-28 10:50     ` pelzflorian (Florian Pelz)
2024-08-29  0:18     ` David Pirotte
2024-08-31 16:35       ` Matija Obid
2024-09-02 15:30         ` pelzflorian (Florian Pelz)
2024-09-02 21:18         ` David Pirotte
2024-09-03  1:01           ` David Pirotte
2024-09-05  4:00             ` David Pirotte
2024-09-05  7:24               ` pelzflorian (Florian Pelz)
2024-09-05  7:42                 ` pelzflorian (Florian Pelz)
2024-09-05 21:23                   ` David Pirotte
2024-09-05 21:44                     ` David Pirotte
2024-09-05 20:48                 ` David Pirotte [this message]
2024-09-05 13:37               ` Matija Obid
2024-09-05 22:14                 ` David Pirotte
2024-09-06  6:29                   ` David Pirotte
2024-09-06  9:44                     ` pelzflorian (Florian Pelz)
2024-09-06 18:37                       ` David Pirotte
2024-09-06 22:08                         ` David Pirotte
2024-09-06 23:16                           ` David Pirotte
2024-09-07 14:08                             ` pelzflorian (Florian Pelz)
2024-09-07 11:53                           ` Matija Obid

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240905174819.0d250abb@tintin \
    --to=david@altosw.be \
    --cc=guile-user@gnu.org \
    --cc=matija.obid@posteo.net \
    --cc=pelzflorian@pelzflorian.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).