[Trac-tickets] [The Trac Project] #2377: installing plugins on windows.

The Trac Project noreply at edgewall.com
Sat Nov 19 08:37:02 CST 2005


#2377: installing plugins on windows.
----------------------------------------------------------+-----------------
 Reporter:  cpanelapache at gmail.com                        |       Owner:  jonas
     Type:  defect                                        |      Status:  new  
 Priority:  highest                                       |   Milestone:       
Component:  general                                       |     Version:  0.9  
 Severity:  normal                                        |   Keywords:  plugins, windows plugins, installing plugins  |  
----------------------------------------------------------+-----------------
 Hey i have been trying to install plugins with trac, the thing is you say
 we first have to install setuptools, but this is what causes the problem.
 im running:
 ''
 windows xp sp2.
 trac o.9.
 python 2.3.5
 apache 2
 ''

 The problem i run ez_setup.py and install setuptools and restart the
 apache server,then when i go to my wiki. it says mod_python has failed, if
 i uninstall setup tools everything goes back to normal. Python gives the
 error listed below.
 {{{
 Mod_python error: "PythonHandler trac.web.modpython_frontend"

 Traceback (most recent call last):

   File "C:\server\Python\Lib\site-packages\mod_python\apache.py", line
 299, in HandlerDispatch
     result = object(req)

   File "C:\server\python\Lib\site-
 packages\trac\web\modpython_frontend.py", line 199, in handler
     env = get_environment(mpr, project_opts)

   File "C:\server\python\Lib\site-packages\trac\web\main.py", line 338, in
 get_environment
     return _open_environment(env_path, threaded)

   File "C:\server\python\Lib\site-packages\trac\web\main.py", line 51, in
 _open_environment
     env_cache[env_path] = open_environment(env_path)

   File "C:\server\python\Lib\site-packages\trac\env.py", line 374, in
 open_environment
     env = Environment(env_path)

   File "C:\server\python\Lib\site-packages\trac\env.py", line 85, in
 __init__
     from trac.loader import load_components

 ImportError: cannot import name load_component
 }}}

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2377>
The Trac Project <http://trac.edgewall.com/>


More information about the Trac-Tickets mailing list