[protobuf] Re: Issue 302 in protobuf: Skip(count) fails when count offset 2^32 count type should be off_t, not int

2011-07-05 Thread protobuf
Updates: Status: WontFix Comment #2 on issue 302 by liuj...@google.com: Skip(count) fails when count offset 2^32 count type should be off_t, not int http://code.google.com/p/protobuf/issues/detail?id=302 Protobuf is not designed to handle large messages. We didn't consider messages

[protobuf] Re: Issue 303 in protobuf: protobuf 2.3.0 build fails for unittest_proto_middleman

2011-07-05 Thread protobuf
Updates: Status: WontFix Comment #2 on issue 303 by liuj...@google.com: protobuf 2.3.0 build fails for unittest_proto_middleman http://code.google.com/p/protobuf/issues/detail?id=303 (No comment was entered for this change.) -- You received this message because you are subscribed to

[protobuf] Re: Issue 301 in protobuf: generated java code for repeated fields has unnecessary semicolon

2011-07-05 Thread protobuf
Updates: Status: Accepted Comment #1 on issue 301 by liuj...@google.com: generated java code for repeated fields has unnecessary semicolon http://code.google.com/p/protobuf/issues/detail?id=301 Fixed in r399. Will be included in the next release. -- You received this message because

[protobuf] Re: Issue 299 in protobuf: Native map encoding missing or needs howto eample

2011-07-05 Thread protobuf
Updates: Labels: -Type-Defect Type-Enhancement Comment #3 on issue 299 by liuj...@google.com: Native map encoding missing or needs howto eample http://code.google.com/p/protobuf/issues/detail?id=299 (No comment was entered for this change.) -- You received this message because you

[protobuf] Re: Issue 291 in protobuf: PluginMain is not exported in DLL version

2011-07-05 Thread protobuf
Updates: Status: Accepted Comment #1 on issue 291 by liuj...@google.com: PluginMain is not exported in DLL version http://code.google.com/p/protobuf/issues/detail?id=291 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google

[protobuf] Re: Issue 284 in protobuf: if proto file has a message String it does not compile in java

2011-07-05 Thread protobuf
Comment #2 on issue 284 by liuj...@google.com: if proto file has a message String it does not compile in java http://code.google.com/p/protobuf/issues/detail?id=284 Issue 310 has been merged into this issue. -- You received this message because you are subscribed to the Google Groups

[protobuf] Re: Issue 310 in protobuf: protoc generates uncompilable java code

2011-07-05 Thread protobuf
Updates: Status: Duplicate Mergedinto: 284 Comment #2 on issue 310 by liuj...@google.com: protoc generates uncompilable java code http://code.google.com/p/protobuf/issues/detail?id=310 (No comment was entered for this change.) -- You received this message because you are

[protobuf] Re: Issue 283 in protobuf: Compilation error: repeated_field.h:304: no matching function for call to basic_string... ::clear()

2011-07-05 Thread protobuf
Updates: Status: NeedPatchFromUser Comment #1 on issue 283 by liuj...@google.com: Compilation error: repeated_field.h:304: no matching function for call to basic_string... ::clear() http://code.google.com/p/protobuf/issues/detail?id=283 Could you please suggest a patch for this?

[protobuf] Re: Issue 282 in protobuf: Protobuf cross compilation for vxworks requires additional linux files

2011-07-05 Thread protobuf
Updates: Status: WontFix Comment #1 on issue 282 by liuj...@google.com: Protobuf cross compilation for vxworks requires additional linux files http://code.google.com/p/protobuf/issues/detail?id=282 Sorry we didn't test this use case in our release process. Could you please try to

[protobuf] Re: Issue 270 in protobuf: Precompiled protoc binary for OS X

2011-07-05 Thread protobuf
Updates: Status: WontFix Comment #5 on issue 270 by liuj...@google.com: Precompiled protoc binary for OS X http://code.google.com/p/protobuf/issues/detail?id=270 The mutex_ error was fixed in 2.4.1. Close this issue, as we will probably not provide a pre-compiled protoc for OSX at

Re: [protobuf] installation in windows

2011-07-05 Thread Pherl Liu
Please take a look at the vsprojects/readme.txt On Wed, Jun 29, 2011 at 9:50 PM, Enrico Viappiani viappi...@gmail.comwrote: Let me ask a stupid question.. I have to install protobuf 2.4.1 C++, in windows 7 64 bit. I've done that in ubuntu, but i don't have seen the installation instruction

[protobuf] Re: Issue 297 in protobuf: EncodeDecodeTest.Encode fails on windows xp 64 with vs2008-sp1 (v2.4.1)

2011-07-05 Thread protobuf
Updates: Status: Accepted Comment #1 on issue 297 by liuj...@google.com: EncodeDecodeTest.Encode fails on windows xp 64 with vs2008-sp1 (v2.4.1) http://code.google.com/p/protobuf/issues/detail?id=297 Looks like the test cannot open the file. What's the root directory in which you

[protobuf] Re: Issue 267 in protobuf: vs2010 tuple name collisions

2011-07-05 Thread protobuf
Updates: Owner: liuj...@google.com Comment #3 on issue 267 by liuj...@google.com: vs2010 tuple name collisions http://code.google.com/p/protobuf/issues/detail?id=267 Fixed in r400 -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To

[protobuf] Re: Issue 289 in protobuf: 64 bit release build unit tests fail in MSVC 2010

2011-07-05 Thread protobuf
Comment #2 on issue 289 by liuj...@google.com: 64 bit release build unit tests fail in MSVC 2010 http://code.google.com/p/protobuf/issues/detail?id=289 Hi Mark, Could you please provide some details about how you build the x64 version, e.g. how you changed compiling options after

[protobuf] How to use protoc --decode option?

2011-07-05 Thread Ravi
Hi, I am trying to convert a protobuf stream in to a readable format. I got following exception. protobuf.txt:2:1: Invalid control characters encountered in text. protobuf.txt:2:2: Expected top-level statement (e.g. message). protobuf.txt:2:9: Invalid control characters encountered in text.

[protobuf] Re: Issue 302 in protobuf: Skip(count) fails when count offset 2^32 count type should be off_t, not int

2011-07-05 Thread protobuf
Comment #3 on issue 302 by fac2...@gmail.com: Skip(count) fails when count offset 2^32 count type should be off_t, not int http://code.google.com/p/protobuf/issues/detail?id=302 The issue is not about large messages, but about large files. We use collections of small messages stored in

[protobuf] Re: Issue 302 in protobuf: Skip(count) fails when count offset 2^32 count type should be off_t, not int

2011-07-05 Thread protobuf
Comment #4 on issue 302 by liuj...@google.com: Skip(count) fails when count offset 2^32 count type should be off_t, not int http://code.google.com/p/protobuf/issues/detail?id=302 Well, for the java version, I think you mean the LimitedInputStream. That class has to use long to override its

[protobuf] Re: Issue 290 in protobuf: Cannot compile Google Protocol Buffers on z/OS

2011-07-05 Thread protobuf
Comment #3 on issue 290 by simonsto...@gmail.com: Cannot compile Google Protocol Buffers on z/OS http://code.google.com/p/protobuf/issues/detail?id=290 I managed to get this working without editing the source files - I specified -Wc,ASCII as a compiler option. Note that this means any

Re: [protobuf] How to use protoc --decode option?

2011-07-05 Thread Pherl Liu
The protoc reads the input from STDIN. If you pass the payload file name as parameter, protoc will treat that file as a .proto file. You should pipe the payload to protoc instead. On Tue, Jul 5, 2011 at 7:30 PM, Ravi ravikumarkulan...@gmail.com wrote: Hi, I am trying to convert a protobuf

[protobuf] Re: How to use protoc --decode option?

2011-07-05 Thread Ravi
Hi, I tried that also. I pasted the payload directly in the command prompt when it asked. I got following error. Failed to parse input. Thanks, Ravikumar K On Jul 5, 7:06 pm, Pherl Liu liuj...@google.com wrote: The protoc reads the input from STDIN. If you pass the payload file name as

Re: [protobuf] Re: How to use protoc --decode option?

2011-07-05 Thread Pherl Liu
Can you try: protoc [various options] payload.txt So that the content will be read as STDIN to protoc. On Tue, Jul 5, 2011 at 10:12 PM, Ravi ravikumarkulan...@gmail.com wrote: Hi, I tried that also. I pasted the payload directly in the command prompt when it asked. I got following

[protobuf] Re: Issue 289 in protobuf: 64 bit release build unit tests fail in MSVC 2010

2011-07-05 Thread protobuf
Comment #3 on issue 289 by m...@bakedbeans.com: 64 bit release build unit tests fail in MSVC 2010 http://code.google.com/p/protobuf/issues/detail?id=289 Hi Pherl, below are the steps I had to go through to get it to build. * Rename gtest directort to gtest.orig * Download gtest 1.6.0 *

[protobuf] Re: Issue 311 in protobuf: PyPI packages cannot be installed with PIP

2011-07-05 Thread protobuf
Comment #2 on issue 311 by wins...@netwok.org: PyPI packages cannot be installed with PIP http://code.google.com/p/protobuf/issues/detail?id=311 FYI, the package_dir argument of setup will probably help: http://docs.python.org/distutils/setupscript#listing-whole-packages -- You received

[protobuf] Re: Issue 311 in protobuf: PyPI packages cannot be installed with PIP

2011-07-05 Thread protobuf
Comment #3 on issue 311 by wins...@netwok.org: PyPI packages cannot be installed with PIP http://code.google.com/p/protobuf/issues/detail?id=311 This is a duplicate of issue #66. -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To post to

[protobuf] Re: Issue 66 in protobuf: cannot install using easy_install

2011-07-05 Thread protobuf
Comment #35 on issue 66 by wins...@netwok.org: cannot install using easy_install http://code.google.com/p/protobuf/issues/detail?id=66 Are you sure you cannot remove a file hosted on PyPI and reupload it? -- You received this message because you are subscribed to the Google Groups Protocol

[protobuf] Re: Issue 66 in protobuf: cannot install using easy_install

2011-07-05 Thread protobuf
Comment #36 on issue 66 by sorin.sb...@gmail.com: cannot install using easy_install http://code.google.com/p/protobuf/issues/detail?id=66 I you do not know how to properly define setup.py and to deploy a package to PyPI please take a look at https://github.com/ssbarnea/tendo - release.sh

[protobuf] Re: Issue 66 in protobuf: cannot install using easy_install

2011-07-05 Thread protobuf
Comment #37 on issue 66 by timothee.peignier: cannot install using easy_install http://code.google.com/p/protobuf/issues/detail?id=66 You can't replace file on pypi if you're not the original author, unless original author give you permission. Unless you change the package name ... --

[protobuf] Re: Issue 66 in protobuf: cannot install using easy_install

2011-07-05 Thread protobuf
Comment #38 on issue 66 by wins...@netwok.org: cannot install using easy_install http://code.google.com/p/protobuf/issues/detail?id=66 Sorin: your setup script uses setuptools, not distutils, and has at least one bug: it uses py_modules instead of packages. I’d recommend the official

[protobuf] Re: Issue 291 in protobuf: PluginMain is not exported in DLL version

2011-07-05 Thread protobuf
Comment #2 on issue 291 by liuj...@google.com: PluginMain is not exported in DLL version http://code.google.com/p/protobuf/issues/detail?id=291 Fixed in r401. -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To post to this group, send

[protobuf] Re: Issue 308 in protobuf: unresolved external symbol kEmptyString when linking protobuf as a dll.

2011-07-05 Thread protobuf
Comment #2 on issue 308 by liuj...@google.com: unresolved external symbol kEmptyString when linking protobuf as a dll. http://code.google.com/p/protobuf/issues/detail?id=308 Fixed in r401. -- You received this message because you are subscribed to the Google Groups Protocol Buffers group.

[protobuf] c++/CLI and protobuf-net

2011-07-05 Thread jakin
Hi I'm quite new in .net programming. I couldn't find any examples of using protobuf-net .net classes from c++ code. I have to write client app working with specified using protobuf protocol. And I don't know now If should I wrote it in standard C++ using protobuf or in C++/CLI using protobuf-net.

[protobuf] Re: Issue 289 in protobuf: 64 bit release build unit tests fail in MSVC 2010

2011-07-05 Thread protobuf
Comment #5 on issue 289 by m...@bakedbeans.com: 64 bit release build unit tests fail in MSVC 2010 http://code.google.com/p/protobuf/issues/detail?id=289 I've attached the files as requested. Attachments: unittest.pb.h 439 KB unittest.pb.cc 704 KB -- You received this

Re: [protobuf] c++/CLI and protobuf-net

2011-07-05 Thread Marc Gravell
I am not able to advise on either C++ option. However, if your solution doesn't already use .NET I wouldn't introduce a .NET dependency just for this - just use the c++ version. If your solution already contains some .NET classes and your intention is to add some protobuf, then it perhaps is

[protobuf] Re: Issue 289 in protobuf: 64 bit release build unit tests fail in MSVC 2010

2011-07-05 Thread protobuf
Comment #6 on issue 289 by liuj...@google.com: 64 bit release build unit tests fail in MSVC 2010 http://code.google.com/p/protobuf/issues/detail?id=289 OK, so probably a bug of vc2010 x64 platform... The function in question is: // in strutil.cc char *InternalFastHexToBuffer(uint64 value,

[protobuf] Re: Issue 289 in protobuf: 64 bit release build unit tests fail in MSVC 2010

2011-07-05 Thread protobuf
Comment #7 on issue 289 by m...@bakedbeans.com: 64 bit release build unit tests fail in MSVC 2010 http://code.google.com/p/protobuf/issues/detail?id=289 I get this in debug mode also. -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To

[protobuf] Re: Issue 289 in protobuf: 64 bit release build unit tests fail in MSVC 2010

2011-07-05 Thread protobuf
Comment #8 on issue 289 by liuj...@google.com: 64 bit release build unit tests fail in MSVC 2010 http://code.google.com/p/protobuf/issues/detail?id=289 VC seemed to cache the protoc generated files even if you switch Debug/Release. That's why I couldn't reproduce the error - the debug

[protobuf] Re: Issue 297 in protobuf: EncodeDecodeTest.Encode fails on windows xp 64 with vs2008-sp1 (v2.4.1)

2011-07-05 Thread protobuf
Comment #2 on issue 297 by austin.bingham: EncodeDecodeTest.Encode fails on windows xp 64 with vs2008-sp1 (v2.4.1) http://code.google.com/p/protobuf/issues/detail?id=297 I'm running the test executable directly from the directory in which the build places it, i.e. from