Hi again

root@openwisp2:~/openwisp2-ansible-playbook# python3 -m pip install cffi
Requirement already satisfied: cffi in 
/root/.local/lib/python3.9/site-packages (1.15.1)
Requirement already satisfied: pycparser in 
/root/.local/lib/python3.9/site-packages (from cffi) (2.21

I have them =\

Em sexta-feira, 24 de março de 2023 às 14:22:10 UTC-3, f.capoano escreveu:

> Hi, 
>
> this is the error that seems to be holding you down:
>
> ModuleNotFoundError: No module named _cffi_backend
>
> I have seen this in the past, are you using Ubuntu 20.04 (the Ubuntu 
> release from 2020)? I recommend lo look for this error on google and try 
> the solutions found there, one should work.
>
> I hope this helps.
> Federico
>
> On Fri, 24 Mar 2023 at 12:45, Itay Sena <[email protected]> wrote:
>
>> Hello guys, all good?
>>
>> I'm trying to install it and I have a problem that, the Play recap shows 
>> me 71 ok, 48 skipped and 1 failed.
>>
>> The failed one is the geocoding check, if I add on my yaml to ignore it, 
>> it stops on the next task, that is migrating.
>>
>> here's is the erro message.
>>
>> i'm following the steps on 
>> https://github.com/openwisp/ansible-openwisp2#install-openwisp2-for-testing-in-a-virtualbox-vm
>>
>>
>> fatal: [openwisp2.myworld]: FAILED! => {"changed": false, "cmd": 
>> ["./manage.py", "check", "--deploy", "--tag", "geocoding"], "msg": 
>> "\n:stderr: Traceback (most recent call last):\n  File 
>> \"/opt/openwisp2/./manage.py\", line 10, in <module>\n   
>>  execute_from_command_line(sys.argv)\n  File 
>> \"/opt/openwisp2/env/lib/python3.9/site-packages/django/core/management/__init__.py\",
>>  
>> line 446, in execute_from_command_line\n    utility.execute()\n  File 
>> \"/opt/openwisp2/env/lib/python3.9/site-packages/django/core/management/__init__.py\",
>>  
>> line 420, in execute\n    django.setup()\n  File 
>> \"/opt/openwisp2/env/lib/python3.9/site-packages/django/__init__.py\", line 
>> 24, in setup\n    apps.populate(settings.INSTALLED_APPS)\n  File 
>> \"/opt/openwisp2/env/lib/python3.9/site-packages/django/apps/registry.py\", 
>> line 116, in populate\n    app_config.import_models()\n  File 
>> \"/opt/openwisp2/env/lib/python3.9/site-packages/django/apps/config.py\", 
>> line 304, in import_models\n    self.models_module = 
>> import_module(models_module_name)\n  File 
>> \"/usr/lib/python3.9/importlib/__init__.py\", line 127, in import_module\n 
>>    return _bootstrap._gcd_import(name[level:], package, level)\n  File 
>> \"<frozen importlib._bootstrap>\", line 1030, in _gcd_import\n  File 
>> \"<frozen importlib._bootstrap>\", line 1007, in _find_and_load\n  File 
>> \"<frozen importlib._bootstrap>\", line 986, in _find_and_load_unlocked\n 
>>  File \"<frozen importlib._bootstrap>\", line 680, in _load_unlocked\n 
>>  File \"<frozen importlib._bootstrap_external>\", line 790, in 
>> exec_module\n  File \"<frozen importlib._bootstrap>\", line 228, in 
>> _call_with_frames_removed\n  File 
>> \"/opt/openwisp2/env/lib/python3.9/site-packages/openwisp_controller/pki/models.py\",
>>  
>> line 3, in <module>\n    from .base.models import AbstractCa, 
>> AbstractCert\n  File 
>> \"/opt/openwisp2/env/lib/python3.9/site-packages/openwisp_controller/pki/base/models.py\",
>>  
>> line 3, in <module>\n    from django_x509.base.models import AbstractCa as 
>> BaseCa\n  File 
>> \"/opt/openwisp2/env/lib/python3.9/site-packages/django_x509/base/models.py\",
>>  
>> line 5, in <module>\n    import OpenSSL\n  File 
>> \"/opt/openwisp2/env/lib/python3.9/site-packages/OpenSSL/__init__.py\", 
>> line 8, in <module>\n    from OpenSSL import crypto, SSL\n  File 
>> \"/opt/openwisp2/env/lib/python3.9/site-packages/OpenSSL/crypto.py\", line 
>> 17, in <module>\n    from OpenSSL._util import (\n  File 
>> \"/opt/openwisp2/env/lib/python3.9/site-packages/OpenSSL/_util.py\", line 
>> 6, in <module>\n    from cryptography.hazmat.bindings.openssl.binding 
>> import Binding\n  File 
>> \"/opt/openwisp2/env/lib/python3.9/site-packages/cryptography/hazmat/bindings/openssl/binding.py\",
>>  
>> line 14, in <module>\n    from cryptography.hazmat.bindings._openssl import 
>> ffi, lib\nModuleNotFoundError: No module named '_cffi_backend'\n", "path": 
>> "/opt/openwisp2/env/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
>>  
>> "syspath": 
>> ["/tmp/ansible_django_manage_payload_vm2z0xd5/ansible_django_manage_payload.zip",
>>  
>> "/usr/lib/python39.zip", "/usr/lib/python3.9", 
>> "/usr/lib/python3.9/lib-dynload", "/usr/local/lib/python3.9/dist-packages", 
>> "/usr/lib/python3/dist-packages"]}
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "OpenWISP" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web, visit 
>> https://groups.google.com/d/msgid/openwisp/1181a5b1-7877-4dc6-9038-a4b1e8aa2981n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/openwisp/1181a5b1-7877-4dc6-9038-a4b1e8aa2981n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/030a8e04-9431-4174-a26c-cdbdbf729399n%40googlegroups.com.

Reply via email to