Re: [capnproto] [Request] Error fix consult

2022-09-18 Thread 'Kenton Varda' via Cap'n Proto
Hi Kukkai,

Unfortunately it's pretty unclear what might have gone wrong here, since
all it shows is a bus error. I haven't seen this before. You might have to
dig in yourself with a debugger to get a stack trace.

-Kenton

On Fri, Sep 16, 2022 at 6:25 PM Kukkai W  wrote:

> Dear All,
>
> I would like to use your capnproto-c version 0.9.1.
> But I run the command "make -j6 check". Error was occurred and it told me
> to report it to you. Please see the error on the attached file.
> Could you suggest how to fix this?
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Cap'n Proto" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to capnproto+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/capnproto/CAM%3DUv9N%2B1j5H8dCZAUwxQo57vjwqKXMvm5BX1LqKTHWwQGUpZQ%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to capnproto+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/capnproto/CAJouXQn%2BXoiTGWn88B3tyhQFJf7kAb9brOPz0TZzESBff8N%2BnA%40mail.gmail.com.


Re: [capnproto] [Request] Error fix consult

2022-09-18 Thread Jens Alfke
The error portion of that lengthy log is:

[ TEST ] kj/async-test.c++:740: legacy test: Async/LargeTaskSetDestruction  

 
*** Received signal #10: Bus error: 10  

 
stack:  

 
FAIL: capnp-test

 
Randomly testing backwards-compatibility scenarios with seed: 1663306371

 

Looks like this was running on macOS.

—Jens


> On Sep 15, 2022, at 10:40 PM, Kukkai W  wrote:
> 
> Dear All,
> 
> I would like to use your capnproto-c version 0.9.1.
> But I run the command "make -j6 check". Error was occurred and it told me to 
> report it to you. Please see the error on the attached file.
> Could you suggest how to fix this?

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to capnproto+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/capnproto/8E3663A9-C455-4C43-8CBE-28CF49FF796E%40mooseyard.com.


Re: [capnproto] json serialization and deserilization

2022-09-18 Thread 'Kenton Varda' via Cap'n Proto
Hi Pavas,

I guess you mean you'd like for your message to be encoded to a JSON array,
rather than an object? The array would be ordered to match the field order?

That's an interesting idea which you could implement with a custom JSON
encoder, but the current provided JSON encoders do not have built-in
support for this, sorry.

-Kenton

On Sun, Sep 18, 2022 at 3:33 PM pavas goyal  wrote:

> Hi,
> I was looking for a serializer that encodes my "json" message in such in
> way that the encoded message just contains the values for json object. I
> have a well defined schema so I don't need the keys in every encoded
> message. I'm using capnp (python wrapper for capnproto) and it seems that
> the encoded message contains keys (making it quite longer than expected).
> Is there any workaround to remove the keys?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Cap'n Proto" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to capnproto+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/capnproto/6baa4586-8a65-4095-96a5-1da45c3b6e37n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to capnproto+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/capnproto/CAJouXQmZ69mrGP7HzLsGKCeG8TbsME-0sCSzYMvXfd%3DcF2f8jQ%40mail.gmail.com.


[capnproto] json serialization and deserilization

2022-09-18 Thread pavas goyal
Hi,
I was looking for a serializer that encodes my "json" message in such in 
way that the encoded message just contains the values for json object. I 
have a well defined schema so I don't need the keys in every encoded 
message. I'm using capnp (python wrapper for capnproto) and it seems that 
the encoded message contains keys (making it quite longer than expected). 
Is there any workaround to remove the keys?

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to capnproto+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/capnproto/6baa4586-8a65-4095-96a5-1da45c3b6e37n%40googlegroups.com.