Thanks. I set:
pygments_default_style = default
in trac.ini, which did the trick.

On Nov 7, 4:12 pm, "Noah Kantrowitz" <[EMAIL PROTECTED]> wrote:
> Try picking a color theme in your preferences.
>
> --Noah
>
> > -----Original Message-----
> > From: [email protected] [mailto:[EMAIL PROTECTED]
> > On Behalf Of mindelini
> > Sent: Friday, November 07, 2008 1:06 PM
> > To: Trac Users
> > Subject: [Trac] (No handler matched request to /pygments/.css)
>
> > I'm using Trac 0.11.1, and following the instructions here:
> >http://trac.edgewall.org/wiki/TracSyntaxColoring, I installed pygments
> > via: "easy_install pygments"
>
> > I chose a page in my svn repo to look at, and it is viewable, but with
> > no syntax highlighting. The request was to: /trac/browser/symfony/
> > trunk/apps/backend/templates/layout.php
>
> > So I upped the error logging to DEBUG and watched (pasted below). This
> > seems like the relavant liine to me:
> > 2008-11-07 15:48:29,480 Trac[main] WARNING: 404 Not Found (No handler
> > matched request to /pygments/.css
>
> > I did find the pygments files, they are here: /usr/share/doc/python-
> > genshi-0.5.1/doc/common/style/pygments.css
>
> > Anyone have any ideas where to go from here?
>
> > Thanks in advance.
>
> > 2008-11-07 15:48:28,997 Trac[main] DEBUG: Dispatching <Request "GET u'/
> > browser/symfony/trunk/apps/backend/templates/layout.php'">
> > 2008-11-07 15:48:29,003 Trac[chrome] DEBUG: Prepare chrome data for
> > request
> > 2008-11-07 15:48:29,010 Trac[browser] DEBUG: Rendering preview of node
> > [EMAIL PROTECTED] with mime-type text/x-php; charset=iso-8859-15
> > 2008-11-07 15:48:29,011 Trac[api] DEBUG: Trying to render HTML preview
> > using PygmentsRenderer [lineno]
> > 2008-11-07 15:48:29,012 Trac[session] DEBUG: Retrieving session for ID
> > u'adam'
> > 2008-11-07 15:48:29,411 Trac[main] DEBUG: 4882 unreachable objects
> > found.
> > 2008-11-07 15:48:29,448 Trac[main] DEBUG: Dispatching <Request "GET u'/
> > chrome/common/css/trac.css'">
> > 2008-11-07 15:48:29,451 Trac[main] DEBUG: Dispatching <Request "GET u'/
> > pygments/.css'">
> > 2008-11-07 15:48:29,451 Trac[main] DEBUG: Dispatching <Request "GET u'/
> > chrome/common/css/code.css'">
> > 2008-11-07 15:48:29,455 Trac[main] DEBUG: Dispatching <Request "GET u'/
> > chrome/common/css/browser.css'">
> > 2008-11-07 15:48:29,461 Trac[main] DEBUG: Dispatching <Request "GET u'/
> > chrome/common/js/jquery.js'">
> > 2008-11-07 15:48:29,465 Trac[main] DEBUG: 0 unreachable objects found.
> > 2008-11-07 15:48:29,474 Trac[main] DEBUG: 0 unreachable objects found.
> > 2008-11-07 15:48:29,477 Trac[main] DEBUG: 0 unreachable objects found.
> > 2008-11-07 15:48:29,478 Trac[svn_fs] DEBUG: Subversion bindings
> > imported
> > 2008-11-07 15:48:29,478 Trac[main] DEBUG: 0 unreachable objects found.
> > 2008-11-07 15:48:29,480 Trac[main] WARNING: 404 Not Found (No handler
> > matched request to /pygments/.css)
> > 2008-11-07 15:48:29,594 Trac[chrome] DEBUG: Prepare chrome data for
> > request
> > 2008-11-07 15:48:29,597 Trac[api] DEBUG: action controllers for ticket
> > workflow: ['ConfigurableTicketWorkflow']
> > 2008-11-07 15:48:29,601 Trac[session] DEBUG: Retrieving session for ID
> > u'ezra'
> > 2008-11-07 15:48:29,682 Trac[main] DEBUG: 1384 unreachable objects
> > found.
> > 2008-11-07 15:48:29,752 Trac[main] DEBUG: Dispatching <Request "GET u'/
> > chrome/common/js/trac.js'">
> > 2008-11-07 15:48:29,772 Trac[main] DEBUG: 0 unreachable objects found.
> > 2008-11-07 15:48:29,782 Trac[main] DEBUG: Dispatching <Request "GET u'/
> > chrome/common/js/search.js'">
> > 2008-11-07 15:48:29,804 Trac[main] DEBUG: 0 unreachable objects found.
> > 2008-11-07 15:48:29,818 Trac[main] DEBUG: Dispatching <Request "GET u'/
> > chrome/common/filife_logo.gif'">
> > 2008-11-07 15:48:29,829 Trac[main] DEBUG: Dispatching <Request "GET u'/
> > chrome/common/trac_logo_mini.png'">
> > 2008-11-07 15:48:29,834 Trac[main] DEBUG: Dispatching <Request "GET u'/
> > chrome/common/topbar_gradient.png'">
> > 2008-11-07 15:48:29,835 Trac[main] DEBUG: Dispatching <Request "GET u'/
> > chrome/common/dots.gif'">
> > 2008-11-07 15:48:29,836 Trac[main] DEBUG: Dispatching <Request "GET u'/
> > chrome/common/topbar_gradient2.png'">
> > 2008-11-07 15:48:29,844 Trac[main] DEBUG: 309 unreachable objects
> > found.
> > 2008-11-07 15:48:29,846 Trac[main] DEBUG: 0 unreachable objects found.
> > 2008-11-07 15:48:29,854 Trac[main] DEBUG: 0 unreachable objects found.
> > 2008-11-07 15:48:29,856 Trac[main] DEBUG: 0 unreachable objects found.
> > 2008-11-07 15:48:29,859 Trac[main] DEBUG: 0 unreachable objects found.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to