From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "K.L." Newsgroups: gmane.lisp.guile.devel Subject: Re: A weird problem about "define-private', need help please! Date: Sun, 18 Oct 2020 17:04:52 +0800 Message-ID: References: <87imb8xcvy.fsf@gnuvola.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000028222505b1ee4ba3" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3130"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-devel@gnu.org To: Thien-Thi Nguyen Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Sun Oct 18 11:05:31 2020 Return-path: Envelope-to: guile-devel@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 1kU4d9-0000hE-J6 for guile-devel@m.gmane-mx.org; Sun, 18 Oct 2020 11:05:31 +0200 Original-Received: from localhost ([::1]:40354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kU4d8-0004ds-L7 for guile-devel@m.gmane-mx.org; Sun, 18 Oct 2020 05:05:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kU4cn-0004di-FK for guile-devel@gnu.org; Sun, 18 Oct 2020 05:05:09 -0400 Original-Received: from mail-vs1-xe34.google.com ([2607:f8b0:4864:20::e34]:45873) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kU4ck-0001fr-AQ for guile-devel@gnu.org; Sun, 18 Oct 2020 05:05:08 -0400 Original-Received: by mail-vs1-xe34.google.com with SMTP id r1so3971805vsi.12 for ; Sun, 18 Oct 2020 02:05:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=17bL2pgSuxySjMDuxqql77SDexIBfF9pRztZ8NjzOM4=; b=i8UgKBP3bFoIIthFydGWCOr9Z79tCNBMYLexCi7V16+s332Y2a0HVWhARpUUeoRwPb fyI5NeRDKxgzML+GyM5FpmJKJ1h15tDPGVXmL1npi1/9pSo9NKFRXk44dh9VfBX+iBzR uo+OmYXKNSNk8C+C0whZAgp+4r8KVLNK2VAmF315vuhdZ4HIOrJQWcAgKClCfkq6clU4 aXl7PizVHTTHVl67Entr80OZC3/FT/PJdrh/GNTzHMTw30sOPsRszd5jZEoVK4GU33HZ 04GT6bp3TfDR+tgJMuIvJEp2iQ/3XgbSgMH/uwZa3zd3Hk70nlPhNp9wMCpS813XkDcw pWYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=17bL2pgSuxySjMDuxqql77SDexIBfF9pRztZ8NjzOM4=; b=LGpfklwb+ISfWv6T/R0bNF6Da17H9DeLvc2ez9I17H/EWZWG7YMl/eiBWFzzoi/6xj cfd1nRkf32LfO2D50f60ekIF78Ss1cnRIzVst5rstsVyELjtnCDEJUpoTKDAVgG0xXon 1c6IIYODbAO9wqB6YBtBPQfI73ufjsWRajXlZUTnI1DZ1oguWUPL2CDETmj4I8iYzKBc wmgRFG8FGspKAGrj65alrf6YSpODOzlRUDspUM9eMT6huhE5td0MhjNaTOn82URV8EVR CFZY6xdBaah6q/smBjDDgtLut+/tyMYpyKmjIFEVbd6k+hDnkbjLPvYgsdrPLUNEODsC T5ew== X-Gm-Message-State: AOAM531nHvJe1+fqsfKVKQr+IPQ51/QL3bzKY+r6yE3gFzK4cQmmdX2N HlsRIF3h82WvtfKqR0EZrsf9FCVEH01UwBFuE1W+abR8fro= X-Google-Smtp-Source: ABdhPJx9+uxYYouQKr3DWJxDwkwT9ooVoAafXXOJHx+ie6EwGtDd1z6gcoNcyBugP77RUdfLKcGsAf6bVHKX3Ukr6Dc= X-Received: by 2002:a67:d888:: with SMTP id f8mr6139353vsj.44.1603011904806; Sun, 18 Oct 2020 02:05:04 -0700 (PDT) In-Reply-To: <87imb8xcvy.fsf@gnuvola.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::e34; envelope-from=xxxk.l.xxx@gmail.com; helo=mail-vs1-xe34.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:20598 Archived-At: --00000000000028222505b1ee4ba3 Content-Type: text/plain; charset="UTF-8" My first running environment didn't print guile errors (I still don't know why). I deduce the message by break point, and stack data. I saw 'Unbound variable: ~S' and the first scm object in args was translated as 'define-private'. Then today I setup a PC environment with the same config.h, and test again. I saw the real error is '(define-private _ gettext)' and 'Unbound variable: gettext'. The project is supposed to handle guile error at high-level code, but it failed handling for some unknown reason. So it takes some extra time to work it out. However, after the error thrown the guile thread just quit (printing nothing) and left a silent running process, it's wired. On Sun, Oct 18, 2020 at 2:35 PM Thien-Thi Nguyen wrote: > () "K.L." > () Sun, 18 Oct 2020 13:12:35 +0800 > > Never mind, I figured it out. The actual problem is I didn't > get the correct error message. > > What is the correct error message? > > -- > Thien-Thi Nguyen ----------------------------------------------- > (defun responsep (query) ; (2020) Software Libero > (pcase (context query) ; = Dissenso Etico > (`(technical ,ml) (correctp ml)) > ...)) 748E A0E8 1CB8 A748 9BFA > --------------------------------------- 6CE4 6703 2224 4C80 7502 > --00000000000028222505b1ee4ba3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
My first running environment didn't print guile errors= (I still don't know why). I deduce the message by break point, and sta= ck data. I saw 'Unbound variable: ~S' and the first scm object in a= rgs was translated as 'define-private'.

Then tod= ay I setup a PC environment with the same config.h, and test again. I saw t= he real error is '(define-private _ gettext)' and 'Unbound vari= able: gettext'.

The project is supposed to han= dle guile error at high-level code, but it failed handling=C2=A0for some un= known reason. So it takes some extra=C2=A0time to work it out. However, aft= er the error thrown the guile thread just quit (printing nothing) and left = a silent running process, it's wired.

On Sun, Oct 18, 2020 at 2:35= PM Thien-Thi Nguyen <ttn@gnuvola.org= > wrote:
= () "K.L." <k.l.lambda@gmail.com>
() Sun, 18 Oct 2020 13:12:35 +0800

=C2=A0 =C2=A0Never mind, I figured it out. The actual problem is I didn'= ;t
=C2=A0 =C2=A0get the correct error message.

What is the correct error message?

--
Thien-Thi Nguyen -----------------------------------------------
=C2=A0(defun responsep (query)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0; (2020) Software Libero
=C2=A0 =C2=A0(pcase (context query)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0;=C2=A0 =C2=A0 =C2=A0 =C2=A0=3D Dissenso Etico
=C2=A0 =C2=A0 =C2=A0(`(technical ,ml) (correctp ml))
=C2=A0 =C2=A0 =C2=A0...))=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 748E A0E8 1CB8 A748= 9BFA
--------------------------------------- 6CE4 6703 2224 4C80 7502
--00000000000028222505b1ee4ba3--