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
Non-functioning dot2tex breaks poset creation in an unclear way #18124
Comments
comment:1
And it looks like the optional package dot2tex IS installed, but there is no dot2tex itself. |
comment:2
Looking further, I assume dot2tex package actually installs dot2tex and it is just not present on the system. I am confused by versions:
while http://sagemath.org/packages/optional/ lists dot2tex-2.8.7.p2.spkg The system in question is SageMathCell: |
comment:3
Replying to @novoselt:
That's "new-style spkg" weirdness: The old one (2.8.7.p2) is a real spkg, and listed on The new one (2.9.0dev) has its package metadata only shipped with newer versions of Sage (part of the "unified" git tree, such that you cannot install it on older Sage versions); its corresponding upstream tarball is available as http://sagemath.org/packages/upstream/dot2tex/dot2tex-20120520.tar.bz2. Did you try to reinstall it with |
comment:4
Replying to @nexttime:
... which means you should better try |
comment:5
You might be interested in #17171. |
comment:6
Replying to @nexttime:
Tons of errors, GraphViz is not installed. The issue, however, is that I am not trying to make any pictures! Changes that I think have to be done (either one will suffice, but both are better):
I does not look like #17171 addresses the first point, not sure about the second one. |
comment:7
Replying to @novoselt:
Yes. I could reproduce the errors you reported on a previously TeX-free system, but only after installing dot2tex (without Installing GraphViz alone didn't help; after installing a couple of additional (La)TeX-related packages the errors in Sage finally vanished, while the number of failures in dot2tex's test suite only decreased.
Yep, that's odd, although you must have installed dot2tex at some point... ;-) (So the ticket's title is somewhat misleading.)
Agreed, a non-working dot2tex installation shouldn't affect rather unrelated things, especially since you cannot (easily) uninstall dot2tex.
Yep, some minimal prerequisite check should probably be performed in its
Well, not yet, still needs review... |
comment:8
Replying to @nexttime:
P.S.: From dot2tex's
Necessary, but presumably not sufficient (at least to make 2.9.0dev's test suite pass), but perhaps the packages I installed are also too old. |
comment:9
Agreed about the title - my understanding of the issue improved as I was writing the description ;-) Listing dependencies is not enough - the point of packaging systems is to take care of them automatically. I've installed dot2tex because it is installed in the cloud and in general the goal is to provide as many useful packages as possible through SageMathCell. So I will install GraphViz on the next update, but the issues here still have to be fixed: the code in |
This comment has been minimized.
This comment has been minimized.
Commit: |
New commits:
|
Author: Jeroen Demeyer |
Reviewer: Nathann Cohen |
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:
|
Changed branch from u/jdemeyer/non_functioning_dot2tex_breaks_poset_creation_in_an_unclear_way to |
On a system with optional package dot2tex installed, but no GraphViz:
I believe the problem is coming from this:
which is obviously wrong and extremely confusing to users - surely poset creation is independent of TeX!
CC: @sagetrac-sage-combinat @anneschilling @nthiery @nathanncohen @nexttime @bsalisbury1 @tscrim
Component: combinatorics
Author: Jeroen Demeyer
Branch/Commit:
946f67d
Reviewer: Nathann Cohen
Issue created by migration from https://trac.sagemath.org/ticket/18124
The text was updated successfully, but these errors were encountered: