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. *Trac* http://trac.edgewall.org/wiki/TracInstall (or http://trac.edgewall.org/wiki/0.12/TracInstall if installing the prior version) *CkeditorPlugin* http://trac-hacks.org/wiki/CkEditorPlugin *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 (http://example.com<Location>) that # 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 earlier 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> <Location /trac/login> AuthType Basic AuthName "Trac User" AuthUserFile /path/to/trac/conf/trac.htpasswd Require valid-user </Location> # note - you may get away with using the standard easy_install program. I needed 2.6 for my environment. easy_install-2.6 http://trac-hacks.org/svn/ckeditorplugin/trunk [linuxbox]# easy_install-2.6 http://trac-hacks.org/svn/ckeditorplugin/trunk Downloading http://trac-hacks.org/svn/ckeditorplugin/trunk Doing subversion checkout from http://trac-hacks.org/svn/ckeditorplugin/trunk to /tmp/easy_install-uvp5bO/trunk Processing trunk Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-uvp5bO/trunk/egg-dist-tmp-HXJTbO 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 [linuxbox]# mkdir /path/to/trac/htdocs/js chown -R apache:apache /path/to/trac/ svn checkout http://svn.ckeditor.com/CKEditor/releases/stable /www/virtualhosts/trac/htdocs/js/ckeditor # downloading files... Checked out revision 7632. vi /path/to/trac/conf/trac.ini {ADD} [ckeditor] code_styles = php, js, html, sql, default, xml editor_type = full_integration editor_source = site/js/ckeditor/ckeditor.js {:wq SAVE AND QUIT} 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 helpful.
_______________________________________________ th-users mailing list th-users@lists.trac-hacks.org https://lists.trac-hacks.org/mailman/listinfo/th-users