#3689 closed defect (invalid)
Skittlish does not work on Trac 0.11
Reported by: | Owned by: | Danial Pearce | |
---|---|---|---|
Priority: | normal | Component: | SkittlishTheme |
Severity: | normal | Keywords: | theme |
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 (1)
Change History (11)
Changed 16 years ago by
Attachment: | skittlish-0.11.err added |
---|
comment:1 Changed 16 years ago by
Trac Release: | 0.10 → 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.
comment:2 Changed 16 years ago by
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.
comment:4 Changed 16 years ago by
yes, Same here, I also get an error as soon as I try to enable to skittlish theme on my trac 0.11 installation.
comment:5 Changed 16 years ago by
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
comment:7 follow-up: 8 Changed 16 years ago by
Due top bug in code window (longstanding) code is not visible in above post
Line 7 in the file: <scrollbar hides text, impossible to get at)
Perhaps use lineno instead to post code as it does not have this bug?
comment:8 Changed 16 years ago by
Replying to anonymous:
Due top bug in code window (longstanding) code is not visible in above post
Line 7 in the file: <scrollbar hides text, impossible to get at)
Perhaps use lineno instead to post code as it does not have this bug?
Tried to file this scrollbar bug with Trac project, but their new spam filter regards every ticket attempt as spam no matter what the content(!), AFAICS.
comment:9 Changed 16 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Please see above comments.
Either open the template and hard code your skittlish color choice in there, or apply the patch to ThemeEngine that is listed on the SkittlishTheme wiki page.
Skittlish is known to not work "out of the box" and is stated as so on the wiki page.
comment:10 Changed 14 years ago by
Keywords: | theme added; skittlish theme_info removed |
---|
skittlish errors on trac 0.11