Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Issue 428 in protobuf: Unable to compile the python module
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
proto...@googlecode.com  
View profile  
 More options Oct 21 2012, 2:26 pm
From: proto...@googlecode.com
Date: Sun, 21 Oct 2012 18:26:48 +0000
Local: Sun, Oct 21 2012 2:26 pm
Subject: Issue 428 in protobuf: Unable to compile the python module
Status: New
Owner: liuj...@google.com
Labels: Type-Defect Priority-Medium

New issue 428 by novi...@gmail.com: Unable to compile the python module
http://code.google.com/p/protobuf/issues/detail?id=428

What steps will reproduce the problem?
1. python setup.py build

What is the expected output? What do you see instead?
The compilation of the python module throws an error about
an extraneous #else

What version of the product are you using? On what operating system?
Latest svn version of protocol-buffers
Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]  
on win32
Compiling with MSVC11

Please provide any additional information below.
The #else on lines 430 & 460 of python-proto2.cc appears to be erroneous,  
along with the unmatched if statement immediately below it

   if (descriptor->file()->options().cc_api_version() == 2 &&
       descriptor->type() == google::protobuf::FieldDescriptor::TYPE_STRING)  
{

Deleting lines 430-432 & 460-462 seems to allow the compile
to finish & the module appears to work.

http://code.google.com/p/protobuf/source/browse/trunk/python/google/p...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
proto...@googlecode.com  
View profile  
 More options Dec 3 2012, 2:28 pm
From: proto...@googlecode.com
Date: Mon, 03 Dec 2012 19:28:12 +0000
Local: Mon, Dec 3 2012 2:28 pm
Subject: Re: Issue 428 in protobuf: Unable to compile the python module
Updates:
        Status: Accepted
        Owner: xiaof...@google.com

Comment #1 on issue 428 by xiaof...@google.com: Unable to compile the  
python module
http://code.google.com/p/protobuf/issues/detail?id=428

(No comment was entered for this change.)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
proto...@googlecode.com  
View profile  
 More options Dec 3 2012, 6:54 pm
From: proto...@googlecode.com
Date: Mon, 03 Dec 2012 23:54:04 +0000
Local: Mon, Dec 3 2012 6:54 pm
Subject: Re: Issue 428 in protobuf: Unable to compile the python module
Updates:
        Status: Started

Comment #2 on issue 428 by xiaof...@google.com: Unable to compile the  
python module
http://code.google.com/p/protobuf/issues/detail?id=428

(No comment was entered for this change.)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
proto...@googlecode.com  
View profile  
 More options Dec 4 2012, 5:34 pm
From: proto...@googlecode.com
Date: Tue, 04 Dec 2012 22:34:16 +0000
Local: Tues, Dec 4 2012 5:34 pm
Subject: Re: Issue 428 in protobuf: Unable to compile the python module
Updates:
        Status: Fixed
        Labels: FixedIn-2.5.0

Comment #3 on issue 428 by xiaof...@google.com: Unable to compile the  
python module
http://code.google.com/p/protobuf/issues/detail?id=428

Fixed in r435.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »