You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS: Ubuntu Server 22.04
Error Log:
fatal: [0101lab-openwisp-01]: FAILED! => {
"attempts": 5,
"changed": false,
"cmd": [
"/opt/openwisp2/env/bin/pip3",
"install",
"-U",
"MySQL-python"
],
"invocation": {
"module_args": {
"chdir": null,
"editable": false,
"executable": null,
"extra_args": null,
"name": [
"MySQL-python"
],
"requirements": null,
"state": "latest",
"umask": null,
"version": null,
"virtualenv": "/opt/openwisp2/env",
"virtualenv_command": "virtualenv",
"virtualenv_python": "python3",
"virtualenv_site_packages": true
}
},
"msg": "stdout: Collecting MySQL-python\n Using cached MySQL-python-1.2.5.zip (108 kB)\n Preparing metadata (setup.py): started\n Preparing metadata (setup.py): finished with status 'error'\n\n:stderr: error: subprocess-exited-with-error\n \n × python setup.py egg_info did not run successfully.\n │ exit code: 1\n ╰─> [8 lines of output]\n Traceback (most recent call last):\n File "", line 2, in \n File "", line 34, in \n File "/tmp/pip-install-9sgaavur/mysql-python_c8e98d77a0de4afb8993f25f625b0062/setup.py", line 13, in \n from setup_posix import get_config\n File "/tmp/pip-install-9sgaavur/mysql-python_c8e98d77a0de4afb8993f25f625b0062/setup_posix.py", line 2, in \n from ConfigParser import SafeConfigParser\n ModuleNotFoundError: No module named 'ConfigParser'\n [end of output]\n \n note: This error originates from a subprocess, and is likely not a problem with pip.\nerror: metadata-generation-failed\n\n× Encountered error while generating package metadata.\n╰─> See above for output.\n\nnote: This is an issue with the package mentioned above, not pip.\nhint: See above for details.\n"
playbook:
hosts: 0101lab-openwisp-01
become: "{{ become | default('yes') }}"
roles:
OS: Ubuntu Server 22.04
Error Log:
fatal: [0101lab-openwisp-01]: FAILED! => {
"attempts": 5,
"changed": false,
"cmd": [
"/opt/openwisp2/env/bin/pip3",
"install",
"-U",
"MySQL-python"
],
"invocation": {
"module_args": {
"chdir": null,
"editable": false,
"executable": null,
"extra_args": null,
"name": [
"MySQL-python"
],
"requirements": null,
"state": "latest",
"umask": null,
"version": null,
"virtualenv": "/opt/openwisp2/env",
"virtualenv_command": "virtualenv",
"virtualenv_python": "python3",
"virtualenv_site_packages": true
}
},
"msg": "stdout: Collecting MySQL-python\n Using cached MySQL-python-1.2.5.zip (108 kB)\n Preparing metadata (setup.py): started\n Preparing metadata (setup.py): finished with status 'error'\n\n:stderr: error: subprocess-exited-with-error\n \n × python setup.py egg_info did not run successfully.\n │ exit code: 1\n ╰─> [8 lines of output]\n Traceback (most recent call last):\n File "", line 2, in \n File "", line 34, in \n File "/tmp/pip-install-9sgaavur/mysql-python_c8e98d77a0de4afb8993f25f625b0062/setup.py", line 13, in \n from setup_posix import get_config\n File "/tmp/pip-install-9sgaavur/mysql-python_c8e98d77a0de4afb8993f25f625b0062/setup_posix.py", line 2, in \n from ConfigParser import SafeConfigParser\n ModuleNotFoundError: No module named 'ConfigParser'\n [end of output]\n \n note: This error originates from a subprocess, and is likely not a problem with pip.\nerror: metadata-generation-failed\n\n× Encountered error while generating package metadata.\n╰─> See above for output.\n\nnote: This is an issue with the package mentioned above, not pip.\nhint: See above for details.\n"
playbook:
become: "{{ become | default('yes') }}"
roles:
vars:
openwisp2_radius: true
openwisp2_freeradius_install: true
openwisp2_radius_urls: true
openwisp2_default_from_email: "[email protected]"
openwisp2_database:
engine: "django.db.backends.mysql"
options: "read_default_file': '/etc/mysql/client.cnf"
The text was updated successfully, but these errors were encountered: