Opened 9 years ago
Closed 8 years ago
#12665 closed defect (fixed)
Workflow admin page does not appear
Reported by: | sthainzl | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | MultipleWorkflowPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 1.0 |
Description
Installed the plugin (v 1.3.1) according to instructions, but the admin page does not appear.
Attachments (0)
Change History (7)
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
Thanks for the quick response!
Here is the relevant bit of the log:
2016-02-11 05:10:30,474 Trac[loader] DEBUG: Loading MultipleWorkflowPAdminModule from /media/mmc/trac/plugins/MultipleWorkflowPlugin-1.3.1-py2.7.egg 2016-02-11 05:10:30,566 Trac[loader] ERROR: Skipping "MultipleWorkflowPAdminModule = multipleworkflow.web_ui": Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/trac/loader.py", line 68, in _load_eggs entry.load(require=True) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load ['__name__']) File "build/bdist.linux-armv7l/egg/multipleworkflow/web_ui.py", line 24, in <module> ImportError: cannot import name get_workflow_config_default 2016-02-11 05:10:30,567 Trac[loader] DEBUG: Loading MultipleWorkflowPlugin from /media/mmc/trac/plugins/MultipleWorkflowPlugin-1.3.1-py2.7.egg
comment:3 Changed 9 years ago by
Further background:
- install was done using easy_install
- Trac is 1.0.2
Note that I have moved the .egg off the easy_install location because my system volume is quite small. That gave me no issues so far.
Thank you!
comment:4 Changed 9 years ago by
Seems line 24 of web_ui.py
needs to be stripped off the get_workflow_config_default
.
Will try that tomorrow morning and report back.
comment:5 Changed 9 years ago by
Removing get_workflow_config_default
from web_ui.py
line 24 makes the admin panel appear. It however falls over if one tries to select the default workflow, because this needs the routine to be available.
Custom workflows work as expected.
get_workflow_config_default
was removed from workflow.py
with the last commit, but I did not get to the bottom whether that was intended and web_ui.py
is missing some changes, or get_workflow_config_default
should not have been deleted from workflow.py
.
Hope this helps.
comment:6 Changed 8 years ago by
Owner: | changed from Cinc-th to Ryan J Ollos |
---|---|
Status: | new → accepted |
You need to have TICKET_ADMIN permission to see the admin page. Or TRAC_ADMIN of course.
If it's not a permission problem: