philips: gRPC has explicit response status (in the wire protocol) called "Status". It is a status code (like you saw) and a string for additional details.
I think grpc.Code and grpc.Errorf are how you convert from Go's error to/from gRPC Status.
hle_ joined the channel
arkq has quit
Lecherito joined the channel
hle_ has quit
xplatten joined the channel
dragon55 joined the channel
dragon55
anyone around to help me debug grpc on windows?
arkq joined the channel
larsonm
dragon55: I've gotten it going in the past, but there are certainly some bugs left
are you trying to make a c++ client/server?
dragon55
yea
i tried just building the helloworld example
if you would like to see a callstack I can provide that
larsonm
do you get compile errors? are you using visual studio (what year)?
dragon55
i can get everything to build
whenever an rpc message comes into the server it crashes inside of grpc.lib
using version 0.9.1 everything statically linked zlib 1.2.8 statically linked
larsonm
hmm. I've seen that kind of crash before but recently hello world has been working ok
I'll give it a go
dragon55
here is a portion of the callstack as to not spam this channel
I don't think hello world comes with vs project files, you have to set those up yourself - is that correct?
dragon55
yea I created a project with them
with the example source code
larsonm
ok. you end up with two projects, a client and a server, and in each you are building with either greeter_async_client/greeter_async_server or greeter_client/greeter_server
dragon55
greeter_client/greeter_server
ok so synchronous
larsonm
ok. i'm still working on replicating this, almost done
it'll be a bit, I needed a bunch of updates and rebuilds
dragon55
i'm in no hurry
about to take my lunch
i'll be here till around 5pm CST
larsonm
when I've built this in the past, I've made the protobuf generated files on linux and then copied them over and included them
dragon55
yea I do all the protobuf stuff on my mac
and copy them into my windows VM
larsonm
ok. each project ends up with 4 protobuf files, the two .h and the two .cc - do you have those?
dragon55
yea
larsonm
ok. all correct so far
oh. ok, all of the examples are broken currently when building with grpc head. you said you were using .9.1
dragon55
right now I'm trying to verify what I checked out
I thought I was using 0.9.1
larsonm
probably you are, this is just why my stuff isn't building
dragon55
when using the helloworld example with 0.9.1 i get this now
unresolved external symbol "void __cdecl grpc::FillMetadataMap
so maybe I wasn't using 0.9.1
i'm redownloaded 0.9.1 and working from there
i*
i'm linking against grpc.lib from 0.9.1
larsonm
ok - I'm still working on downgrading everything to that version. annoying to do on linux
dragon55
yea when I link against the head built libs the exmaple compiles ok
i guess since there are no releases for grpc-common I'll just have to revert back to a revision that is close to 0.9.1?
larsonm
yeah probably
if you can just use head for everything and maybe make a couple small changes that might be the best route (like, with route_guide I think just renaming "isok" to "ok" will do it)
arkq has quit
marga has left the channel
xplatten has quit
|Pixel|: I spent some time hacking on generate_debug_projects.sh / generate_vsprojects.py to get the windows cpp projects building, I almost have all of them except some things are still coming across as libs when they shouldn't - did you get anywhere with this?