Opened 20 years ago
Closed 20 years ago
#2377 closed defect (fixed)
installing plugins on windows.
| Reported by: | Owned by: | anonymous | |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | general | Version: | 0.9 |
| Severity: | normal | Keywords: | plugins, windows plugins, installing plugins |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
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
Attachments (0)
Change History (4)
comment:1 by , 20 years ago
comment:2 by , 20 years ago
This is weird… there is no load_component() function in trac.loader anymore.
Maybe you have stale files lying around from 0.9-pre that haven't be updated?
comment:3 by , 20 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:4 by , 20 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |



im also running trac on windows and it seems trac stops working when i install setup tools, does any one on the trac development team have any kind of insight on this coz its starting to get really annoying.