Check your setuptools version.

--Noah

On Jun 2, 2009, at 5:22 PM, David Siedband wrote:

> Hi,
>
> I'm trying to install a new trac environment on a debian machine
>
> When I run
>
> sudo trac-admin /var/lib/trac/myenviron initenv
>
> I get an error about
> Failed to create environment. 'WorkingSet' object has no attribute  
> 'find_plugins'
>
> What's going wrong here?
>
> Here's the complete traceback:
>
> ===============
> Creating and Initializing Project
> Initenv for '/var/lib/trac/nautilus' failed.
>  Failed to create environment.
> 'WorkingSet' object has no attribute 'find_plugins'
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/ 
> admin/console.py", line 568, in do_initenv
>     options=options)
>   File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/ 
> env.py", line 185, in __init__
>     load_components(self, plugins_dir and (plugins_dir,))
>   File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/ 
> loader.py", line 109, in load_components
>     loadfunc(env, search_path, auto_enable=plugins_dir)
>   File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/ 
> loader.py", line 39, in _load_eggs
>     distributions, errors = working_set.find_plugins(
> AttributeError: 'WorkingSet' object has no attribute 'find_plugins'
> Initenv for '/var/lib/trac/nautilus' failed.
>  1
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/ 
> admin/console.py", line 573, in do_initenv
>     sys.exit(1)
> SystemExit: 1
> ===============
>
> Thanks,
>
> --
> David Siedband
>
> Open Source Software Developer
> Founder, Zentraal, Inc.
>
> http://zentraal.com
> Plone/Zope/Python Consultancy
>
>
>
>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to