Hello!
First of all, thank you for Trac.
I have set up Trac 0.95 according to the instructions for enabling
multiple trac projects/environments, and I have installed setuptools and
used it to install the WebAdmin plugin egg centrally under site-packages.
Unfortunately, the plugin only shows up for one of the two sites for which
it is listed as enabled in the trac.ini.
I get the following error in the error_log:
/usr/lib/python2.3/site-packages/trac/loader.py:73: UserWarning: Module
webadmin was already imported from
/var/trac/manitobia/plugins/TracWebAdmin-0.1.1dev_r2765-py2.3.egg/webadmin/__init__.py,
but /var/trac/env/plugins/TracWebAdmin-0.1.1dev_r2765-py2.3.egg is being
added to sys.path
egg.activate()
I am wondering if anyone can give me advice as to what I may be doing wrong.
The configuration details follow.
Thanks in advance!
Regards,
Syd
section of /etc/httpd/conf.d/ssl.conf with Trac settings:
<Location /projects>
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir /var/trac
PythonOption TracUriRoot /projects
SetEnv PYTHON_EGG_CACHE /var/www/html/trac-cache
AuthType Basic
AuthName "LibITS Trac Server"
AuthUserFile /path/to/userauth/file
Require valid-user
</Location>
Both trac.ini files contain this stanza:
[components]
webadmin.* = enabled
The diff between them is below:
diff -u /var/trac/env/conf/trac.ini /var/trac/manitobia/conf/trac.ini
--- /var/trac/env/conf/trac.ini 2006-04-26 16:37:27.000000000 -0500
+++ /var/trac/manitobia/conf/trac.ini 2006-04-26 16:42:57.000000000 -0500
@@ -2,16 +2,16 @@
ignore_missing_pages = false
[header_logo]
-src = site/cXi.png
-height = 235
-width = 167
-link = https://serenity.uwinnipeg.ca/projects/env
-alt = LibITS
+src = common/trac_banner.png
+alt = Trac
+height = 73
+link = http://trac.edgewall.com/
+width = 236
[logging]
log_file = trac.log
log_level = DEBUG
-log_type = file
+log_type = none
[trac]
default_charset = iso-8859-15
@@ -23,25 +23,25 @@
default_handler = WikiModule
metanav = login,logout,settings,help,about
mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search
-repository_dir = /var/svn/repository
+repository_dir = /var/svn/manitobia
[notification]
-always_notify_owner = true
+always_notify_owner = false
smtp_always_cc =
smtp_password =
-smtp_enabled = true
-smtp_replyto = [EMAIL PROTECTED]
+smtp_enabled = false
+smtp_replyto = [EMAIL PROTECTED]
smtp_port = 25
always_notify_reporter = false
-smtp_from = [EMAIL PROTECTED]
smtp_server = localhost
+smtp_from = [EMAIL PROTECTED]
smtp_user =
[project]
-name = LibITS Projects
-descr = Library Information Technology Services Projects
-footer = Visit the Trac open source project at<br /><a
href="http://trac.edgewall.com/">http://trac.edgewall.com/</a>
-url = https://serenity.uwinnipeg.ca/projects/env
+url = http://example.com/
+footer = Visit the Trac open source project at<br /><a
href="http://trac.edgewall.com/">http://trac.edgewall.com/</a>
+name = Manitobia Project
+descr = My example project
icon = common/trac.ico
[mimeviewer]
@@ -52,7 +52,7 @@
[attachment]
render_unsafe_content = false
-max_size = 524288
+max_size = 262144
[components]
webadmin.* = enabled
@@ -64,7 +64,7 @@
[ticket]
default_version =
-default_component = trac-setup
+default_component = component1
default_type = defect
restrict_owner = false
default_milestone =
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac