Experts: 

Can you plz tell what might cause the issue and how to workaround? I use 
Python 2.6.6 on Centos 6.5

python\> python setup.py google_test
running google_test
running egg_info
writing requirements to protobuf.egg-info/requires.txt
writing protobuf.egg-info/PKG-INFO
writing namespace_packages to protobuf.egg-info/namespace_packages.txt
writing top-level names to protobuf.egg-info/top_level.txt
writing dependency_links to protobuf.egg-info/dependency_links.txt
reading manifest file 'protobuf.egg-info/SOURCES.txt'
writing manifest file 'protobuf.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
  File "setup.py", line 200, in <module>
    "Protocol Buffers are Google's data interchange format.",
  File "/usr/lib64/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib64/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.6/site-packages/setuptools/command/test.py", line 
137, in run
    self.with_project_on_sys_path(self.run_tests)
  File "/usr/lib/python2.6/site-packages/setuptools/command/test.py", line 
117, in with_project_on_sys_path
    func()
  File 
"/tmp/GoogleProtobuf/protobuf-2.6.1/python/google_apputils-0.4.1-py2.6.egg/google/apputils/setup_command.py",
 
line 157, in run_tests
    ok &= self._RunTestModule(file_path)
  File 
"/tmp/GoogleProtobuf/protobuf-2.6.1/python/google_apputils-0.4.1-py2.6.egg/google/apputils/setup_command.py",
 
line 123, in _RunTestModule
    module = imp.load_module(module_name, *import_tuple)
  File "google/protobuf/internal/message_test.py", line 52, in <module>
    from google.apputils import basetest
  File 
"/tmp/GoogleProtobuf/protobuf-2.6.1/python/google_apputils-0.4.1-py2.6.egg/google/apputils/basetest.py",
 
line 117, in <module>
    _MonkeyPatchTestResultForUnexpectedPasses()
  File 
"/tmp/GoogleProtobuf/protobuf-2.6.1/python/google_apputils-0.4.1-py2.6.egg/google/apputils/basetest.py",
 
line 108, in _MonkeyPatchTestResultForUnexpectedPasses
    test_result = unittest.result.TestResult()
*AttributeError: 'module' object has no attribute 'result'*
python\>

-- 
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 protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to