Tâche #30683
Mis à jour par Joël Cuissinat il y a plus de 3 ans
_Il s'agit plutôt d'une scorie liée à la migration python car le bug est reproductible avec n'importe quel mode de lancement (console/ssh/web) ou navigateur (firefox/chromium)._
Si on utilise la fonctionnalité : Fichier → Exporter la configuaration, on obtient une erreur :
| Erreur - 500 - INTERNAL SERVER ERROR
type object '_io.StringIO' has no attribute 'StringIO'|
Dans @/var/log/eoleflask/eolegenconfig.log@ :
<pre>
2020-09-21 17:16:55,123: eolegenconfig ERROR download_config - type object '_io.StringIO' has no attribute 'StringIO'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/eolegenconfig/webapi.py", line 356, in download_config
strIO = StringIO.StringIO()
AttributeError: type object '_io.StringIO' has no attribute 'StringIO'
2020-09-21 17:20:01,492: eolegenconfig ERROR download_config - type object '_io.StringIO' has no attribute 'StringIO'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/eolegenconfig/webapi.py", line 356, in download_config
strIO = StringIO.StringIO()
AttributeError: type object '_io.StringIO' has no attribute 'StringIO'
</pre>
NB : l'action inverse (Fichier → Importer une configuration) est bien fonctionnelle.
Si on utilise la fonctionnalité : Fichier → Exporter la configuaration, on obtient une erreur :
| Erreur - 500 - INTERNAL SERVER ERROR
type object '_io.StringIO' has no attribute 'StringIO'|
Dans @/var/log/eoleflask/eolegenconfig.log@ :
<pre>
2020-09-21 17:16:55,123: eolegenconfig ERROR download_config - type object '_io.StringIO' has no attribute 'StringIO'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/eolegenconfig/webapi.py", line 356, in download_config
strIO = StringIO.StringIO()
AttributeError: type object '_io.StringIO' has no attribute 'StringIO'
2020-09-21 17:20:01,492: eolegenconfig ERROR download_config - type object '_io.StringIO' has no attribute 'StringIO'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/eolegenconfig/webapi.py", line 356, in download_config
strIO = StringIO.StringIO()
AttributeError: type object '_io.StringIO' has no attribute 'StringIO'
</pre>
NB : l'action inverse (Fichier → Importer une configuration) est bien fonctionnelle.