Hi,  
   
I installed trac 0.9.4 from sources on a SUSE 9.0 machine, this works now 
really nice :-)  
Then I carefully copied *everything* which was installed to another SUSE  
9.0 machine (which is the actual server and doesn't have development  
tools etc.).  
Now on this machine I get the following error when trac tries to list the  
available projects:    
 
 test1: Error   
  ('module' object has no attribute 'AvailableDistributions')  
   
 "AvailableDistributions" appears only in one place in trac/loader.py,  
 line 99:  
  if hasattr(pkg_resources, 'Environment'):  
  ...  
  else:  
    # setuptools < 0.6  
    distributions = pkg_resources.AvailableDistributions([plugins_dir] \  
                                                      + sys.path)  
   
   
In /usr/lib/python2.3/site-packages I see setuptools-0.6a6-py2.3.egg, so  
we actually shouldn't get there (I think).  
   
I have the impression that there is somethign wrong with pkg_resources  
which comes from setuptools.  
It seems it neither has "Environment" nor "AvailableDistributions".   
   
So, any idea what may have gone wrong during installation ?  
   
Thanks in advance  
Alex  

-- 
Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to