Modify

Opened 10 years ago

Closed 10 years ago

#1883 closed defect (invalid)

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

Reported by: mpalmer@… Owned by: Noah Kantrowitz
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 10 years ago by anonymous

Component: TracHacksTracForgePlugin
Owner: changed from Alec Thomas to Noah Kantrowitz

comment:2 Changed 10 years ago by anonymous

Resolution: invalid
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.