Opened 8 years ago
Closed 4 years ago
#12364 closed defect (fixed)
ValueError + AttributeError when calling layout_graphviz on a Hasse diagram
Reported by: | slabbe | Owned by: | sage-combinat |
---|---|---|---|
Priority: | major | Milestone: | sage-7.4 |
Component: | combinatorics | Keywords: | dot2tex |
Cc: | sage-combinat | Merged in: | |
Authors: | Sébastien Labbé | Reviewers: | Travis Scrimshaw |
Report Upstream: | N/A | Work issues: | |
Branch: | e80f38b (Commits) | Commit: | e80f38b5f6d210df78f5f11bdbbf19ae5afb5717 |
Dependencies: | Stopgaps: |
Description (last modified by )
With sage-4.7.2 and sage -i dot2tex
installed :
sage: m = WordMorphism('a->abb,b->ba') sage: w = m.fixed_point('a') sage: prefix = Word(list(w[:100])) sage: pals = prefix.palindromes() sage: poset = Poset((pals, lambda x,y: x.is_factor(y))) sage: H = poset.hasse_diagram() sage: H.layout_graphviz() #require dot2tex ERROR Failed to process input Traceback (most recent call last): ... ValueError: invalid literal for int() with base 10: '249.88' ------------------------------------------------------- Traceback (most recent call last): ... AttributeError: 'str' object has no attribute 'iteritems'
This came up in #12351.
Change History (14)
comment:1 Changed 8 years ago by
- Description modified (diff)
comment:2 Changed 8 years ago by
comment:3 Changed 7 years ago by
- Milestone changed from sage-5.11 to sage-5.12
comment:4 Changed 6 years ago by
- Milestone changed from sage-6.1 to sage-6.2
comment:5 Changed 6 years ago by
- Milestone changed from sage-6.2 to sage-6.3
comment:6 Changed 6 years ago by
- Milestone changed from sage-6.3 to sage-6.4
comment:8 Changed 4 years ago by
- Milestone changed from sage-7.3 to sage-duplicate/invalid/wontfix
- Reviewers set to Travis Scrimshaw
- Status changed from new to needs_review
Agreed.
comment:9 Changed 4 years ago by
- Status changed from needs_review to positive_review
comment:10 Changed 4 years ago by
Shouldn't we add a doctest?
comment:12 Changed 4 years ago by
- Branch set to u/slabbe/12364
- Commit set to e80f38b5f6d210df78f5f11bdbbf19ae5afb5717
- Status changed from needs_work to needs_review
comment:13 Changed 4 years ago by
- Milestone changed from sage-duplicate/invalid/wontfix to sage-7.4
- Status changed from needs_review to positive_review
Thanks.
comment:14 Changed 4 years ago by
- Branch changed from u/slabbe/12364 to e80f38b5f6d210df78f5f11bdbbf19ae5afb5717
- Resolution set to fixed
- Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
Could this be related to http://groups.google.com/group/sage-combinat-devel/msg/13cd26ebb99954db