Ryan J Ollos skrev 05. jan. 2010 09:43:
> I think that I just setup to run tracd, which as I understand does not
> involve apache?
> 

No, it does not -- I was unsure what you had tried with tracd.

> However, when I install a plugin, I still get the error below.
> 
> I installed the development environment to ~/tracdev and started tracd as
> specified in the wiki page.  I assume that I'm getting this error because
> the python egg cache is outside of the virtualenv that I setup, namely
> ~/tracdev.
> 
> I'm guessing that what I need to do is specify that the egg cache is written
> within ~/tracdev/.
> 
> Does that make any sense?
> 
> [Errno 13] Permission denied:
> '/home/rjollos/.python-eggs/TracDeveloper-0.2-py2.6.egg-tmp'
> 
> The Python egg cache directory is currently set to:
> 
>   /home/rjollos/.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. 

That error doesn't make much sense to me ... unless you've hit sudo by
accident, and /home/rjollos/.python-eggs is owned by root ?

I just ran through the steps outlined in [1] now; and found I had to
init the virtualenv without global site packages, and locally upgrade
setuptools in the virtualenv:

virtualenv --no-site-packages trac
cd trac/
. bin/activate
# Attempted to build trac, but having problems with dependencies

# Optional install yolk, for some easier python package management:
easy_install yolk
yolk -U # Look for packages with updates on pypi
# Upgrade setuptools:
easy_install setuptools

# Run trough build-process for trac/genshi, set up trac etc.

After giving anonymous TRAC_ADMIN rights, I could now build a bdist_egg
of the tracdev-plugin and install the resulting egg via the web-admin gui.


Hope that helps.


Perhaps --no-site-packages should be added to the wiki ? I have a bit of
a hodgepodge system more-or-less running debian/testing (squeeze) -- so
my problems with packages might not be entirely representative...


Best regards,

[1]
http://trac.edgewall.org/wiki/TracDev/DevelopmentEnvironmentSetup#Settinguptheenvironment


-- 
 .---.  Eirik Schwenke <[email protected]>
( NSD ) Harald HÃ¥rfagresgate 29            Rom 150
 '---'  N-5007 Bergen            tlf: (555) 889 13

  GPG-key at pgp.mit.edu  Id 0x8AA3392C

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to