Comment 13 for bug 1444347

Revision history for this message
Dan Mordechay (danfromisrael) wrote : Re: /usr/bin/aa-clickhook:ImportError:/usr/bin/aa-clickhook@14:/usr/lib/python3/dist-packages/apparmor/click.py@15:/usr/lib/python3.4/ctypes/__init__.py@7

hi guys
this error just happened to me when trying to import basestring from setuptools.compat (that also uses ctype).
just note that it just happened today after upgrading ubuntu 14.10 to 15.04
(this code was working before)

i got the following exception:

File "/home/danfromisrael/Dev/Projects/TodoApp/Server/Domain/Core/Jsonable.py", line 4, in <module>
    from setuptools.compat import basestring
  File "/home/danfromisrael/TodoAppEnv/lib/python3.4/site-packages/setuptools/__init__.py", line 11, in <module>
    from setuptools.extension import Extension
  File "/home/danfromisrael/TodoAppEnv/lib/python3.4/site-packages/setuptools/extension.py", line 8, in <module>
    from .dist import _get_unpatched
  File "/home/danfromisrael/TodoAppEnv/lib/python3.4/site-packages/setuptools/dist.py", line 18, in <module>
    from setuptools import windows_support
  File "/home/danfromisrael/TodoAppEnv/lib/python3.4/site-packages/setuptools/windows_support.py", line 2, in <module>
    import ctypes
  File "/usr/lib/python3.4/ctypes/__init__.py", line 7, in <module>
    from _ctypes import Union, Structure, Array
ImportError: /usr/lib/python3.4/lib-dynload/_ctypes.cpython-34m-x86_64-linux-gnu.so: undefined symbol: _PyTraceback_Add

hope it helps
Dan