#25710 closed defect (fixed)
UnicodeDecodeError when plotting `graphs.AfricaMap()`
Reported by: | epalezzato | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-8.3 |
Component: | graph theory | Keywords: | graphs, plot, show, unicode, days94 |
Cc: | slelievre, epalezzato | Merged in: | |
Authors: | Frédéric Chapoton | Reviewers: | Peleg Michaeli |
Report Upstream: | N/A | Work issues: | |
Branch: | 73c5e18 (Commits) | Commit: | |
Dependencies: | Stopgaps: |
Description
In sage 8.3.beta7, plotting certain graphs results in a unicode decode error.
sage: A = graphs.AfricaMap() sage: A.plot() Traceback (most recent call last) ... UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)
The same happens with A.show()
.
Change History (5)
comment:1 Changed 3 years ago by
- Component changed from PLEASE CHANGE to graph theory
comment:2 Changed 3 years ago by
- Branch set to public/25710
- Commit set to 73c5e188868356ab572a412d1f36f50143f90a25
- Status changed from new to needs_review
comment:3 Changed 3 years ago by
- Reviewers set to Peleg Michaeli
- Status changed from needs_review to positive_review
Looks good.
comment:4 Changed 3 years ago by
- Branch changed from public/25710 to 73c5e188868356ab572a412d1f36f50143f90a25
- Resolution set to fixed
- Status changed from positive_review to closed
comment:5 Changed 3 years ago by
- Commit 73c5e188868356ab572a412d1f36f50143f90a25 deleted
Thanks! And just to confirm, this was the only map among the following with such problems:
sage: A = graphs.AfricaMap() sage: E = graphs.EuropeMap() sage: U = graphs.USAMap() sage: W = graphs.WorldMap()
and that's all the maps we currently have in src/sage/graphs/generators/world_map.py
.
Note: See
TracTickets for help on using
tickets.
fixed
New commits:
trac 25710 fix unicode in Africa map