Following up in case someone else runs into this.   The problem was that I 
previously skipped the deploy step when installing Trac.   The deploycommand 
creates the common and site folders, among other things.  

Here are my installation and configuration steps.  This is known to work 
with Trac .12.   Always consult the installation instructions for Trac and 
TracCkeditor plugin prior to and during installation to ensure you 
understand each command and step. 

(or if installing the prior 


*My steps*
(install Trac per above)
trac-admin /path/to/trac/ initenv
chown -R apache:apache /path/to/trac/
trac-admin /path/to/trac deploy /path/to/trac/deploy
trac-admin /path/to/trac permission add admin TRAC_ADMIN
htpasswd -c trac.htpasswd admin

vi /etc/httpd/conf.d/trac.conf

# The Location is the part after the host (<Location>) 
# you want to serve the Trac site
<Location /trac>
   SetHandler mod_python
   PythonHandler trac.web.modpython_frontend
   # "/path/to/svn/trac" is the folder you gave to trac-admin initenv 
   PythonOption TracEnv /path/to/trac
   # "/trac" is the same as the Location above
   PythonOption TracUriRoot /trac
   # "/tmp" should be some writable temporary directory
   SetEnv PYTHON_EGG_CACHE /tmp 
   # "trac" can be any string, but must be the same for all 
   # Trac instances on the same Apache install 
   PythonInterpreter trac
<Location /trac/login>
   AuthType Basic
   AuthName "Trac User"
   AuthUserFile /path/to/trac/conf/trac.htpasswd
   Require valid-user

# note - you may get away with using the standard easy_install program.  I 
needed 2.6 for my environment.

[linuxbox]# easy_install-2.6
Doing subversion checkout from to 
Processing trunk
Running -q bdist_egg --dist-dir 
zip_safe flag not set; analyzing archive contents...
CKIntegration 1.1dev is already the active version in easy-install.pth

Installed /usr/lib/python2.6/site-packages/CKIntegration-1.1dev-py2.6.egg
Processing dependencies for CKIntegration==1.1dev
Finished processing dependencies for CKIntegration==1.1dev

mkdir /path/to/trac/htdocs/js
chown -R apache:apache /path/to/trac/
svn checkout 
# downloading files...
Checked out revision 7632.

vi /path/to/trac/conf/trac.ini


code_styles = php, js, html, sql, default, xml
editor_type = full_integration
editor_source = site/js/ckeditor/ckeditor.js


service httpd reload
Log into Trac and create ticket.  The standard Wiki toolbar appears on top 
of the new CKEditor edit box.   Copying and pasting text from Word/HTML 
appears to work OK for the most part.  

Thanks to the developers for this handy plugin.  Hope these notes are 
th-users mailing list

Reply via email to