id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release 3149,NameError: global name 'get_path_rev_line' is not defined,wbranderson@…,Sebastian Marek,"When attempting to change a ticket's ""cc:"" fields and close the ticket, I obtained the following error. The PeerReview plugin is making the last call (where the error occurs, but I understand that the call is originating from the autoquery plugin. If this issue is in the autoquery plugin, please let me know and I will post the ticket there. Anyway, the error reported by Trac is the ticket summary: ""NameError: global name 'get_path_rev_line' is not defined"" The traceback is below. File ""C:\Python24\lib\site-packages\autoquery-0.1.2-py2.4.egg\autoquery\templates\autoquery_ticket.html"", line 72, in ${wiki_to_html(context, change.comment, escape_newlines=preserve_newlines)} File ""c:\python24\lib\site-packages\Trac-0.11rc1-py2.4.egg\trac\util\compat.py"", line 130, in newfunc return func_(*(args + fargs), **dict(kwargs, **fkwargs)) File ""c:\python24\lib\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 ""c:\python24\lib\site-packages\Trac-0.11rc1-py2.4.egg\trac\wiki\formatter.py"", line 1053, in generate escape_newlines) File ""c:\python24\lib\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 ""C:\Python24\lib\sre.py"", line 142, in sub return _compile(pattern, 0).sub(repl, string, count) File ""c:\python24\lib\site-packages\Trac-0.11rc1-py2.4.egg\trac\wiki\formatter.py"", line 807, in replace replacement = self.handle_match(fullmatch) File ""c:\python24\lib\site-packages\Trac-0.11rc1-py2.4.egg\trac\wiki\formatter.py"", line 803, in handle_match return internal_handler(match, fullmatch) File ""c:\python24\lib\site-packages\Trac-0.11rc1-py2.4.egg\trac\wiki\formatter.py"", line 374, in _lhref_formatter return self._make_link(ns, target, match, label) File ""c:\python24\lib\site-packages\Trac-0.11rc1-py2.4.egg\trac\wiki\formatter.py"", line 381, in _make_link escape(label, False)) File ""build\bdist.win32\egg\codereview\peerReviewBrowser.py"", line 285, in _format_link I am running: User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 Trac: 0.11rc1 Python: 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)] setuptools: 0.6c7 SQLite: 3.4.0 pysqlite: 2.3.5 Genshi: 0.5dev-r855 Subversion: 1.4.2 (r22196) jQuery: 1.2.3 Any help in resolving the issue would be appreciated! Brett",defect,closed,normal,PeerReviewPlugin,normal,fixed,get_path_rev_line not defined error,,0.11