Opened 7 years ago

Closed 22 months ago

#7004 closed defect (worksforme)

Plugins don't appear in Webadmin

Reported by: siddharth.umrani@… Owned by: jetheis
Priority: normal Component: CustomSelectAdminPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.12

Description (last modified by rjollos)


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:

Followed these steps:

  1. 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).
  1. Then in the [components] sections of trac.ini added
    CustomSelectAdmin.* = enabled
    condfields.* = enabled
    tcf.* = enabled
  1. Also added (FIELDNAME).panel = (PANELTITLE) to ticket field with type 'select' in the [ticket-custom] section of trac.ini (for the CustomSelectAdmin plugin).
  1. 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)

CustomSelectAdmin-0.5-py2.5.egg (8.3 KB) - added by siddharth.umrani@… 7 years ago.
Egg for CustomSelectAdmin plugin
TracCondFields-1.0-py2.5.egg (47.2 KB) - added by siddharth.umrani@… 7 years ago.
Egg for CondFields plugin
TracTicketChainedFields-0.1-py2.5.egg (15.1 KB) - added by siddharth.umrani@… 7 years ago.
Egg for TracTicketChainedFields plugin

Download all attachments as: .zip

Change History (9)

Changed 7 years ago by siddharth.umrani@…

Egg for CustomSelectAdmin plugin

Changed 7 years ago by siddharth.umrani@…

Egg for CondFields plugin

Changed 7 years ago by siddharth.umrani@…

Egg for TracTicketChainedFields plugin

comment:1 Changed 7 years ago by siddharth.umrani@…

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 7 years ago by anonymous

  • Severity changed from major to blocker

comment:3 Changed 7 years ago by dmcr@…

  • Trac Release changed from 0.11 to 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 to .

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:4 Changed 22 months ago by rjollos

In 14530:

Reimporting plugin from PyPI. Refs #7004.

comment:5 Changed 22 months ago by rjollos

  • Description modified (diff)

comment:6 Changed 22 months ago by rjollos

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

The version on GitHub works correctly: github:trac-hacks/CustomSelectAdmin.

Add Comment

Modify Ticket

as closed The owner will remain jetheis.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.