Edgewall Software
Modify

Ticket #4154 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

setup.py dosen't install prefs and search modules.

Reported by: anonymous Owned by: cmlenz
Priority: highest Milestone: 0.11
Component: general Version: devel
Severity: normal Keywords: setup.py
Cc: tdkim@…
Release Notes:
API Changes:

Description

Hi all.. I tested trac-trunk.

There are not prefs and search in setup.py

  • setup.py

     
    223223      license=LICENSE, 
    224224      url=URL, 
    225225      packages=['trac', 'trac.admin', 'trac.db', 'trac.mimeview', 
     226                'trac.prefs', 'trac.search', 
    226227                'trac.ticket', 'trac.timeline', 
    227228                'trac.upgrades', 'trac.util', 'trac.web', 
    228229                'trac.versioncontrol', 'trac.versioncontrol.web_ui', 

Thanks for trac...

Attachments

Change History

comment:1 Changed 5 years ago by anonymous

  • Cc tdkim@… added
  • Summary changed from tdkim@unimo.co.kr to setup.py dosen't have prefs, search..

comment:2 Changed 5 years ago by anonymous

which explains the pref.web_ui error?
In any case, broken somewhere after r4260

comment:3 Changed 5 years ago by tdkim@…

apache error message

PythonHandler trac.web.modpython_frontend: Traceback (most recent call last):
PythonHandler trac.web.modpython_frontend:   File "/usr/local/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch\n    result = object(req)
PythonHandler trac.web.modpython_frontend:   File "/usr/local/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 87, in handler\n    gateway.run(dispatch_request)
PythonHandler trac.web.modpython_frontend:   File "/usr/local/lib/python2.4/site-packages/trac/web/wsgi.py", line 87, in run\n    response = application(self.environ, self._start_response)
PythonHandler trac.web.modpython_frontend:   File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 384, in dispatch_request\n    env = _open_environment(env_path, run_once=environ['wsgi.run_once'])
PythonHandler trac.web.modpython_frontend:   File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 63, in _open_environment\n    env_cache[env_path] = open_environment(env_path)
PythonHandler trac.web.modpython_frontend:   File "/usr/local/lib/python2.4/site-packages/trac/env.py", line 459, in open_environment\n    env = Environment(env_path)
PythonHandler trac.web.modpython_frontend:   File "/usr/local/lib/python2.4/site-packages/trac/env.py", line 129, in __init__\n    load_components(self)
PythonHandler trac.web.modpython_frontend:   File "/usr/local/lib/python2.4/site-packages/trac/loader.py", line 140, in load_components\n    __import__(module)
PythonHandler trac.web.modpython_frontend: ImportError: No module named prefs.web_ui

This is a very simple problem.
When I install trac, setup.py doesn't install prefs and search modules.

comment:4 Changed 5 years ago by anonymous

  • Summary changed from setup.py dosen't have prefs, search.. to setup.py dosen't install prefs and search modules.

comment:5 Changed 5 years ago by cmlenz

  • Owner changed from jonas to cmlenz
  • Status changed from new to assigned

Oops, I did it again :-P

comment:6 Changed 5 years ago by cmlenz

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in [4275].

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from cmlenz. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.