From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Pirotte Newsgroups: gmane.lisp.guile.user Subject: Re: G-Golf - Callback segmentation fault Date: Thu, 5 Sep 2024 17:48:19 -0300 Message-ID: <20240905174819.0d250abb@tintin> References: <87msl6c4lf.fsf@posteo.net> <20240821212129.7647d035@tintin> <87a5gxybgm.fsf@posteo.net> <20240828211805.68f594a7@tintin> <87cylo8xc4.fsf@posteo.net> <20240902181854.2017f1fc@tintin> <20240902220154.54e2f1ac@tintin> <20240905010031.21a93f7f@tintin> <8734mer2ax.fsf@pelzflorian.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/ZZFUnt9.egFDTcGv+v33lQG"; protocol="application/pgp-signature"; micalg=pgp-sha512 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36024"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Matija Obid , guile-user@gnu.org To: "pelzflorian (Florian Pelz)" Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Thu Sep 05 22:49:06 2024 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1smJPe-0009Ak-8D for guile-user@m.gmane-mx.org; Thu, 05 Sep 2024 22:49:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smJPB-0001Ki-2w; Thu, 05 Sep 2024 16:48:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smJP8-0001KL-MN for guile-user@gnu.org; Thu, 05 Sep 2024 16:48:34 -0400 Original-Received: from pop.all2all.org ([79.99.200.14] helo=moses.all2all.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smJP6-0004UP-QI for guile-user@gnu.org; Thu, 05 Sep 2024 16:48:34 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by moses.all2all.org (Postfix) with ESMTP id EDA8F67C007A; Thu, 5 Sep 2024 22:48:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at moses.all2all.org Original-Received: from moses.all2all.org ([127.0.0.1]) by localhost (moses.all2all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oYypiqbWUV1Z; Thu, 5 Sep 2024 22:48:28 +0200 (CEST) Original-Received: from tintin (unknown [168.227.184.146]) by moses.all2all.org (Postfix) with ESMTPSA id 0151267C0074; Thu, 5 Sep 2024 22:48:26 +0200 (CEST) In-Reply-To: <8734mer2ax.fsf@pelzflorian.de> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.43; x86_64-pc-linux-gnu) Received-SPF: pass client-ip=79.99.200.14; envelope-from=david@altosw.be; helo=moses.all2all.org X-Spam_score_int: 7 X-Spam_score: 0.7 X-Spam_bar: / X-Spam_report: (0.7 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:19784 Archived-At: --Sig_/ZZFUnt9.egFDTcGv+v33lQG Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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 --Sig_/ZZFUnt9.egFDTcGv+v33lQG Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----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----- --Sig_/ZZFUnt9.egFDTcGv+v33lQG--