1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00
SystemError: ffi_prep_closure(): bad user_data (it seems that the version of the libffi library seen at runtime is different from the 'ffi.h' file seen at compile-time)
This commit is contained in:
yalh76 2022-03-06 15:40:38 +01:00
parent e54773af2a
commit b5bda8fcef
2 changed files with 2 additions and 2 deletions

View file

@ -127,7 +127,7 @@ chown -R "$app": "$final_path"
sudo --user=$app $final_path/venv/bin/pip install --upgrade pip setuptools wheel sudo --user=$app $final_path/venv/bin/pip install --upgrade pip setuptools wheel
# Tmp fix # Tmp fix
sudo --user=$app $final_path/venv/bin/pip install --upgrade cffi==1.14 sudo --user=$app $final_path/venv/bin/pip install --upgrade cffi xcffib
# Still needed with latest version of weblate? # Still needed with latest version of weblate?
sudo --user=$app $final_path/venv/bin/pip install Weblate=="$weblate_version" sudo --user=$app $final_path/venv/bin/pip install Weblate=="$weblate_version"
sudo --user=$app $final_path/venv/bin/pip install psycopg2-binary ruamel.yaml aeidon phply sudo --user=$app $final_path/venv/bin/pip install psycopg2-binary ruamel.yaml aeidon phply

View file

@ -172,7 +172,7 @@ upgrade() {
sudo --user=$app $final_path/venv/bin/pip install --upgrade pip setuptools wheel sudo --user=$app $final_path/venv/bin/pip install --upgrade pip setuptools wheel
# Tmp fix # Tmp fix
sudo --user=$app $final_path/venv/bin/pip install --upgrade cffi==1.14 sudo --user=$app $final_path/venv/bin/pip install --upgrade cffi xcffib
# Still needed with latest version of weblate? # Still needed with latest version of weblate?
sudo --user=$app $final_path/venv/bin/pip install --upgrade Weblate=="$new_version" sudo --user=$app $final_path/venv/bin/pip install --upgrade Weblate=="$new_version"
sudo --user=$app $final_path/venv/bin/pip install psycopg2-binary ruamel.yaml aeidon phply sudo --user=$app $final_path/venv/bin/pip install psycopg2-binary ruamel.yaml aeidon phply