Coder Social home page Coder Social logo

aconcagua's Issues

Class name reference broken

test
I noticed this has changed in your code

client = aconcagua_pb2_grpc.TimeseriesDataServiceStub(channel)

before it was

client = aconcagua_pb2_grpc.AconcaguaStub(channel)

and your original code is running against localhost so I have attached my code so you can
see the changes I made and catch any errors on my part.

I just set the server’s URL and the DMX file and series to ones that worked before.
The error is happening before I get to asking for the series.

Javascript compile method needs tweaking

  • Compiling for grpc-web needs an additional executable pulled from grpc-web. The Windows executable from the release page is suffixed with version and OS information; (i.e., protoc-gen-grpc-web-1.0.3-windows-x86_64.exe); this needs to be renamed to protoc-gen-grpc-web.exe. In generate_proto.bat, I stuck it in the TOOLS_PATH for simplicity's sake [Ideally, this should be addressed by the package manager]

  • The js compiler either compiled the imported proto files in some unknown folder or it didn't have precompiled versions in the first place. I'm still trying to figure this out. As a workaround, I had to force-compile (in generate_protos.bat) the ff. Google-created proto files that got written in the google/api and google/protobuf folders:

    • annotations.proto
    • http.proto
    • empty.proto

Note that empty.proto was referenced as well, but I think since it was in the google-protobuf npm package it compiled without errors. [Ideally we shouldn't have to recompile Google's reference proto files]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.