Modify

Opened 7 years ago

Closed 7 years ago

#1883 closed defect (invalid)

TracForge as a global plugin doesn't find tracforge_project_index.cs

Reported by: mpalmer@… Owned by: coderanger
Priority: high Component: TracForgePlugin
Severity: major Keywords:
Cc: Trac Release: 0.10

Description

When there is a Tracforge plugin in $PREFIX/share/trac/plugins, attempting to view the project list results in the following error:

Python Traceback

Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 244, in dispatch
    req.display(template, content_type or 'text/html')
  File "/var/lib/python-support/python2.4/trac/web/api.py", line 358, in display
    data = self.hdf.render(template, form_token)
  File "/var/lib/python-support/python2.4/trac/web/clearsilver.py", line 290, in render
    template.parseFile(filename)
Error: Traceback (innermost last):
  File "csparse.c", line 283, in cs_parse_file()
  File "neo_hdf.c", line 1883, in hdf_search_path()
NotFoundError: Path tracforge_project_index.cs not found

The identical plugin placed in the plugins dir of the environment does not display this same error.

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by anonymous

  • Component changed from TracHacks to TracForgePlugin
  • Owner changed from athomas to coderanger

comment:2 Changed 7 years ago by anonymous

  • Resolution set to invalid
  • Status changed from new to closed

Turns out you need to enable tracforge.resources.* whenever you enable tracforge.admin.dispatch.*. Operator error.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.