The cli sync_langpacks.php returns an error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Robert Lyon | ||
17.10 |
Fix Released
|
High
|
Unassigned |
Bug Description
When I try to update the langpacks with the cli interface, e.g. for French:
php /pathtomahara/
I get the following error: Invalid argument, /var/maharadata
The full message display is:
Version de Mahara pour accéder à la version ad hoc des paquets de langue « 17.04 »
================== fr ==================
Le paquet de langue « fr » est déjà installé : true
Faire une sauvegarde ? true
URL du paquet de langue « http://
Enregistrement du paquet de langue « fr-17.04_
Sauvegarde de la langue « fr » effectuée
*** ATTENTION *** Impossible d'extraire les fichiers depuis « fr-17.04_STABLE.tar ». La raison est : Invalid argument, /var/maharadata
-------
Terminé
In the temp folder I have the following files:
fr-17.04_
fr-17.tar
It seems that the script is looking for a file in tar format where the file present in the temp folder is in gz format.
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/7607