Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible de générer la version 2.18 #42

Open
galuel opened this issue Dec 18, 2016 · 4 comments
Open

Impossible de générer la version 2.18 #42

galuel opened this issue Dec 18, 2016 · 4 comments
Labels

Comments

@galuel
Copy link
Collaborator

galuel commented Dec 18, 2016

$ make html
sphinx-build -b html -d build/doctrees source build/html
Running Sphinx v1.3
loading translations [fr]... done
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 7 source files that are out of date
updating environment: 7 added, 0 changed, 0 removed
reading sources... [100%] to_print
/home/bobby/Code/Geconomicus/rst/source/rules.rst:None: WARNING: image file not readable: _static/cards/revolution/backs.png
/home/bobby/Code/Geconomicus/rst/source/rules.rst:None: WARNING: image file not readable: _static/cards/revolution/fronts.png
/home/bobby/Code/Geconomicus/rst/source/rules.rst:None: WARNING: image file not readable: _static/money/red_banknote_modern_preview.png
/home/bobby/Code/Geconomicus/rst/source/rules.rst:None: WARNING: image file not readable: _static/money/yellow_banknote_modern_preview.png
/home/bobby/Code/Geconomicus/rst/source/rules.rst:None: WARNING: image file not readable: _static/money/green_banknote_modern_preview.png
/home/bobby/Code/Geconomicus/rst/source/rules.rst:None: WARNING: image file not readable: _static/money/blue_banknote_modern_preview.png
/home/bobby/Code/Geconomicus/rst/source/rules.rst:None: WARNING: image file not readable: _static/cards/revolution/markers.png
/home/bobby/Code/Geconomicus/rst/source/rules.rst:None: WARNING: image file not readable: _static/help_sheets/help_sheet_markers.png
/home/bobby/Code/Geconomicus/rst/source/rules.rst:None: WARNING: image file not readable: _static/help_sheets/help_sheet_banknotes.png
/home/bobby/Code/Geconomicus/rst/source/to_print.rst:None: WARNING: image file not readable: _static/money/blue_banknote_modern_preview.png
/home/bobby/Code/Geconomicus/rst/source/to_print.rst:None: WARNING: image file not readable: _static/cards/revolution/backs.png
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... WARNING: html_favicon is not an .ico file
done
writing output... [ 85%] rules
Exception occurred:
File "/home/bobby/Code/Geconomicus/venv/lib/python3.5/site-packages/docutils/writers/_html_base.py", line 671, in depart_document
assert not self.context, 'len(context) = %s' % len(self.context)
AssertionError: len(context) = 1
The full traceback has been saved in /tmp/sphinx-err-oxyu4rqx.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at https://github.com/sphinx-doc/sphinx/issues. Thanks!
Makefile:53 : la recette pour la cible « html » a échouée
make: *** [html] Erreur 1

@galuel galuel added the bug label Dec 18, 2016
@galuel
Copy link
Collaborator Author

galuel commented Dec 18, 2016

Manual generation of 2.18 release (by changing HTML and files directly in the build website).

@vtexier
Copy link
Member

vtexier commented Jan 23, 2017

Dans tes logs, c'est python 3.5 qui est utilisé.
Tu as peut-être oublié de te placer dans l'environnement virtuel :

source venv/bin/activate

Qui doit utiliser python 3.4, comme précisé dans le readme.

Mais je vais chercher de mon côté... asap...

@galuel
Copy link
Collaborator Author

galuel commented Jan 30, 2017

cool... Faudrait surtout que la procédure fonctionne les yeux fermés... Déjà moi qui ai trempé un peu dans le truc, j'y arrive plus, j'imagine le noob... ;)

En attendant j'ai fait la 2.18 "à la main", sinon j'étais bloqué (modifié le build directement...)

@1000i100
Copy link
Member

Je comptait te recontacter sur ton dépôt perso @vtexier vu que tu ne maintient plus celui-ci, mais les issues sont ouverte ici et pas là-bas.

Du coup, je suis entrain d'essayer de faire marcher le build "les yeux fermé" sans être familier avec l'écosystème python.
https://framagit.org/1000i100/geconomicus/-/jobs/107634

Il y a des choses qui se passent, puisque j'arrive à déployer des fichier html, mais visiblement tout ne ce passe pas bien (que ce soit au regard des log ou du look du résultat) :
http://1000i100.frama.io/geconomicus/

La magie que j'ai essayer d'inclure pour que ça marche les yeux fermé tiens en quelques lignes et se trouve ici :
https://framagit.org/1000i100/geconomicus/blob/master/.gitlab-ci.yml
Si tu as le temps d'y jetter un oeil ce soir et de me dire quoi changer/ajouter, j'en serai ravi !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants