I had a similar error, not sure if it was exactly the same. I discovered that I was missing the python3-devel package. Once python3-devel was installed and I did a completely clean build, the problems went away.

-Ted

On 07/10/2015 10:01 AM, aconway wrote:
Anyone seeing errors like this? I think the ERROR: InterpreterNotFound
should be a warning, it seems to be testing both 2.7 and 3.4 so not
finding 2.6 and 3.3 doesn't seem like an ERROR.

The "missing attribute" is defined as a @staticmethod so I don't
understand that.

The 3 argument raise is definitely gone in python 3 so I don't
understand why its still there or what is the portable way to replace
it.

Cheers,
Alan.

1/1 Test #3: python-tox-test ..................***Failed  Error regular
expression found in output. Regex=[ERROR:[ ]+py[0-9]*: commands failed]
28.49 sec
GLOB sdist-make: /home/aconway/proton/proton-c/bindings/python/setup.py
py26 create: /home/aconway/proton/proton-c/bindings/python/.tox/py26
ERROR: InterpreterNotFound: python2.6
py27 inst-nodeps: /home/aconway/proton/proton
-c/bindings/python/.tox/dist/python-qpid-proton-0.10.0.zip
py27 runtests: PYTHONHASHSEED='147840795'
py27 runtests: commands[0] | /home/aconway/proton/proton
-c/bindings/python/../../../tests/python/proton-test
Traceback (most recent call last):
   File "/home/aconway/proton/proton
-c/bindings/python/../../../tests/python/proton-test", line 620, in
<module>
     m = __import__(name, None, None, ["dummy"])
   File "/home/aconway/proton/tests/python/proton_tests/__init__.py",
line 20, in <module>
     import proton_tests.codec
   File "/home/aconway/proton/tests/python/proton_tests/codec.py", line
21, in <module>
     from . import common
   File "/home/aconway/proton/tests/python/proton_tests/common.py", line
133, in <module>
     if SASL.extended():
AttributeError: type object 'SASL' has no attribute 'extended'
ERROR: InvocationError: '/home/aconway/proton/proton
-c/bindings/python/../../../tests/python/proton-test'
py33 create: /home/aconway/proton/proton-c/bindings/python/.tox/py33
ERROR: InterpreterNotFound: python3.3
py34 inst-nodeps: /home/aconway/proton/proton
-c/bindings/python/.tox/dist/python-qpid-proton-0.10.0.zip
py34 runtests: PYTHONHASHSEED='147840795'
py34 runtests: commands[0] | /home/aconway/proton/proton
-c/bindings/python/../../../tests/python/proton-test
Traceback (most recent call last):
   File "/home/aconway/proton/proton
-c/bindings/python/../../../tests/python/proton-test", line 620, in
<module>
     m = __import__(name, None, None, ["dummy"])
   File "/home/aconway/proton/tests/python/proton_tests/__init__.py",
line 20, in <module>
     import proton_tests.codec
   File "/home/aconway/proton/tests/python/proton_tests/codec.py", line
21, in <module>
     from . import common
   File "/home/aconway/proton/tests/python/proton_tests/common.py", line
26, in <module>
     from proton import Connection, Transport, SASL, Endpoint, Delivery,
SSL
   File "/usr/local/lib64/proton/bindings/python/proton/__init__.py",
line 3733
     raise exc, val, tb
              ^
SyntaxError: invalid syntax
ERROR: InvocationError: '/home/aconway/proton/proton
-c/bindings/python/../../../tests/python/proton-test'
_______________________________________________ summary
_______________________________________________
ERROR:   py26: InterpreterNotFound: python2.6
ERROR:   py27: commands failed
ERROR:   py33: InterpreterNotFound: python3.3
ERROR:   py34: commands failed

Reply via email to