id summary reporter owner description type status priority component severity resolution keywords cc release 9157 ValueError: Cannot process flags argument with a compiled pattern (when displaying markdown) peerst Douglas Clifton "Just installed the extension and when trying it out (with a ticket that contains the example on the MarkdownMacro page I get the following error: {{{ File ""/var/tmp/trac-test/egg-cache/Trac-0.12.2-py2.7.egg-tmp/trac/ticket/templates/ticket_box.html"", line 77, in ${wiki_to_html(context, ticket.description, escape_newlines=preserve_newlines)} File ""build/bdist.freebsd-8.2-RELEASE-amd64/egg/trac/wiki/formatter.py"", line 1497, in format_to_html return HtmlFormatter(env, context, wikidom).generate(escape_newlines) File ""build/bdist.freebsd-8.2-RELEASE-amd64/egg/trac/wiki/formatter.py"", line 1452, in generate escape_newlines) File ""build/bdist.freebsd-8.2-RELEASE-amd64/egg/trac/wiki/formatter.py"", line 1201, in format self.handle_code_block(line, block_start_match) File ""build/bdist.freebsd-8.2-RELEASE-amd64/egg/trac/wiki/formatter.py"", line 1091, in handle_code_block processed = self.code_processor.process(code_text) File ""build/bdist.freebsd-8.2-RELEASE-amd64/egg/trac/wiki/formatter.py"", line 304, in process text = self.processor(text) File ""build/bdist.freebsd-8.2-RELEASE-amd64/egg/trac/wiki/formatter.py"", line 291, in _macro_processor text) File ""build/bdist.freebsd-8.2-RELEASE-amd64/egg/Markdown/macro.py"", line 60, in expand_macro return markdown(sub(LINK, convert, content)) File ""/usr/local/lib/python2.7/re.py"", line 151, in sub return _compile(pattern, flags).sub(repl, string, count) File ""build/bdist.freebsd-8.2-RELEASE-amd64/egg/Markdown/macro.py"", line 51, in convert I).groups()[0] File ""/usr/local/lib/python2.7/re.py"", line 142, in search return _compile(pattern, flags).search(string) File ""/usr/local/lib/python2.7/re.py"", line 237, in _compile raise ValueError('Cannot process flags argument with a compiled pat System Information: User Agent: Mozilla/5.0 (Macintosh; PPC Mac OS X 10_5_8) AppleWebKit/534.50.2 (KHTML, like Gecko) Version/5.0.6 Safari/533.22.3 Trac 0.12.2 Babel 0.9.6 Docutils 0.8 Genshi 0.6 Mercurial 1.9.1 Pygments 1.4 pysqlite 2.6.0 Python 2.7.2 (default, Sep 2 2011, 10:31:59) [GCC 4.2.1 20070719 [FreeBSD]] pytz 2011g setuptools 0.6c11 SilverCity 0.9.7 SQLite 3.7.7.1 jQuery 1.4.2 Enabled Plugins: TracMarkdownMacro 0.11.1 /var/tmp/trac-test/plugins/TracMarkdownMacro-0.11.1-py2.7.egg TracMercurial 0.12.0.28dev-r10784 /var/tmp/trac-test/plugins/TracMercurial-0.12.0.28dev_r10784-py2.7.egg }}} " defect closed normal MarkdownMacro normal fixed Steffen Hoffmann 0.12