mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #41656
[Bug 1681169] [NEW] The cli sync_langpacks.php returns an error
Public bug reported:
When I try to update the langpacks with the cli interface, e.g. for
French:
php /pathtomahara/admin/cli/sync_langpacks.php -l=fr
I get the following error: Invalid argument,
/var/maharadata/temp/fr-17.04_STABLE.tar cannot be found.
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://langpacks.mahara.org/fr-17.04_STABLE.tar.gz »
Enregistrement du paquet de langue « fr-17.04_STABLE.tar.gz » dans un dossier temporaire
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/temp/fr-17.04_STABLE.tar cannot be found
------------------------------------------
Terminé
In the temp folder I have the following files:
fr-17.04_STABLE.tar.gz
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.
** Affects: mahara
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1681169
Title:
The cli sync_langpacks.php returns an error
Status in Mahara:
New
Bug description:
When I try to update the langpacks with the cli interface, e.g. for
French:
php /pathtomahara/admin/cli/sync_langpacks.php -l=fr
I get the following error: Invalid argument,
/var/maharadata/temp/fr-17.04_STABLE.tar cannot be found.
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://langpacks.mahara.org/fr-17.04_STABLE.tar.gz »
Enregistrement du paquet de langue « fr-17.04_STABLE.tar.gz » dans un dossier temporaire
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/temp/fr-17.04_STABLE.tar cannot be found
------------------------------------------
Terminé
In the temp folder I have the following files:
fr-17.04_STABLE.tar.gz
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1681169/+subscriptions
Follow ups
-
[Bug 1681169] Re: The cli sync_langpacks.php returns an error
From: Robert Lyon, 2017-10-30
-
[Bug 1681169] Re: The cli sync_langpacks.php returns an error
From: Robert Lyon, 2017-04-27
-
[Bug 1681169] A change has been merged
From: Mahara Bot, 2017-04-19
-
[Bug 1681169] A patch has been submitted for review
From: Mahara Bot, 2017-04-19
-
[Bug 1681169] Re: The cli sync_langpacks.php returns an error
From: Robert Lyon, 2017-04-19
-
[Bug 1681169] A change has been merged
From: Mahara Bot, 2017-04-19
-
[Bug 1681169] Re: The cli sync_langpacks.php returns an error
From: Kristina Hoeppner, 2017-04-10
-
[Bug 1681169] Re: The cli sync_langpacks.php returns an error
From: Robert Lyon, 2017-04-09
-
[Bug 1681169] A patch has been submitted for review
From: Mahara Bot, 2017-04-09
-
[Bug 1681169] Re: The cli sync_langpacks.php returns an error
From: Robert Lyon, 2017-04-09