Ticket #3689 (new defect)

Opened 3 months ago

Last modified 2 months ago

Skittlish does not work on Trac 0.11

Reported by: freesamael@gmail.com Assigned to: tigris
Priority: normal Component: SkittlishTheme
Severity: normal Keywords: skittlish theme_info
Cc: Trac Release: 0.11

Description

I'm using Trac0.11 on FreeBSD. I installed themeengine for Trac0.11 and skittlishtheme (by easy_install). In the trac.ini of my project, I set it as following:

[components]
themeengine.* = enabled
skittlishtheme.* = enabled

[theme]
theme = Skittlish
skittlish_color = violet

And then restart apache, but the theme does not work. It shows a long error message when I open the Trac webpage. I tried to use other themes for Trac0.11 such as pydotorgtheme, they work perfectly, but Skittlish does not work. The error message is attached below. Help someone can help me to solve the problem.

Attachments

skittlish-0.11.err (6.9 kB) - added by shubes on 09/10/08 18:29:14.
skittlish errors on trac 0.11

Change History

09/10/08 18:29:14 changed by shubes

  • attachment skittlish-0.11.err added.

skittlish errors on trac 0.11

09/10/08 18:33:45 changed by shubes

  • release changed from 0.10 to 0.11.

I'm getting errors as well with trac v0.11 on CentOS5. The other 3 themes (CMTeknik, CrystalX, PyDotOrg) all work well. I'm not proficient enough with python (yet) to debug this. Let me know if I can be of any help getting this working. I'm eager to see what it looks like!

I've attached a file containing errors.

09/10/08 21:03:24 changed by freesamael@gmail.com

I'm sorry for that I post this ticket for 4 times. It shows an error message saying that I have too many external link in the post when I pressed submit, so I guess it was failed and tried for 4 times.

09/13/08 23:38:28 changed by anonymous

I'm getting the same error. Running trac 0.11 on Ubuntu Server.

09/16/08 06:40:52 changed by anonymous

yes, Same here, I also get an error as soon as I try to enable to skittlish theme on my trac 0.11 installation.

09/16/08 11:50:30 changed by oyvind@selbek.com

A quick fix is to open up theme file, templates/skittlish_theme.html and simply replace the entire expression that fails with your color scheme of choice, say violet:

Line 7 in the file:

<body py:match="body" py:attrs="select('@*')" class="fluid ${chrome['theme_info']['color']}">

...then becomes...

<body py:match="body" py:attrs="select('@*')" class="fluid violet">

...tada! :)

The easiest way to get the source is directly from SVN:

svn co http://trac-hacks.org/svn/skittlishtheme/0.11 skittlishtheme
cd skittlishtheme
(modify the templates/skittlish_theme.html file using your fav editor)
python setup.py install

09/26/08 14:08:49 changed by butterflow

See #3180 fixes this.


Add/Change #3689 (Skittlish does not work on Trac 0.11)




Change Properties
Action