[knowledgeforge-user] Problems creating new trac service

Jonathan Gray jonathan.gray at okfn.org
Sun Nov 29 21:23:52 UTC 2009

Oops spoke to soon! I now get the error below when trying to configure
trac with svn repository...


Sorry, the following problems prevented your edits from being saved.

    * System error: Error initialising environment:
initenv sussexcentre-tasks sqlite:db/trac.db svn
: Traceback (most recent call last): File
"/mnt/backup/home/kforge/knowledgeforge.net-0.17/bin/trac-admin", line
8, in <module> load_entry_point('Trac==0.11.5', 'console_scripts',
'trac-admin')() File
"/usr/lib/python2.5/site-packages/pkg_resources.py", line 318, in
load_entry_point File
"/usr/lib/python2.5/site-packages/pkg_resources.py", line 2221, in
load_entry_point File
"/usr/lib/python2.5/site-packages/pkg_resources.py", line 1954, in
load "EntryPoint must be in 'name=module:attrs [extras]' format", File
line 30, in <module> from trac import perm, util, db_default File
line 22, in <module> from trac.config import ExtensionOption,
OrderedExtensionsOption File
line 20, in <module> from trac.util.compat import set, sorted File
line 33, in <module> from trac.util.html import escape, unescape,
Markup, Deuglifier File
line 16, in <module> from genshi import Markup, escape, unescape File
line 32, in <module> File
line 544, in <module> File
line 7, in <module> File
line 4, in __bootstrap__ File
"/usr/lib/python2.5/site-packages/pkg_resources.py", line 882, in
resource_filename """ % (old_exc, cache_path) File
"/usr/lib/python2.5/site-packages/pkg_resources.py", line 1352, in
get_resource_filename stat = os.stat(real_path) File
"/usr/lib/python2.5/site-packages/pkg_resources.py", line 1373, in
_extract_resource if self.has_metadata(name): File
"/usr/lib/python2.5/site-packages/pkg_resources.py", line 962, in
get_cache_path os.chmod(tempname, mode) File
"/usr/lib/python2.5/site-packages/pkg_resources.py", line 928, in
extraction_error pkg_resources.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 13] Permission denied:
'/var/www/.python-eggs' The Python egg cache directory is currently
set to: /var/www/.python-eggs 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.

On Sun, Nov 29, 2009 at 1:22 PM, Jonathan Gray <jonathan.gray at okfn.org> wrote:
> Amazing - it works now! Thanks Rufus! :-)
> Jonathan
> On Sun, Nov 29, 2009 at 1:08 PM, Rufus Pollock <rufus.pollock at okfn.org> wrote:
>> 2009/11/28 Jonathan Gray <jonathan.gray at okfn.org>:
>>> I encounter the following error when trying to create a new trac service:
>>>  Sorry, the following problems prevented your service from being created.
>>>    * System error: [Errno 13] Permission denied:
>>> '/mnt/backup/home/kforge/etc/knowledgeforge.net_autogenerated.conf'
>>> Any ideas?
>> This is fixed. Any further problems let me know. Looks like requisite
>> write permissions for apache user got messed up during (or since) the
>> transition from one host to another.
>> Rufus
> --
> Jonathan Gray
> Community Coordinator
> The Open Knowledge Foundation
> http://www.okfn.org

Jonathan Gray

Community Coordinator
The Open Knowledge Foundation

More information about the knowledgeforge-user mailing list