Giter Site home page Giter Site logo

r6rs-protobuf's People

Contributors

ktakashi avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

r6rs-protobuf's Issues

error in library: attempt to export unbound identifier protobuf:field-type-message

What steps will reproduce the problem?
1. Download r6rs-protobufy
2. make a file rethink-scheme.scm with:

;; Copyright Marcelo Costa Toyama - [email protected] 2013

(import (protobuf compile))

;(define proto (protoc:read-proto (open-input-file "ql2.proto")))
;(protoc:generate-libraries proto)

3. run ./ypislon or plt-r6rs (racket).

What is the expected output? What do you see instead?

The following error appears

root@debian:~/rethink-scheme# ./ypsilon --sitelib="." rethink-scheme.scm

error in library: attempt to export unbound identifier 
protobuf:field-type-message
  >  (export protobuf:make-field-type-descriptor
             protobuf:field-type-descriptor-default
             protobuf:field-type-descriptor-name
             protobuf:field-type-descriptor-predicate
             protobuf:field-type-descriptor-wire-type
       ...
  ..."/root/rethink-scheme/protobuf/private.scm" line 20



What version of the product are you using? On what operating system?
I am using 
r6rs-protobuf-0.6.tar.gz

Debian jessie (debian testing).

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 17 Oct 2013 at 2:34

Field defaults not set on builder or message

What steps will reproduce the problem?
1. Set a default option on a field definition
2. Build a message without setting a value for the field

What is the expected output? What do you see instead?

The field should have the specified value in the builder and resulting message; 
no value is set.


Original issue reported on code.google.com by [email protected] on 20 May 2011 at 3:25

Wrong order in generated fields

I found something wrong when I use 'Person-read' as the tutorial in
r6rs-protobuf site.

Here is the code:

-------------------------code-----------------------
...
(define pb (make-Person-builder))
(set-Person-builder-id! pb 1)
(set-Person-builder-name! pb "nalaginrut")
(set-Person-builder-email! pb "[email protected]")

(call-with-output-file "person.out"
  (lambda (port)
     (Person-write person port)))
(define person (Person-builder-build pb))

;; So far so good!
(define person2 (Person-read (open-input-file "person.out")))

(Person-id person2)
==> "[email protected]" 
;; hmm?
(Person-email person2)
==> 1
(Person-name person2)
==> "nalaginrut"


Original issue reported on code.google.com by [email protected] on 25 Jan 2013 at 3:08

Length prefix of message fields not properly consumed during deserialization

What steps will reproduce the problem?
1. Create a protobuf with a message type field
2. Attempt to deserialize a serialized form of the message
3.

What is the expected output? What do you see instead?

Unpredictable corruption, particular in determining the types and contents of 
fields in the embedded message and in fields that come after it.

Please use labels and text to provide additional information.

The length prefix of the messages field is not being consumed.

Original issue reported on code.google.com by [email protected] on 1 Apr 2014 at 2:38

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.