Opened 8 years ago

Closed 8 years ago

Skittlish does not work on Trac 0.11

Reported by: Owned by: freesamael@… Danial Pearce normal SkittlishTheme normal theme 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.

Changed 8 years ago by Eric Shubert

skittlish errors on trac 0.11

comment:1 Changed 8 years ago by Eric Shubert

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 8 years ago by freesamael@…

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:3 Changed 8 years ago by anonymous

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

comment:4 Changed 8 years ago 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.

comment:5 Changed 8 years ago by oyvind@…

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">


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:6 Changed 8 years ago by JaeWook Choi

See #3180 fixes this.

comment:7 follow-up:  8 Changed 8 years ago by 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?

comment:8 in reply to:  7 Changed 8 years ago by 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 8 years ago by Danial Pearce

Resolution: → invalid new → closed

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 6 years ago by Adrian Fritz

Keywords: theme added; skittlish theme_info removed

Modify Ticket

Action
as closed The owner will remain Danial Pearce.
The resolution will be deleted. Next status will be 'reopened'.