unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Nala Ginrut <nalaginrut@gmail.com>
To: Andy Wingo <wingo@pobox.com>
Cc: guile-devel <guile-devel@gnu.org>
Subject: Re: GNU Guile 2.9.8 Released [beta]
Date: Sun, 26 Jan 2020 11:16:46 +0800	[thread overview]
Message-ID: <CAPjoZocUy7j9KGgH57FAozwzdO4PNQcAA-LzJ5SToVq+=RNimg@mail.gmail.com> (raw)
In-Reply-To: <CAPjoZof-udDDZ+T6VmwUetXR7cHAxnjq9CZ5TP6BZ8iysb6-FQ@mail.gmail.com>

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

@Andy Wingo <wingo@pobox.com>
It's my mistake to call an incompatible constructor after I updated the
interfaces. I think Guile-3 made more strict checking because this mistake
wasn't caught before 2.9.

Now folks may use docker to try Artanis on Guile-3

docker pull registry.gitlab.com/nalaginrut/artanis:latest

Best regards.



On Sun, Jan 19, 2020 at 3:43 AM Nala Ginrut <nalaginrut@gmail.com> wrote:

> Just a report, the same compiling error existing in Guile-3.0.0.
>
> Best regards.
>
>
> On Tue, Jan 14, 2020 at 4:49 PM Nala Ginrut <nalaginrut@gmail.com> wrote:
>
>> Hi Wingo!
>> Here're update:
>> 1. 2.9.9 didn't fix this issue
>>
>> 2. I imported r6rs record-type in (artanis utils), and this module was
>> imported in almost every artanis modules.
>> I do use r6rs specific record API to introspect the internal things for
>> debugging in Artanis.
>> And I imported r6rs define-record-type in server-context.scm
>> I guess there're some name conflicting.
>>
>>
>>
>> On Sat, Jan 11, 2020 at 6:33 PM Andy Wingo <wingo@pobox.com> wrote:
>>
>>> On Wed 08 Jan 2020 15:22, Nala Ginrut <nalaginrut@gmail.com> writes:
>>>
>>> > In unknown file:
>>> >            4 (primitive-load-path "artanis/server/server-context" #<…>)
>>> > In ice-9/eval.scm:
>>> >    626:19  3 (_ #<directory (artanis server server-context) 5624d6b3…>)
>>> >     155:9  2 (_ #<directory (artanis server server-context) 5624d6b3…>)
>>> > In ice-9/boot-9.scm:
>>> >   1153:19  1 (_ _ _ _ _ _ _)
>>> >   1655:16  0 (raise-exception _ #:continuable? _)
>>> >
>>> > ice-9/boot-9.scm:1655:16: In procedure raise-exception:
>>> > Wrong number of arguments to #<procedure 5624d66ee4a0 at
>>> ice-9/boot-9.scm:1153:19 (a b c d e f)>
>>> >
>>> --------------------------------------------------------------------------------------------------------------------
>>> >
>>> > Any hint that I can figure out whait's incompatible?
>>>
>>> Gosh we need to improve this info.  Anyway the procedure at
>>> boot-9.scm:1153:19 is a record constructor, for a record with 6 fields.
>>> Apparently somewhere in (artanis server server-context) is calling it
>>> with the wrong number of arguments.  What do you use for records?  Do
>>> you have your own abstraction or do you use R6RS records or something?
>>> Perhaps something in artanis relied on the way that R6RS records used to
>>> implement single inheritance, as a chain of objects instead of a flat
>>> record.  Or perhaps the adaptations to R6RS records in Guile introduced
>>> a bug.  I am interested to know the answer :)
>>>
>>> Andy
>>>
>>

[-- Attachment #2: Type: text/html, Size: 4009 bytes --]

  reply	other threads:[~2020-01-26  3:16 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-02 13:36 GNU Guile 2.9.8 Released [beta] Andy Wingo
2020-01-02 14:32 ` Matt Wette
2020-01-03  5:34 ` Nala Ginrut
2020-01-03  9:02   ` tomas
2020-01-05 10:41   ` Andy Wingo
2020-01-07 20:00 ` Stefan Israelsson Tampe
2020-01-07 21:42   ` Andy Wingo
2020-01-08 14:22     ` Nala Ginrut
2020-01-11 10:32       ` Andy Wingo
2020-01-13 16:32         ` Stefan Israelsson Tampe
2020-01-14  8:49         ` Nala Ginrut
2020-01-18 19:43           ` Nala Ginrut
2020-01-26  3:16             ` Nala Ginrut [this message]
2020-01-09 21:14 ` Stefan Israelsson Tampe
2020-01-11 10:25   ` Andy Wingo

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='CAPjoZocUy7j9KGgH57FAozwzdO4PNQcAA-LzJ5SToVq+=RNimg@mail.gmail.com' \
    --to=nalaginrut@gmail.com \
    --cc=guile-devel@gnu.org \
    --cc=wingo@pobox.com \
    /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).