{"action":"closed","issue":{"url":"https://api.github.com/repos/taigaio/taiga-back/issues/710","repository_url":"https://api.github.com/repos/taigaio/taiga-back","labels_url":"https://api.github.com/repos/taigaio/taiga-back/issues/710/labels{/name}","comments_url":"https://api.github.com/repos/taigaio/taiga-back/issues/710/comments","events_url":"https://api.github.com/repos/taigaio/taiga-back/issues/710/events","html_url":"https://github.com/taigaio/taiga-back/issues/710","id":151153236,"number":710,"title":"error on upgrade","user":{"login":"segler-alex","id":112380,"avatar_url":"https://avatars.githubusercontent.com/u/112380?v=3","gravatar_id":"","url":"https://api.github.com/users/segler-alex","html_url":"https://github.com/segler-alex","followers_url":"https://api.github.com/users/segler-alex/followers","following_url":"https://api.github.com/users/segler-alex/following{/other_user}","gists_url":"https://api.github.com/users/segler-alex/gists{/gist_id}","starred_url":"https://api.github.com/users/segler-alex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segler-alex/subscriptions","organizations_url":"https://api.github.com/users/segler-alex/orgs","repos_url":"https://api.github.com/users/segler-alex/repos","events_url":"https://api.github.com/users/segler-alex/events{/privacy}","received_events_url":"https://api.github.com/users/segler-alex/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-26T14:40:42Z","updated_at":"2016-04-26T14:48:52Z","closed_at":"2016-04-26T14:48:52Z","body":"Hi,\r\n\r\ni wanted to update my taiga instance following the guide on http://taigaio.github.io/taiga-doc/dist/upgrades.html\r\n\r\nwhen i did the following:\r\n(taiga)taiga@magicserver:~/taiga-back$ python manage.py migrate --noinput\r\nTrying import local.py settings...\r\nTraceback (most recent call last):\r\n  File \"/home/taiga/.virtualenvs/taiga/lib/python3.4/site-packages/django/apps/config.py\", line 118, in create\r\n    cls = getattr(mod, cls_name)\r\nAttributeError: 'module' object has no attribute 'api'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/taiga/.virtualenvs/taiga/lib/python3.4/site-packages/Crypto/Util/_raw_api.py\", line 37, in <module>\r\n    from cffi import FFI\r\nImportError: No module named 'cffi'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/taiga/taiga-back/taiga/base/api/settings.py\", line 202, in import_from_string\r\n    module = importlib.import_module(module_path)\r\n  File \"/home/taiga/.virtualenvs/taiga/lib/python3.4/importlib/__init__.py\", line 109, in import_module\r\n    return _bootstrap._gcd_import(name[level:], package, level)\r\n  File \"<frozen importlib._bootstrap>\", line 2231, in _gcd_import\r\n  File \"<frozen importlib._bootstrap>\", line 2214, in _find_and_load\r\n  File \"<frozen importlib._bootstrap>\", line 2203, in _find_and_load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 1200, in _load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 1129, in _exec\r\n  File \"<frozen importlib._bootstrap>\", line 1448, in exec_module\r\n  File \"<frozen importlib._bootstrap>\", line 321, in _call_with_frames_removed\r\n  File \"/home/taiga/taiga-back/taiga/external_apps/auth_backends.py\", line 22, in <module>\r\n    from . import services\r\n  File \"/home/taiga/taiga-back/taiga/external_apps/services.py\", line 25, in <module>\r\n    from . import encryption\r\n  File \"/home/taiga/taiga-back/taiga/external_apps/encryption.py\", line 18, in <module>\r\n    from Crypto.PublicKey import RSA\r\n  File \"/home/taiga/.virtualenvs/taiga/lib/python3.4/site-packages/Crypto/PublicKey/RSA.py\", line 79, in <module>\r\n    from Crypto.IO import PKCS8, PEM\r\n  File \"/home/taiga/.virtualenvs/taiga/lib/python3.4/site-packages/Crypto/IO/PKCS8.py\", line 73, in <module>\r\n    from Crypto.IO._PBES import PBES1, PBES2, PbesError\r\n  File \"/home/taiga/.virtualenvs/taiga/lib/python3.4/site-packages/Crypto/IO/_PBES.py\", line 44, in <module>\r\n    from Crypto.Cipher import DES, ARC2, DES3, AES\r\n  File \"/home/taiga/.virtualenvs/taiga/lib/python3.4/site-packages/Crypto/Cipher/__init__.py\", line 78, in <module>\r\n    from Crypto.Cipher._mode_ecb import _create_ecb_cipher\r\n  File \"/home/taiga/.virtualenvs/taiga/lib/python3.4/site-packages/Crypto/Cipher/_mode_ecb.py\", line 29, in <module>\r\n    from Crypto.Util._raw_api import (load_pycryptodome_raw_lib,\r\n  File \"/home/taiga/.virtualenvs/taiga/lib/python3.4/site-packages/Crypto/Util/_raw_api.py\", line 94, in <module>\r\n    from ctypes import (CDLL, c_void_p, byref, c_ulong, c_ulonglong, c_size_t,\r\n  File \"/usr/lib/python3.4/ctypes/__init__.py\", line 7, in <module>\r\n    from _ctypes import Union, Structure, Array\r\nImportError: /home/taiga/.virtualenvs/taiga/lib/python3.4/lib-dynload/_ctypes.cpython-34m-x86_64-linux-gnu.so: undefined symbol: _PyTraceback_Add\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"manage.py\", line 10, in <module>\r\n    execute_from_command_line(sys.argv)\r\n  File \"/home/taiga/.virtualenvs/taiga/lib/python3.4/site-packages/django/core/management/__init__.py\", line 353, in execute_from_command_line\r\n    utility.execute()\r\n  File \"/home/taiga/.virtualenvs/taiga/lib/python3.4/site-packages/django/core/management/__init__.py\", line 327, in execute\r\n    django.setup()\r\n  File \"/home/taiga/.virtualenvs/taiga/lib/python3.4/site-packages/django/__init__.py\", line 18, in setup\r\n    apps.populate(settings.INSTALLED_APPS)\r\n  File \"/home/taiga/.virtualenvs/taiga/lib/python3.4/site-packages/django/apps/registry.py\", line 85, in populate\r\n    app_config = AppConfig.create(entry)\r\n  File \"/home/taiga/.virtualenvs/taiga/lib/python3.4/site-packages/django/apps/config.py\", line 123, in create\r\n    import_module(entry)\r\n  File \"/home/taiga/.virtualenvs/taiga/lib/python3.4/importlib/__init__.py\", line 109, in import_module\r\n    return _bootstrap._gcd_import(name[level:], package, level)\r\n  File \"<frozen importlib._bootstrap>\", line 2231, in _gcd_import\r\n  File \"<frozen importlib._bootstrap>\", line 2214, in _find_and_load\r\n  File \"<frozen importlib._bootstrap>\", line 2203, in _find_and_load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 1200, in _load_unlocked\r\n  File \"<frozen importlib._bootstrap>\", line 1129, in _exec\r\n  File \"<frozen importlib._bootstrap>\", line 1448, in exec_module\r\n  File \"<frozen importlib._bootstrap>\", line 321, in _call_with_frames_removed\r\n  File \"/home/taiga/taiga-back/taiga/base/api/__init__.py\", line 53, in <module>\r\n    from .viewsets import ModelListViewSet\r\n  File \"/home/taiga/taiga-back/taiga/base/api/viewsets.py\", line 48, in <module>\r\n    from . import views\r\n  File \"/home/taiga/taiga-back/taiga/base/api/views.py\", line 134, in <module>\r\n    class APIView(View):\r\n  File \"/home/taiga/taiga-back/taiga/base/api/views.py\", line 138, in APIView\r\n    authentication_classes = api_settings.DEFAULT_AUTHENTICATION_CLASSES\r\n  File \"/home/taiga/taiga-back/taiga/base/api/settings.py\", line 238, in __getattr__\r\n    val = perform_import(val, attr)\r\n  File \"/home/taiga/taiga-back/taiga/base/api/settings.py\", line 190, in perform_import\r\n    return [import_from_string(item, setting_name) for item in val]\r\n  File \"/home/taiga/taiga-back/taiga/base/api/settings.py\", line 190, in <listcomp>\r\n    return [import_from_string(item, setting_name) for item in val]\r\n  File \"/home/taiga/taiga-back/taiga/base/api/settings.py\", line 206, in import_from_string\r\n    raise ImportError(msg)\r\nImportError: Could not import 'taiga.external_apps.auth_backends.Token' for API setting 'DEFAULT_AUTHENTICATION_CLASSES'. ImportError: /home/taiga/.virtualenvs/taiga/lib/python3.4/lib-dynload/_ctypes.cpython-34m-x86_64-linux-gnu.so: undefined symbol: _PyTraceback_Add.\r\n\r\n\r\ncan you help me? what is wrong?\r\n\r\nthank you in advance"}}