Opened 17 years ago
Closed 17 years ago
#3034 closed defect (invalid)
KeyError: u' :/' when attempting to view the blog handle main page
| Reported by: | Danny | Owned by: | osimons | 
|---|---|---|---|
| Priority: | normal | Component: | FullBlogPlugin | 
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.11 | 
Description
This error occurs when I visit /blog. I am using trac-0.11rc1 and python 2.4.
File "/home/lendor/python/lib/python2.4/site-packages/TracFullBlogPlugin-0.1-py2.4.egg/tracfullblog/templates/fullblog_macro_post.html", line 10, in <Expression u"wiki_to_html(context(post.resource), do_shorten and post.body[:blog_max_size] + ' ... ' \\\n          or post.body)">
  ${wiki_to_html(context(post.resource), do_shorten and post.body[:blog_max_size] + ' ... ' \
File "/home/lendor/python/lib/python2.4/site-packages/Trac-0.11rc1-py2.4.egg/trac/util/compat.py", line 130, in newfunc
  return func_(*(args + fargs), **dict(kwargs, **fkwargs))
File "/home/lendor/python/lib/python2.4/site-packages/Trac-0.11rc1-py2.4.egg/trac/wiki/formatter.py", line 1094, in format_to_html
  return HtmlFormatter(env, context, wikidom).generate(escape_newlines)
File "/home/lendor/python/lib/python2.4/site-packages/Trac-0.11rc1-py2.4.egg/trac/wiki/formatter.py", line 1053, in generate
  escape_newlines)
File "/home/lendor/python/lib/python2.4/site-packages/Trac-0.11rc1-py2.4.egg/trac/wiki/formatter.py", line 862, in format
  result = re.sub(self.wikiparser.rules, self.replace, line)
File "/home/lendor/python/lib/python2.4/sre.py", line 142, in sub
  return _compile(pattern, 0).sub(repl, string, count)
File "/home/lendor/python/lib/python2.4/site-packages/Trac-0.11rc1-py2.4.egg/trac/wiki/formatter.py", line 807, in replace
  replacement = self.handle_match(fullmatch)
File "/home/lendor/python/lib/python2.4/site-packages/Trac-0.11rc1-py2.4.egg/trac/wiki/formatter.py", line 800, in handle_match
  return external_handler(self, match, fullmatch)
File "__init__.py", line 61, in _replace
    Attachments (0)
Change History (5)
comment:1 Changed 17 years ago by
comment:2 Changed 17 years ago by
I'm not at work anymore, but I'll see what I can find out. It was working, to my knowledge as of the last blog post, and I'm pretty sure there were no comments. shrug.
comment:4 Changed 17 years ago by
Sorry there, I had forgotten. We eventually figured it out, it was due to a bug by the EmoticonsPlugin's parser. The error was entirely in their code, it just happened to be pulled up by the blog parser when it tried to access a blog page where there were emoticons.
My apologies for not ever replying on the matter.
-- Danny.
comment:5 Changed 17 years ago by
| Resolution: | → invalid | 
|---|---|
| Severity: | blocker → normal | 
| Status: | new → closed | 
Good thing you got it sorted. I get to close a ticket, so I'm happy :-)
Setting 'invalid' resolution as problem is not really related to this plugin.



Hmm. First question: the blog has been working, right? It is just suddenly a request to front page stopped working? The problem seems to be rendering of a specific blog post body, so could you go to
blog/archiveand try the various authors, categories and post links to see if you can identify a single post as problematic?If you can, go to
blog/edit/name-of-post(edit mode) and see if there is any content in the post body that looks problematic. If you can edit it to narrow it down that would be great.Anything to help narrow down this issue?