Re: should I code against the current release or the 0.96rc?

2007-07-31 Thread Jose Galvez
Well I've definitely got a deadline to make this week. What I'm afraid of is that this project will grow and the migration will be that much more difficult. however if I build it on 0.96 now then I'll have to install one of release candidates. Not sure how stable rc2 is for real use or for that

unit test: g not registered with thread

2007-07-31 Thread aaaron
team pylons-- we have some admin processes that run on top of pylons (share model, ini, etc) but run outside of any request context. these processes make use of the g app_globals var (g holds a ref to a memcache client). in unit tests, when i try to access g outside the scope of a request, i get

Re: should I code against the current release or the 0.96rc?

2007-07-31 Thread Christoph Haas
On Mon, Jul 30, 2007 at 11:30:43PM -0700, Jose Galvez wrote: Well I've definitely got a deadline to make this week. What I'm afraid of is that this project will grow and the migration will be that much more difficult. Indeed. The API has changed a bit (to the better) and I would suggest you

Re: 0.9.6rc: No templates directory

2007-07-31 Thread Christoph Haas
On Tue, Jul 31, 2007 at 10:39:47AM +0200, Christoph Haas wrote: Is it a bug that the templates directory is missing with the 0.9.6rc Pylons template? Creating it (mkdir) and putting Mako templates into it works perfectly though. So the basic Mako configuration is okay. Just figured that it's

Re: should I code against the current release or the 0.96rc?

2007-07-31 Thread Max Ischenko
On 7/31/07, Jose Galvez [EMAIL PROTECTED] wrote: Well I've definitely got a deadline to make this week. What I'm afraid of is that this project will grow and the migration will be that much more difficult. however if I build it on 0.96 now then I'll have to install one of release

Re: Toscawidgets and Pylons0.9.6rc1

2007-07-31 Thread Alberto Valverde
On Jul 27, 2007, at 12:25 PM, Dominik Neumann wrote: Hello, i'm trying to get the Toscawidgets example running with pylons 0.9.6rc1. The only part not working for me is in middleware: def extra_vars(): return dict( py_c=pylons.c._current_obj(),

Re: Javascript in Pylons for ToscaWidgets with Mako

2007-07-31 Thread Alberto Valverde
On Jul 17, 2007, at 1:13 AM, BruceC wrote: Hi all...I posted this in the ToscaWidget discussion board, (http:// groups.google.com/group/toscawidgets-discuss/browse_thread/thread/ c2250165e832c1a?hl=en) but in some ways it's more of a Pylons question, so I thought I'd ask the question here

Re: Javascript text editor.

2007-07-31 Thread Ian Bicking
David Geller wrote: No question that this editor is in the early stages, and needs more work and refinement. But I like it's simplicity. Certainly, if you want a full-featured slick editor that does just about anything, something like xinha might really fill the bill. But if you want to

Re: Javascript text editor.

2007-07-31 Thread David Geller
No question that this editor is in the early stages, and needs more work and refinement. But I like it's simplicity. Certainly, if you want a full-featured slick editor that does just about anything, something like xinha might really fill the bill. But if you want to limit what a user can

Re: Pylons 0.9.6rc1 fails to start helloworld project: Lookup error

2007-07-31 Thread Mekk
I also faced this error while trying tutorial on my debian (mostly testing with some unstable). The problem can be caused by too old setuptools. Some details: 1) I easy_installed pylons, then created project as in the tutorial 2) App refused to start exactly as above 3) I noticed that the

nosetests output

2007-07-31 Thread Carlo Sogono
I'm getting a lot more errors than Shift-PgUp could view. Is there a way to redirect stdout/stderr to a file? Normal redirection doesn't work. Thanks, Carlo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: nosetests output

2007-07-31 Thread Jonathon Anderson
What do you mean, normal redirection doesn't work? nosetests file.log That should always work. It's just part of 'nix. ~jon On Jul 31, 9:37 pm, Carlo Sogono [EMAIL PROTECTED] wrote: I'm getting a lot more errors than Shift-PgUp could view. Is there a way to redirect stdout/stderr to a

Re: nosetests output

2007-07-31 Thread Uwe C. Schroeder
but only if you're using a csh derived shell nosetests log 21 if memory serves me, for a normal shell (sh, or bash) Uwe On Tuesday 31 July 2007, Jonathon Anderson wrote: What do you mean, normal redirection doesn't work? nosetests file.log That should always work. It's just part of

Re: nosetests output

2007-07-31 Thread Carlo Sogono
Uwe C. Schroeder wrote: but only if you're using a csh derived shell nosetests log 21 Pfft. I'm such a twat. I was doing: nosetests 21 log All good now. Thanks! Carlo if memory serves me, for a normal shell (sh, or bash) Uwe On Tuesday 31 July 2007, Jonathon Anderson wrote:

Re: nosetests output

2007-07-31 Thread Jonathon Anderson
That's true. The syntax is different, but I was referring to the ability to redirect stdout/stderr. On 8/1/07, Uwe C. Schroeder [EMAIL PROTECTED] wrote: but only if you're using a csh derived shell nosetests log 21 if memory serves me, for a normal shell (sh, or bash) Uwe On Tuesday