aakash-sahai / nanopb

Automatically exported from code.google.com/p/nanopb
zlib License
0 stars 0 forks source link

Error make test #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

doppio:~/tmp/nanopb/nanopb-0.1.2/tests> make
protoc -I. -I../generator -I/usr/include -operson.pb person.proto
python ../generator/nanopb_generator.py person.pb
Traceback (most recent call last):
  File "../generator/nanopb_generator.py", line 4, in <module>
    import nanopb_pb2
  File "/home/roger/tmp/nanopb/nanopb-0.1.2/generator/nanopb_pb2.py", line 10, in <module>
    DESCRIPTOR = descriptor.FileDescriptor(
AttributeError: 'module' object has no attribute 'FileDescriptor'
make: *** [person.pb.h] Error 1

doppio:~/tmp/nanopb/nanopb-0.1.2/tests> uname -a
Linux doppio 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:12:07 UTC 2012 
x86_64 GNU/Linux
doppio:~/tmp/nanopb/nanopb-0.1.2/tests> 

doppio:~/tmp/nanopb/nanopb-0.1.2/tests> protoc --version
libprotoc 2.2.0

doppio:~/tmp/nanopb/nanopb-0.1.2/tests> python --version
Python 2.6.5

Original issue reported on code.google.com by roger.ka...@gmail.com on 27 Feb 2012 at 3:30

GoogleCodeExporter commented 9 years ago
Try running 'make' in the generator folder. This error may happen if your 
system has different version of the Google Python library than what I've used.

I should probably add a better error message for that.

Original comment by Petteri.Aimonen on 27 Feb 2012 at 3:44

GoogleCodeExporter commented 9 years ago
This issue was closed by revision f9501ca18589.

Original comment by Petteri.Aimonen on 19 May 2012 at 6:25