Hi everyone, 

I'm attempting to play around with protobuf but I'm running into some 
problems. Going through the tutorial 
<https://developers.google.com/protocol-buffers/docs/pythontutorial> I get 
a NameError when I import my 'addressbook_pb2' package within my python 
application. 
I get the following error: 

decoder.py, line 167
  _DecodeVarint = _VarintDecoder((1 << 64) - 1, long)
  NameError: name 'long' is not defined

Has anyone run into the same problem? Or know of a solution? 
It seems weird that the tutorial code would cause an error, which makes me 
think I've done something wrong on my end. 
I'm using protobuf version 2.6.0 and python 3.4. 

Thanks,
Kieran

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to