Opened 15 years ago
Closed 10 years ago
#7004 closed defect (worksforme)
Plugins don't appear in Webadmin
Reported by: | Owned by: | Jimmy Theis | |
---|---|---|---|
Priority: | normal | Component: | CustomSelectAdminPlugin |
Severity: | blocker | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description (last modified by )
Hi,
Am running Trac with the following:
- Debian (5.0.4)
- Apache (2.2.9)
- Python (2.5.2)
- python-apache binding (3.3.1)
- Trac (0.11.1).
And trying to add the following plugins to my installation:
- CustomSelectAdmin v0.5 (http://trac-hacks.org/wiki/CustomSelectAdminPlugin),
- CondFields r7848 (http://trac-hacks.org/wiki/CondFieldsPlugin) and
- TracTicketChainedFields r7863 (http://trac-hacks.org/wiki/TracTicketChainedFieldsPlugin)
Followed these steps:
- I created eggs for all of the above on the debain machine (where Trac is running) and put them in the plugins directory of my project (eggs attached).
- Then in the [components] sections of trac.ini added
CustomSelectAdmin.* = enabled condfields.* = enabled tcf.* = enabled
- Also added (FIELDNAME).panel = (PANELTITLE) to ticket field with type 'select' in the [ticket-custom] section of trac.ini (for the CustomSelectAdmin plugin).
- Then restarted Apache.
But cannot see those plugins under the 'Plugins' section of the 'Admin' tab of my Trac installation (Logged in as user who has TRAC-ADMIN permissions). Also the log files of either Apache or Trac (with log level = DEBUG) do not show any error messages.
Could anyone please suggest any fix or alternative to this issue, since i have tried all i could using documentation on the web. Thanks !
Attachments (3)
Change History (9)
Changed 15 years ago by
Attachment: | CustomSelectAdmin-0.5-py2.5.egg added |
---|
Changed 15 years ago by
Attachment: | TracTicketChainedFields-0.1-py2.5.egg added |
---|
Egg for TracTicketChainedFields plugin
comment:1 Changed 15 years ago by
Just checked the trac.log file and found the following entries:
2010-04-20 11:43:29,336 Trac[loader] DEBUG: Loading CustomSelectAdmin from /usr/lib/python2.5/site-packages/trac/projects/development/plugins/CustomSelectAdmin-0.5-py2.5.egg 2010-04-20 11:43:29,337 Trac[loader] ERROR: Skipping "CustomSelectAdmin = CustomSelectAdmin": (can't import "No module named customselectadmin")
comment:2 Changed 15 years ago by
Severity: | major → blocker |
---|
comment:3 Changed 14 years ago by
Trac Release: | 0.11 → 0.12 |
---|
A fix (but maybe not "the" fix) is to unzip CustomSelectAdmin-0.5-py2.5.egg, delete admin.pyc (if present), and rename admin.py to customselectadmin.py .
The plugin now works, but there are a few shortcomings with it:
1) The plugin is listed as CustomSelectAdmin.customselectadmin in the Admin Plugins panel.
2) You can't do everything from the Admin panels: setting the <name>.panel value still has to be done from trac.ini, so Trac Admins have to have login access to the Trac server to use this plugin, and this is not always desirable or possible.
3) This plugin insists on setting a default value for the custom field, even if you have not set one, or you remove the one it sets for you.
It is otherwise a nice feature to have.
Dennis McRitchie
comment:5 Changed 10 years ago by
Description: | modified (diff) |
---|
comment:6 Changed 10 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
The version on GitHub works correctly: github:trac-hacks/CustomSelectAdmin.
Egg for CustomSelectAdmin plugin