Modify ↓
Opened 18 years ago
Closed 18 years ago
#4276 closed defect (invalid)
Heading in latex export support only ascii characters
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | wiki system | Version: | 0.10.2 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I have a wiki page with only this content:
= extérieur =
When i try latex export:
Python Traceback Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 387, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 238, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.3/site-packages/trac/wiki/web_ui.py", line 134, in process_request page.text, format, page.name) File "/usr/lib/python2.3/site-packages/trac/mimeview/api.py", line 604, in send_converted content, selector) File "/usr/lib/python2.3/site-packages/trac/mimeview/api.py", line 384, in convert_content output = converter.convert_content(req, mimetype, content, ck) File "build/bdist.linux-i686/egg/pagetolatex/pagetolatex.py", line 16, in convert_content File "build/bdist.linux-i686/egg/pagetolatex/wikilatex.py", line 615, in wiki_to_latex File "build/bdist.linux-i686/egg/pagetolatex/wikilatex.py", line 581, in format File "/usr/lib/python2.3/sre.py", line 143, in sub return _compile(pattern, 0).sub(repl, string, count) File "build/bdist.linux-i686/egg/pagetolatex/wikilatex.py", line 151, in replace File "build/bdist.linux-i686/egg/pagetolatex/wikilatex.py", line 330, in _heading_formatter UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 3: ordinal not in range(128)
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Looks like it's the th:PageToLatex plugin which has not yet be ported to 0.10 (or you're using the wrong version of it).
In any case, you should rather fill a ticket on TracHacks.