Modify

Opened 7 years ago

Closed 7 years ago

#13174 closed defect (fixed)

When the Warden is active but there's no trac.ini entry, Trac throws an error "no section: 'kis_warden'

Reported by: chuchurocket27 Owned by: Jon Ashley
Priority: normal Component: KeepInterfaceSimplePlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

I enabled all KIS functionality and did not have a [kis_warden] section in my trac.ini (because it would have been blank). Trac then errors:

NoSectionError: No section: 'kis_warden'

(This bug report is for the latest trunk build - did not attempt to use latest release 2.0 since there are features in the trunk build I'd like to use.)

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by Jon Ashley

Status: newaccepted

Thanks for that report. The fault was easy to reproduce.

I think it is now fixed on trunk in revision [16584].

comment:2 Changed 7 years ago by Ryan J Ollos

Configuration class is intended to be accessed through it's options method; accessing .parser directly is not advised and parser should probably be a private attribute. options will handle missing sections gracefully.

comment:3 Changed 7 years ago by Jon Ashley

In 16585:

Access the config object via its 'options' method.
re #13174

comment:4 Changed 7 years ago by Jon Ashley

Resolution: fixed
Status: acceptedclosed

Fixed in [16643].

Modify Ticket

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