1 Sep 2006 11:21
Re: [Release] Bic A1A1
Adrian Perez <moebius.lists <at> gmail.com>
2006-09-01 09:21:24 GMT
2006-09-01 09:21:24 GMT
On 8/27/06, Alessandro <aleuser <at> inwind.it> wrote: > Pages can't see /style/default/main.css , so they are very poor > Did I make installation error? I found the problem, it was my fault: the resource which is under /style/default is determined by the contents of the "bic_style_name" cookie or, if not defined, by the contents of the "style" variable in the configuration file. The problem was that I thought IRequest(ctx).getCookie() would raise KeyError instead of returning None when the cookie is not set. It was a small fix, thanks a lot for your report. I attached the patch, but I hope to upload a new tarball soon, along with some more improvements I¡m working on.Feel free to track the code with Bzr, http://code.connectical.net/bic is the URL where I publish the main development branch. BTW, support for setting the cookie which controls the style is on the code, but nowhere in the web interface yet. Just access any page adding "?style=3Dfoo" as query string at the end of the URL. -- Adrian Perez "Experience is what you get when you don't get what you want" -- (Dan Stanford)
_______________________________________________ Twisted-web mailing list(Continue reading)

But, I'll take what I can get and hack the rest somehow.
-- Naked
RSS Feed