Modify

Opened 6 years ago

Closed 5 years ago

Last modified 4 years ago

#3689 closed defect (invalid)

Skittlish does not work on Trac 0.11

Reported by: freesamael@… Owned by: tigris
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)

skittlish-0.11.err (6.9 KB) - added by shubes 6 years ago.
skittlish errors on trac 0.11

Download all attachments as: .zip

Change History (11)

Changed 6 years ago by shubes

skittlish errors on trac 0.11

comment:1 Changed 6 years ago by shubes

  • Trac 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.

comment:2 Changed 6 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 6 years ago by anonymous

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

comment:4 Changed 6 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 6 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">

...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:6 Changed 6 years ago by butterflow

See #3180 fixes this.

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

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 5 years ago by tigris

  • Resolution set to invalid
  • Status changed from new to 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 4 years ago by AdrianFritz

  • Keywords theme added; skittlish theme_info removed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.