On Sat, 2006-03-25 at 07:47 -0500, Christopher Ness wrote: > Anyone know why "TracError" would not be found? > > >>> from trac.core import TracError > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File "/usr/lib/python2.3/site-packages/trac/core.py", line 19, in ? > from trac.util import TracError > File "/usr/lib/python2.3/site-packages/trac/util/__init__.py", line > 30, in ? > from trac.core import TracError > ImportError: cannot import name TracError > > > I'm running svn-1.3.x and trac-0.9-stable
No, you seem to be running a mix of code from 0.9-stable and trunk. The file "trac/util/__init__.py" was added in the trunk to create sub-"trac.util" modules, and TracError was moved into "trac.core". However with your mixture TracError is defined in neither "trac.core" or "trac.util" and they're both attempting to import it from each other. So, you'll need to clean up your installation to use *only* 0.9-stable code. -- Matthew Good <[EMAIL PROTECTED]> _______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
