Opened 16 years ago

Last modified 13 years ago

#2978 closed defect

TaskListPlugin error while enabling it — at Version 2

Reported by: gabriel.scolan@… Owned by: John Hampton
Priority: normal Component: TaskListPlugin
Severity: normal Keywords:
Cc: zeph.gillen@… Trac Release: 0.11

Description (last modified by John Hampton)

I've tried to install the TaskListPlugin (see http://trac-hacks.org/wiki/TaskListPlugin) but I've got the following error message while enabling it:

Traceback (most recent call last):
  File "c:\python25\lib\site-packages\Trac-0.12dev_r6942-py2.5.egg\trac
\web\api.py", line 339, in send_error
    'text/html')
  File "c:\python25\lib\site-packages\Trac-0.12dev_r6942-py2.5.egg\trac
\web\chrome.py", line 683, in render_template
    template = self.load_template(filename, method=method)
  File "c:\python25\lib\site-packages\Trac-0.12dev_r6942-py2.5.egg\trac
\web\chrome.py", line 659, in load_template
    self.templates = TemplateLoader(self.get_all_templates_dirs(),
  File "c:\python25\lib\site-packages\Trac-0.12dev_r6942-py2.5.egg\trac
\web\chrome.py", line 406, in get_all_templates_dirs
    dirs += provider.get_templates_dirs()
  File "build\bdist.win32\egg\tasklist\main.py", line 200, in
get_templates_dirs
    from pkg_resources import resource_filename
SystemError: Parent module 'tasklist' not loaded

I'm using:

  • Trac -r6942
  • Genshi 0.5 from trunk -r847
  • setup tools setuptools-0.6c7-py2.5

I've configured the ini file as follow:

[tasklist]
tasklist_field = action_item
default_cols = summary,priority
default_query = 'status!=closed&owner=$USER'
default_anonymous_query = 'status!=closed&cc~=$USER'

[components]
tasklist.* = enabled

[ticket-custom]
action_item = text
action_item.label = Action Item 

Change History (2)

comment:1 Changed 16 years ago by anonymous

Trac Release: 0.100.11

comment:2 Changed 16 years ago by John Hampton

Description: modified (diff)
Status: newassigned

Cleaned up description formatting

Note: See TracTickets for help on using tickets.