[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...
J.
Sorry, the following problems prevented your edits from being saved.
* System error: Error initialising environment:
/mnt/backup/home/kforge/knowledgeforge.net-0.17/bin/trac-admin
/mnt/backup/home/kforge/knowledgeforge.net/var/project_data/sussexcentre/trac/234
initenv sussexcentre-tasks sqlite:db/trac.db svn
/mnt/backup/home/kforge/knowledgeforge.net/var/project_data/sussexcentre/svn/233
: 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
"/mnt/backup/home/kforge/knowledgeforge.net-0.17/lib/python2.5/site-packages/Trac-0.11.5-py2.5.egg/trac/admin/console.py",
line 30, in <module> from trac import perm, util, db_default File
"/mnt/backup/home/kforge/knowledgeforge.net-0.17/lib/python2.5/site-packages/Trac-0.11.5-py2.5.egg/trac/perm.py",
line 22, in <module> from trac.config import ExtensionOption,
OrderedExtensionsOption File
"/mnt/backup/home/kforge/knowledgeforge.net-0.17/lib/python2.5/site-packages/Trac-0.11.5-py2.5.egg/trac/config.py",
line 20, in <module> from trac.util.compat import set, sorted File
"/mnt/backup/home/kforge/knowledgeforge.net-0.17/lib/python2.5/site-packages/Trac-0.11.5-py2.5.egg/trac/util/__init__.py",
line 33, in <module> from trac.util.html import escape, unescape,
Markup, Deuglifier File
"/mnt/backup/home/kforge/knowledgeforge.net-0.17/lib/python2.5/site-packages/Trac-0.11.5-py2.5.egg/trac/util/html.py",
line 16, in <module> from genshi import Markup, escape, unescape File
"/mnt/backup/home/kforge/knowledgeforge.net-0.17/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/__init__.py",
line 32, in <module> File
"/mnt/backup/home/kforge/knowledgeforge.net-0.17/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/core.py",
line 544, in <module> File
"/mnt/backup/home/kforge/knowledgeforge.net-0.17/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/_speedups.py",
line 7, in <module> File
"/mnt/backup/home/kforge/knowledgeforge.net-0.17/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg/genshi/_speedups.py",
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
http://www.okfn.org
More information about the knowledgeforge-user
mailing list