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
7 imagemagick failing doctest in plot/animate.py #28868
Comments
Author: Frédéric Chapoton |
Branch: u/chapoton/28868 |
Commit: |
New commits:
|
comment:3
does not work |
comment:4
Ticket retargeted after milestone closed |
comment:5
Sébastien, could you please try the branch here ? It seems that it fixes the bytes problems, but there remains a true failure afterwards. |
comment:6
All tests seem to pass, I just tried. |
comment:7
With the branch on top of 9.1.beta9 I get
|
comment:8
ok. Je propose de faire passer la branche, et de garder le dernier probleme pour un autre ticket. Après tout, c'est un autre probleme, certes au meme endroit. |
comment:9
J'ai identifié le soucis. Le dernier changement que tu fait remplace aussi un - sage: with open(td + 'wave.gif', 'rb') as f: print('!\xff\x0bNETSCAPE2.0\x03\x01\x03\x00\x00' in f.read()) # optional -- ImageMagick
+ sage: with open(td + 'wave.gif', 'rb') as f: print(b'!\xff\x0bNETSCAPE2.0\x03\x01\x02\x00\x00' in f.read()) # optional -- ImageMagick Si je garde le |
comment:10
Si chez toi, tu as besoin de garder le |
comment:11
Chez moi, ca foire quand je mets \x03 et ca passe quand je mets \x02 Je veux bien ne garder que le prefixe commun, mais est-ce que ca ne supprime pas tout l'interet du doctest ? |
comment:12
The saved file |
comment:13
Il me semble que oui. Je l'attache |
Attachment: wave.gif |
comment:14
faudrait voir si il s'arrete au meme point que chez toi |
comment:15
Oui, c'est pareil. Du coup, allons y avec le préfixe commun. |
comment:17
j'ai eu une autre idee : verifier la presence d'une des deux chaines. Ca me semble mieux respecter l'esprit du doctest. Voir le dernier commit |
comment:18
|
Reviewer: Sébastien Labbé |
comment:19
|
comment:21
oh boy, what's that ? Could it be caused by -- `ImageMagick <http://www.imagemagick.org>`_
+- `ImageMagick <https://www.imagemagick.org>`_ ? |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:23
Here is probably a fix commit. Please review. |
comment:24
Oups, the patchbot were telling us that problem for a while... I think you can't have the same reference link twice in the same file. It must be because of that. I manage to build the doc correctly on my side. Patchbot light is green this time. Good to go. |
Changed branch from u/chapoton/28868 to |
gives
Component: graphics
Author: Frédéric Chapoton
Branch/Commit:
41a0543
Reviewer: Sébastien Labbé
Issue created by migration from https://trac.sagemath.org/ticket/28868
The text was updated successfully, but these errors were encountered: