Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#2377 closed defect (fixed)

installing plugins on windows.

Reported by: cpanelapache@… 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 anonymous, 18 years ago

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.

comment:2 by Christopher Lenz, 18 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 anonymous, 18 years ago

Owner: changed from Jonas Borgström to anonymous
Status: newassigned

comment:4 by anonymous, 18 years ago

Resolution: fixed
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain anonymous.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from anonymous to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.