I am getting really weird, seemingly random glitches from the Pydoc plugin.
Things like it will say that no documentation is found for a file, but if I refresh a few times it might show me the docs, and then go back to "not found" the next time I load the page.
Below is a traceback from on of the common errors. This error will also sometimes show up on a wiki page if I have used a [pydoc:] link on it.
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 206, in handler
dispatch_request(mpr.path_info, mpr, env)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 107, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.4/site-packages/trac/wiki/web_ui.py", line 116, in process_request
self._render_view(req, db, page)
File "/usr/lib/python2.4/site-packages/trac/wiki/web_ui.py", line 364, in _render_view
req.hdf['wiki.page_html'] = wiki_to_html(page.text, self.env, req)
File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 744, in wiki_to_html
Formatter(env, req, absurls, db).format(wikitext, out, escape_newlines)
File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 599, in format
result = re.sub(self.rules, self.replace, line)
File "/usr/lib/python2.4/sre.py", line 142, in sub
return _compile(pattern, 0).sub(repl, string, count)
File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 221, in replace
return getattr(self, '_' + itype + '_formatter')(match, fullmatch)
File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 290, in _lhref_formatter
return self._make_link(ns, target, match, label)
File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 295, in _make_link
util.escape(label, False))
File "build/bdist.linux-i686/egg/tracpydoc/tracpydoc.py", line 322, in _pydoc_formatter
File "build/bdist.linux-i686/egg/tracpydoc/tracpydoc.py", line 195, in load_object
File "/var/www/gopetsdev/head/snofight/main.py", line 3, in ?
import pygame, sys
File "/usr/lib/python2.4/site-packages/pygame/__init__.py", line 71, in ?
Color = color.Color
NameError: name 'color' is not defined