Re: [Repoze-dev] [r.what] What adapter would be faster for you? (Testers needed)

2009-06-08 Thread Kless
Here you have the commands to get all installed and so run the tests: http://dpaste.com/hold/52771/ On 1 jun, 16:05, Gustavo Narea m...@gustavonarea.net wrote: Hi, everyone. The next version of repoze.what will ship benchmarking tools for its source adapters, so you could find what would be

Re: [Repoze-dev] [r.what] What adapter would be faster for you? (Testers needed)

2009-06-08 Thread Kless
* Benchmark results * Group results: * Results for action #1, starting by the fastest adapters: 1.- xml: 0.00114917755127 seconds average; total: 0.0114917755127 seconds. 2.- sqlite_memory: 0.00331170558929 seconds average; total: 0.0331170558929 seconds. 3.- sqlite_file:

Re: [Repoze-dev] [r.what] What adapter would be faster for you? (Testers needed)

2009-06-08 Thread Gustavo Narea
Thanks for the commands summary, Jonás! By the way, I have to say that the results for Redis should be better: http://groups.google.com/group/redis-db/browse_thread/thread/de8839d8fa1eecc8 Cheers, - Gustavo. Kless said: Here you have the commands to get all installed and so run the tests:

Re: [Repoze-dev] unifying url dispatch and traversal

2009-06-08 Thread Stephan Altmueller
I have solely focused on a routes-based app, so I don't know how much changes are involved when using traversal. But the proposed changes really clean up that part of the API. IMHO the needed changes are mostly superficial in that one has to change the signature of functions and maybe some ZCML.

Re: [Repoze-dev] unifying url dispatch and traversal

2009-06-08 Thread Chris Rossi
On Mon, Jun 8, 2009 at 10:19 AM, Stephan Altmueller step...@klaravision.com wrote: I would also like to throw in my suggestion for a function signature (based on Chris Rossi's): def context_factory(request, routes_match=None): I like that one. +1 Chris

[Repoze-dev] Timeouts for AuthTktCookie

2009-06-08 Thread Paul Johnston
Hi, I've put a patch on the ticket http://bugs.repoze.org/issue83 To avoid the issue of the default to set, and for backward-compatibility, this patch defaults to no timeout. Paul ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org

Re: [Repoze-dev] Problem of creating the BFG template

2009-06-08 Thread Chris McDonough
Please try to keep it on the list; thank you. On 6/8/09 3:47 AM, george hu wrote: I'm still getting errors, when I try to run ../bin/paster bfgshell .ini main I got Command'bfgshell' not known (you may need to run setup.py egg_info). The error persists after running setup.py egg_info.

Re: [Repoze-dev] Timeouts for AuthTktCookie

2009-06-08 Thread Chris McDonough
Thanks Paul, I applied this patch. - C On 6/8/09 10:56 AM, Paul Johnston wrote: Hi, I've put a patch on the ticket http://bugs.repoze.org/issue83 To avoid the issue of the default to set, and for backward-compatibility, this patch defaults to no timeout. Paul

Re: [Repoze-dev] Problem of creating the BFG template

2009-06-08 Thread george hu
I'm still having problem of using bfg_alchemy template. Now I'm able to run the project creating command (paster create -t bfg_alchemy). And then I switch to project directory and run python setup.py develop and it runs without issue. Then I run paster --plugin=repoze.bfg bfgshell

[Repoze-dev] [issue88] Autoreloading for repoze.bfg.jinja2

2009-06-08 Thread Sean Gillies
New submission from Sean Gillies sean.gill...@gmail.com: Autoreloading isn't supported in repoze.bfg.jinja2, but adding it was easy enough. Test included. -- messages: 235 nosy: sgillies priority: feature status: unread title: Autoreloading for repoze.bfg.jinja2 topic: repoze.bfg

[Repoze-dev] [issue88] Autoreloading for repoze.bfg.jinja2

2009-06-08 Thread Sean Gillies
Sean Gillies sean.gill...@gmail.com added the comment: New patch including loader which implements the mtime based reloading suggested in jinja2.loaders. And doctests. __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue88

[Repoze-dev] repoze.bitblt trims leading slash when transforming HTML

2009-06-08 Thread Damien Baty
Hello, I am trying to use repoze.bitblt and could not make it work when my HTML pages use absolute URLs _without_ FQDN, like /pics/23. For example, the following tag: img src=/pics/23 ... is transformed into: img src=pics/bitblt-.../23 ... Note that the leading slash has

Re: [Repoze-dev] Problem of creating the BFG template

2009-06-08 Thread Chris McDonough
On 6/8/09 1:12 PM, george hu wrote: And then I switch to project directory and run python setup.py develop and it runs without issue. Then I run paster --plugin=repoze.bfg bfgshell MyProject.ini main , it shows the following error: pkg_resources.DistributionNotFound: repoze.tm

Re: [Repoze-dev] Problem of creating the BFG template

2009-06-08 Thread george hu
Now the problem is gone. One question, the bfgshell command has changed to ..\scripts\paster --plugin=repoze.bfg bfgshell .ini alchemy what is the difference between main and alchemy parameter? On Mon, Jun 1, 2009 at 2:31 PM, george hu geo...@gmail.com wrote: When I run paster create -t

Re: [Repoze-dev] Problem of creating the BFG template

2009-06-08 Thread Chris McDonough
On 6/8/09 4:51 PM, george hu wrote: Now the problem is gone. Good, sorry about that. It was another bug. :-( I've fixed it in SVN. One question, the bfgshell command has changed to ..\scripts\paster --plugin=repoze.bfg bfgshell .ini alchemy what is the difference between main and

[Repoze-dev] BFG 0.9.1 / chameleon: render() takes exactly 1 non-keyword argument

2009-06-08 Thread Chris Shenton
I've been plugging along with a routes and SQL based app, with BFG 0.8.0. I just changed my buildout.cfg to get BFG 0.9.1 -- and any new versions of other packages -- but it's now throwing exceptions when trying to render. I've removed any *.py, *.pyc and *.cache files from my templates/ dir, but

Re: [Repoze-dev] BFG 0.9.1 / chameleon: render() takes exactly 1 non-keyword argument

2009-06-08 Thread Chris McDonough
On 6/8/09 7:10 PM, Chris Shenton wrote: I've been plugging along with a routes and SQL based app, with BFG 0.8.0. I just changed my buildout.cfg to get BFG 0.9.1 -- and any new versions of other packages -- but it's now throwing exceptions when trying to render. I've removed any *.py, *.pyc

[Repoze-dev] [issue88] Autoreloading for repoze.bfg.jinja2

2009-06-08 Thread admin
System message: __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue88 __ ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev

[Repoze-dev] [issue88] Autoreloading for repoze.bfg.jinja2

2009-06-08 Thread Sean Gillies
Sean Gillies sean.gill...@gmail.com added the comment: Okay, here's the latest patch. 100% test coverage and *much* less code. It works with the jinja2 environment, adjusting its auto_reload attribute to match the settings whenever get_source is called. __ Repoze

[Repoze-dev] [issue88] Autoreloading for repoze.bfg.jinja2

2009-06-08 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: I merged a modified version of your patch to the trunk, thanks Sean! -- status: chatting - resolved __ Repoze Bugs b...@bugs.repoze.org http://bugs.repoze.org/issue88 __