Modify

Opened 14 years ago

Closed 9 years ago

#7004 closed defect (worksforme)

Plugins don't appear in Webadmin

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

Description (last modified by Ryan J Ollos)

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:

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@… 14 years ago.
Egg for CustomSelectAdmin plugin
TracCondFields-1.0-py2.5.egg (47.2 KB) - added by siddharth.umrani@… 14 years ago.
Egg for CondFields plugin
TracTicketChainedFields-0.1-py2.5.egg (15.1 KB) - added by siddharth.umrani@… 14 years ago.
Egg for TracTicketChainedFields plugin

Download all attachments as: .zip

Change History (9)

Changed 14 years ago by siddharth.umrani@…

Egg for CustomSelectAdmin plugin

Changed 14 years ago by siddharth.umrani@…

Egg for CondFields plugin

Changed 14 years ago by siddharth.umrani@…

Egg for TracTicketChainedFields plugin

comment:1 Changed 14 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 14 years ago by anonymous

Severity: majorblocker

comment:3 Changed 14 years ago by dmcr@…

Trac Release: 0.110.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:4 Changed 9 years ago by Ryan J Ollos

In 14530:

Reimporting plugin from PyPI. Refs #7004.

comment:5 Changed 9 years ago by Ryan J Ollos

Description: modified (diff)

comment:6 Changed 9 years ago by Ryan J Ollos

Resolution: worksforme
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jimmy Theis.
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.