On Sat, Aug 28, 2010 at 10:38 PM, Dean Gardiner <[email protected]>wrote:
> When installing a plugin after uploading finishes this message is > displayed. > > I've tried changing permissions, changing python_egg_cache directory. > But after removing plugin from "plugins/" directory everything works > perfectly. > > I've tried alot of different cache directory's: > > /root/.python_egg > /tmp > /usr/local/lib/python2.7/python_egg_cache > All returning same results. > How/where did you do this? describe the steps. > Error Message: > =========================================== > Traceback (most recent call last): > File "/usr/local/lib/python2.7/site-packages/Trac-0.11-py2.7.egg/ > trac/web/api.py", line 339, in send_error > 'text/html') > File "/usr/local/lib/python2.7/site-packages/Trac-0.11-py2.7.egg/ > trac/web/chrome.py", line 683, in render_template > template = self.load_template(filename, method=method) > File "/usr/local/lib/python2.7/site-packages/Trac-0.11-py2.7.egg/ > trac/web/chrome.py", line 659, in load_template > self.templates = TemplateLoader(self.get_all_templates_dirs(), > File "/usr/local/lib/python2.7/site-packages/Trac-0.11-py2.7.egg/ > trac/web/chrome.py", line 406, in get_all_templates_dirs > dirs += provider.get_templates_dirs() > File "/var/repositories/_web/trac/xxxxxxxxx/plugins/ > TracDownloader-0.1-trac-0.11.egg/tracdownloader/web_ui.py", line 706, > in get_templates_dirs > return [resource_filename(__name__, 'templates')] > File "build/bdist.linux-i686/egg/pkg_resources.py", line 882, in > resource_filename > self, resource_name > File "build/bdist.linux-i686/egg/pkg_resources.py", line 1352, in > get_resource_filename > return self._extract_resource(manager, zip_path) > File "build/bdist.linux-i686/egg/pkg_resources.py", line 1359, in > _extract_resource > manager, os.path.join(zip_path, name) > File "build/bdist.linux-i686/egg/pkg_resources.py", line 1406, in > _extract_resource > manager.extraction_error() # report a user-friendly error > File "build/bdist.linux-i686/egg/pkg_resources.py", line 928, in > extraction_error > raise err > ExtractionError: Can't extract file(s) to egg cache > > The following error occurred while trying to extract file(s) to the > Python egg > cache: > > [Errno 20] Not a directory > > The Python egg cache directory is currently set to: > > /usr/local/lib/python2.7/python_egg_cache > Check permissions for all folders up to /python_egg_cache to be sure /usr /usr/local /usr/local/lib /usr/local/lib/python2.7 /usr/local/lib/python2.7/python_egg_cache btw seems like an odd place for the egg_cache? > > Perhaps your account does not have write access to this directory? > You can > change the cache directory by setting the PYTHON_EGG_CACHE environment > variable to point to an accessible directory. > > Python Version: > =========================================== > Python 2.7 (r27:82500, Aug 28 2010, 22:33:52) > [GCC 3.4.6 20060404 (Red Hat 3.4.6-11)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > > Trac Version: > =========================================== > tracd 0.11 > > OS Version: > =========================================== > Linux xxxxxxx.xxxxxxxxxxxxxx.xxx 2.6.18-93.cc4 #1 SMP Mon Aug 11 > 20:37:16 EDT 2008 i6 > > -- > 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]<trac-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/trac-users?hl=en. > > -- 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.
