Modify ↓
#12686 closed defect (fixed)
TypeError: expected string or buffer
Reported by: | Ryan J Ollos | Owned by: | Christian Boos |
---|---|---|---|
Priority: | normal | Milestone: | 1.3.2 |
Component: | wiki system | Version: | 1.3dev |
Severity: | normal | Keywords: | wikiprocessor |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
From the logs:
[pid 31083 140352200652544] 2017-02-09 09:55:54,111 Trac[formatter] ERROR: Processor html failed: Traceback (most recent call last): File "build/bdist.linux-x86_64/egg/trac/wiki/formatter.py", line 1189, in _exec_processor return processor.process(text) File "build/bdist.linux-x86_64/egg/trac/wiki/formatter.py", line 371, in process text = self.processor(text) File "build/bdist.linux-x86_64/egg/trac/wiki/formatter.py", line 225, in _html_processor return self._sanitizer.sanitize(text) File "build/bdist.linux-x86_64/egg/trac/util/html.py", line 637, in sanitize transform.feed(html) File "/usr/lib/python2.7/HTMLParser.py", line 117, in feed self.goahead(0) File "/usr/lib/python2.7/HTMLParser.py", line 161, in goahead k = self.parse_starttag(i) File "/usr/lib/python2.7/HTMLParser.py", line 327, in parse_starttag self.handle_starttag(tag, attrs) File "build/bdist.linux-x86_64/egg/trac/util/html.py", line 974, in handle_starttag self._handle_start(tag, attrs, '') File "build/bdist.linux-x86_64/egg/trac/util/html.py", line 964, in _handle_start new_attrs = self.sanitizer.sanitize_attrs(dict(attrs)) File "build/bdist.linux-x86_64/egg/trac/util/html.py", line 753, in sanitize_attrs value = stripentities(value) File "build/bdist.linux-x86_64/egg/trac/util/html.py", line 189, in stripentities return Markup(_STRIPENTITIES_RE.sub(_replace_entity, text)) [pid 31083 140352200652544] 2017-02-09 09:55:54,111 Trac[formatter] ERROR: Processor html failed: Traceback (most recent call last): File "build/bdist.linux-x86_64/egg/trac/wiki/formatter.py", line 1189, in _exec_processor return processor.process(text) File "build/bdist.linux-x86_64/egg/trac/wiki/formatter.py", line 371, in process text = self.processor(text) File "build/bdist.linux-x86_64/egg/trac/wiki/formatter.py", line 225, in _html_processor return self._sanitizer.sanitize(text) File "build/bdist.linux-x86_64/egg/trac/util/html.py", line 637, in sanitize transform.feed(html) File "/usr/lib/python2.7/HTMLParser.py", line 117, in feed self.goahead(0) File "/usr/lib/python2.7/HTMLParser.py", line 161, in goahead k = self.parse_starttag(i) File "/usr/lib/python2.7/HTMLParser.py", line 327, in parse_starttag self.handle_starttag(tag, attrs) File "build/bdist.linux-x86_64/egg/trac/util/html.py", line 974, in handle_starttag self._handle_start(tag, attrs, '') File "build/bdist.linux-x86_64/egg/trac/util/html.py", line 964, in _handle_start new_attrs = self.sanitizer.sanitize_attrs(dict(attrs)) File "build/bdist.linux-x86_64/egg/trac/util/html.py", line 753, in sanitize_attrs value = stripentities(value) File "build/bdist.linux-x86_64/egg/trac/util/html.py", line 189, in stripentities return Markup(_STRIPENTITIES_RE.sub(_replace_entity, text)) TypeError: expected string or buffer
Attachments (0)
Change History (4)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Milestone: | → 1.3.2 |
---|
comment:3 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Version: | → 1.3dev |
Fixed in r15531.
comment:4 by , 8 years ago
Owner: | set to |
---|
Note:
See TracTickets
for help on using tickets.
Ah, found it! TracDev/Proposals/MultipleProject#Focalproject
It's the unicode characters.