I agree. Furthermore, other resondents have pointed out tht the problem
affects the olotting of ONE graph. I think now that the problem is related
to a semi-flakey sage resulting from compilation with a semi-flakey GCC. I
intend to post a better-documented question about this.
Thank you !
Emmanuel Charpentier
Le jeudi 15 août 2013 21:40:04 UTC+2, Emmanuel Charpentier a écrit :
>
> I already reported problems with sagetex (version 5.10). Perusing the
> sage-support archive hinted at possible problems due to deficient
> installation with a semi-broken gcc (I'm usind Debian testing?
> So I bit the bullet and recompiled another Sage with SAGE_INSTALL_GCC=yes.
> This was successful, but I ran into another problem with sagetex.
>
> Compilation of the original file succeeds. Uncommenting the tikz-related
> parts (an \usepackage and two code fragments) gave me the following error :
>
> charpent@fauchard:~/SOS$ sage example-with-tikz.sagetex.sage
> Processing Sage code for example-with-tikz.tex...
> Inline formula 0
> Inline formula 1
> Inline formula 2
> Inline formula 3
> Code block begin...end
> Inline formula 4
> Inline formula 5
> Inline formula 6
> Code block begin...end
> Inline formula 7
> Inline formula 8
> Code block begin...end
> Inline formula 9
> Inline formula 10
> Code block begin...end
> Inline formula 11
> Code block begin...end
> Inline formula 12
> Initializing plots directory
> Plot 0
> Code block begin...end
> Code block begin...end
> Plot 1
> Plot 2
> Code block begin...end
> Code block begin...end
> Plot 3
> Plot 4
> Code block begin...end
> Plot 5
> Code block begin...end
> Plot 6
> Inline formula 13
> Code block begin...end
> Inline formula 14
> Inline formula 15
> Plot 7
>
> **** Error in Sage code on line 245 of example-with-tikz.tex! Traceback
> follows.
> Traceback (most recent call last):
> File "example-with-tikz.sagetex.py", line 201, in <module>
> _st_.plot(_sage_const_7 , format='notprovided',
> _p_=graphs.FlowerSnark().plot())
> File
> "/home/sage/sage-5.10/local/lib/python2.7/site-packages/sagetex.py", line
> 252, in plot
> _p_.save(filename=plotfilename, **kwargs)
> File
> "/home/sage/sage-5.10/local/lib/python2.7/site-packages/sage/misc/decorators.py",
>
> line 456, in wrapper
> return func(*args, **kwds)
> File
> "/home/sage/sage-5.10/local/lib/python2.7/site-packages/sage/plot/graphics.py",
>
> line 2686, in save
> transparent=transparent)
> File
> "/home/sage/sage-5.10/local/lib/python2.7/site-packages/matplotlib/figure.py",
>
> line 1370, in savefig
> self.canvas.print_figure(*args, **kwargs)
> File
> "/home/sage/sage-5.10/local/lib/python2.7/site-packages/matplotlib/backend_bases.py",
>
> line 2055, in print_figure
> **kwargs)
> File
> "/home/sage/sage-5.10/local/lib/python2.7/site-packages/matplotlib/backend_bases.py",
>
> line 1848, in print_pdf
> return pdf.print_pdf(*args, **kwargs)
> File
> "/home/sage/sage-5.10/local/lib/python2.7/site-packages/matplotlib/backends/backend_pdf.py",
>
> line 2301, in print_pdf
> self.figure.draw(renderer)
> File
> "/home/sage/sage-5.10/local/lib/python2.7/site-packages/matplotlib/artist.py",
>
> line 54, in draw_wrapper
> draw(artist, renderer, *args, **kwargs)
> File
> "/home/sage/sage-5.10/local/lib/python2.7/site-packages/matplotlib/figure.py",
>
> line 1006, in draw
> func(*args)
> File
> "/home/sage/sage-5.10/local/lib/python2.7/site-packages/matplotlib/artist.py",
>
> line 54, in draw_wrapper
> draw(artist, renderer, *args, **kwargs)
> File
> "/home/sage/sage-5.10/local/lib/python2.7/site-packages/matplotlib/axes.py",
> line 2086, in draw
> a.draw(renderer)
> File
> "/home/sage/sage-5.10/local/lib/python2.7/site-packages/matplotlib/artist.py",
>
> line 54, in draw_wrapper
> draw(artist, renderer, *args, **kwargs)
> File
> "/home/sage/sage-5.10/local/lib/python2.7/site-packages/matplotlib/collections.py",
>
> line 695, in draw
> return Collection.draw(self, renderer)
> File
> "/home/sage/sage-5.10/local/lib/python2.7/site-packages/matplotlib/artist.py",
>
> line 54, in draw_wrapper
> draw(artist, renderer, *args, **kwargs)
> File
> "/home/sage/sage-5.10/local/lib/python2.7/site-packages/matplotlib/collections.py",
>
> line 259, in draw
> self._offset_position)
> File
> "/home/sage/sage-5.10/local/lib/python2.7/site-packages/matplotlib/backends/backend_pdf.py",
>
> line 1548, in draw_path_collection
> output(*self.gc.pop())
> File
> "/home/sage/sage-5.10/local/lib/python2.7/site-packages/matplotlib/backends/backend_pdf.py",
>
> line 2093, in pop
> assert self.parent is not None
> AssertionError
>
> **** Running Sage on example-with-tikz.sage failed! Fix
> example-with-tikz.tex and try again.
>
>
> This one I do not understand at all... Furthermore I have to add that this
> exaple compiled erfectly wit tikz-rts uncommented in sage-5.9.
>
> Could some kind soul give me a pointer ?
>
>
> Emmanuel Charpentier
>
>
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.