
Hello! As I mentioned earlier, I'm writing a weblog system using Nevow, and now I'm proud of announcing the availability of the first «official» alpha release, version A1A1. You can grab it here: - TGZ: http://code.connectical.net/nn-releases/bic/bic-A1A1.tar.gz - Combined TGZ, recommended (Bic A1A1, Pyramid A0A15, Formal 255-svn): http://code.connectical.net/nn-releases/pyramid+bic+formal-20060824.tar.gz (If you don't have Pyramid and/or Formal, and don't want to have extrawork downloading and installing them, I recommend using the second package.) As I stated in my previous message, any comments regarding the thing will be appreciated. I know there are some bugs, and that a lot of features are still missing but... it's alpha! :-P. Even so, I'm very happy with the result. Once installed somewhere in your $PYTHONPATH, make it work as follows: $ mkdir /tmp/bic $ cp bic.{tac,conf} /tmp/bic $ cd /tmp/bic && twistd -noy bic.tac Then point a web browser to http://localhost:3979 (administration at http://localhost:3979/login). By default, username and password are both «admin» (without the quotes). You can tune authentication by editing «bic.conf»: $ echo 'auth_plugin = passwd' >> bic.conf $ echo 'auth_params = filename:bic.passwd' >> bic.conf $ echo 'iamcool:mypassiscool' >> bic.passwd $ echo 'sheiscool:herpassiscool' >> bic.passwd Here you have a screenshot with someone logged in, with the default theme and english localization: http://img391.imageshack.us/img391/5949/bicadminencl9.jpg Finally, I would like to thank the one who pointed about using formal instead of formless, because I found formal to be somewhat nicer than the other one ;-) Also, the recent thread regarding nevow.guard was useful because it helped me understand how does it work, so I was able of using nevow.guard to add authentication. Cheers, P.S: If this list is not suitable for announcements like this, just let me know, I don't want to be unpolite ;-) -- Adrian Perez "Experience is what you get when you don't get what you want" -- (Dan Stanford)

Pages can't see /style/default/main.css , so they are very poor Did I make installation error? Regards Alessandro

On Sun, 27 Aug 2006 01:57:38 +0200 Alessandro <aleuser@inwind.it> wrote:
Pages can't see /style/default/main.css , so they are very poor Did I make installation error?
Mmmh, is there any message/error in the server log? Did you run the server from the source directory or from another place? Maybe it's my fault because I didn't make much tests outside the source tree... I will check if there is some problem with setup.py, maybe resources are not being copied where they belong. But that will be tomorrow, is time to sleep now ;-) BTW, thanks for your -- Adrian Perez "Experience is what you get when you don't get what you want" -- (Dan Stanford)

On 8/27/06, Alessandro <aleuser@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)
participants (2)
-
Adrian Perez
-
Alessandro