Opened 17 years ago

Last modified 16 years ago

#2121 closed defect

UnicodeDecodeError: 'ascii' codec can't decode byte 0xec in position 2: ordinal not in range(128) — at Initial Version

Reported by: anonymous Owned by: osimons
Priority: highest Component: FullBlogPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.11

Description

Trac[main] DEBUG: Dispatching <Request "GET u'/blog'"> Trac[web_ui] DEBUG: Blog debug: command=, pagename=, path_items=[] 18시 16분 38초 Trac[model] DEBUG: get_blog_posts() SQL: SELECT bp1.name, bp1.version, bp1.publish_time, bp1.author, bp1.title, bp1.body, bp1.categories FROM fullblog_posts bp1 ,(SELECT name, max(version) AS ver FROM fullblog_posts GROUP BY name) bp2 WHERE bp1.version = bp2.ver AND bp1.name = bp2.name ORDER BY bp1.publish_time DESC Traceback (most recent call last):

File "logging/init.py", line 744, in emit

msg = self.format(record)

File "logging/init.py", line 630, in format

return fmt.format(record)

File "logging/init.py", line 421, in format

s = self._fmt % record.dict

UnicodeDecodeError: 'ascii' codec can't decode byte 0xec in position 2: ordinal not in range(128) 18시 16분 38초 Trac[model] DEBUG: get_blog_posts() SQL: SELECT bp1.name, bp1.version, bp1.publish_time, bp1.author, bp1.title, bp1.body, bp1.categories FROM fullblog_posts bp1 ,(SELECT name, max(version) AS ver FROM fullblog_posts GROUP BY name) bp2 WHERE bp1.version = bp2.ver AND bp1.name = bp2.name ORDER BY bp1.publish_time DESC Traceback (most recent call last):

File "logging/init.py", line 744, in emit

msg = self.format(record)

File "logging/init.py", line 630, in format

return fmt.format(record)

File "logging/init.py", line 421, in format

s = self._fmt % record.dict

UnicodeDecodeError: 'ascii' codec can't decode byte 0xec in position 2: ordinal not in range(128) Trac[chrome] DEBUG: Prepare chrome data for request Trac[session] DEBUG: Retrieving session for ID u'blog' Trac[model] DEBUG: get_blog_comments() SQL: SELECT name, number, comment, author, time FROM fullblog_comments WHERE name=%s Trac[init] ERROR: 'ascii' codec can't decode byte 0xec in position 2: ordinal not in range(128) Traceback (most recent call last):

File "/workspace/trac/trac-current/trac/web/main.py", line 381, in dispatch_request

dispatcher.dispatch(req)

File "/workspace/trac/trac-current/trac/web/main.py", line 213, in dispatch

data, content_type)

File "/workspace/trac/trac-current/trac/web/chrome.py", line 601, in render_template

return stream.render(method, doctype=doctype)

File "/usr/local/lib/python2.5/site-packages/Genshi-0.4.4-py2.5.egg/genshi/core.py", line 154, in render

return encode(generator, method=method, encoding=encoding)

File "/usr/local/lib/python2.5/site-packages/Genshi-0.4.4-py2.5.egg/genshi/output.py", line 45, in encode

output = u.join(list(iterator))

File "/usr/local/lib/python2.5/site-packages/Genshi-0.4.4-py2.5.egg/genshi/output.py", line 274, in call

for kind, data, pos in stream:

File "/usr/local/lib/python2.5/site-packages/Genshi-0.4.4-py2.5.egg/genshi/output.py", line 519, in call

for kind, data, pos in stream:

File "/usr/local/lib/python2.5/site-packages/Genshi-0.4.4-py2.5.egg/genshi/output.py", line 691, in call

text = escape(pop_text(), quotes=False)

File "/usr/local/lib/python2.5/site-packages/Genshi-0.4.4-py2.5.egg/genshi/core.py", line 405, in escape

text = unicode(text).replace('&', '&amp;') \

UnicodeDecodeError: 'ascii' codec can't decode byte 0xec in position 2: ordinal not in range(128) Trac[chrome] DEBUG: Prepare chrome data for request 127.0.0.1 - - [29/Oct/2007 18:16:41] "GET /aide/blog HTTP/1.1" 500

Change History (0)

Note: See TracTickets for help on using tickets.