Modify

Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#3237 closed defect (fixed)

Skittlish theme plugin breaks the trac

Reported by: anonymous Owned by: Danial Pearce
Priority: high Component: SkittlishTheme
Severity: blocker Keywords:
Cc: Trac Release: 0.11

Description

After installing ThemeEnginePlugin and Skittlish theme then entering the following:

[theme]
theme = theme = Skittlish
skittlish_color = violet

I get the following error message and my trac breaks.

Traceback (most recent call last):
  File "c:\python25\lib\site-packages\Trac-0.11-py2.5.egg\trac\web\api.py", line 339, in send_error
    'text/html')
  File "c:\python25\lib\site-packages\Trac-0.11-py2.5.egg\trac\web\chrome.py", line 683, in render_template
    template = self.load_template(filename, method=method)
  File "c:\python25\lib\site-packages\Trac-0.11-py2.5.egg\trac\web\chrome.py", line 659, in load_template
    self.templates = TemplateLoader(self.get_all_templates_dirs(),
  File "c:\python25\lib\site-packages\Trac-0.11-py2.5.egg\trac\web\chrome.py", line 406, in get_all_templates_dirs
    dirs += provider.get_templates_dirs()
  File "build\bdist.win32\egg\themeengine\web_ui.py", line 29, in get_templates_dirs
    theme = self.system.theme
  File "build\bdist.win32\egg\themeengine\api.py", line 44, in theme
    raise TracError('Unknown theme %s'%self.theme_name)
TracError: Unknown theme theme = Skittlish

I installed other themes and they worked fine but this.

Attachments (0)

Change History (5)

comment:1 Changed 16 years ago by Alec Thomas

Component: TracHacksPluginSkittlishTheme
Owner: changed from Alec Thomas to Danial Pearce

Wrong component!

comment:2 Changed 16 years ago by Danial Pearce

Resolution: invalid
Status: newclosed

You have theme twice.

E.g.

theme = theme = Skittlish

Should be just

theme = Skittlish

comment:3 Changed 15 years ago by anonymous

Spelling mistake in bug report does not equal problem - I have this problem too.

comment:4 Changed 15 years ago by Ariel Balter

Resolution: invalid
Severity: criticalblocker
Status: closedreopened

I have same problem.

http://myotherstuff.org/share/skittlish_problem.txt

This should get fixed.

comment:5 Changed 15 years ago by anonymous

Resolution: fixed
Status: reopenedclosed

It's mentioned in the documentation, you need to apply the patch listed here http://trac-hacks.org/ticket/3180 to enable some of the functionality

Modify Ticket

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