Re: Porting a Pylons app to Akhet

2011-03-12 Thread Mike Orr
It's just that I'm already spending five days writing and programming. Doing a webcast would be significant work on top of that because I'd have to plan a program, run and test it, figure out which software to use (on Kubuntu), see if that program will recognize my webcam (amsn does so half the tim

Re: Porting a Pylons app to Akhet

2011-03-12 Thread Mike Orr
Demanding today, aren't we? I've never made a screencast so it may be a long time before I make one. On Sat, Mar 12, 2011 at 9:09 PM, Mengu wrote: > a screencast would do a lot better mike. > > On Mar 12, 11:11 pm, Mike Orr wrote: >> On Sat, Mar 12, 2011 at 12:43 PM, Jonathan Vanasco >> >> wrot

Re: Porting a Pylons app to Akhet

2011-03-12 Thread Mengu
a screencast would do a lot better mike. On Mar 12, 11:11 pm, Mike Orr wrote: > On Sat, Mar 12, 2011 at 12:43 PM, Jonathan Vanasco > > wrote: > > I think pyramid_simpleform is the easiest. > > Yes, pyramid_simpleform is the migration path for @validate. > > -- > Mike Orr -- You received this

Re: ImportError: no module named schema

2011-03-12 Thread Marius Gedminas
On Sat, Mar 12, 2011 at 03:47:02PM -0800, Mike Orr wrote: > I got a similar problem with Ubuntu 10.10. It seems that namespace > packages (which zope is) can't be split between the global > site-packages and the virtualenv. Kubuntu installs some Zope packges > by default, and somehow when Pip insta

Re: ImportError: no module named schema

2011-03-12 Thread Mike Orr
On Sat, Mar 12, 2011 at 9:08 AM, Chris McDonough wrote: > On Thu, 2011-03-10 at 13:14 -0800, pmorrow wrote: >> Followed the installation instructions for Pyramid 1.0, but when >> executing the simple first app described at this link >> >> http://docs.pylonsproject.org/projects/pyramid/1.0/narr/fir

Re: Help with creating view functions

2011-03-12 Thread Michael Merickel
That error is telling me that you have a bug in your mako template... probably referencing a variable that you forgot to pass in (thus it is undefined). Michael On Sat, Mar 12, 2011 at 4:33 PM, AwaisMuzaffar wrote: > > Hi, > > Thanks I will read into it more. I assumed it was the same thing. >

Re: Help with creating view functions

2011-03-12 Thread AwaisMuzaffar
Hi, Thanks I will read into it more. I assumed it was the same thing. I have also tried: def blog_view(request): variable = 'hello world' return render_to_respomse('myblog:templates/pages/my-blog.mak', {'variable':variable}, request=request) And, I recieve the following error: URL: http

Re: Porting a Pylons app to Akhet

2011-03-12 Thread Mike Orr
On Sat, Mar 12, 2011 at 12:43 PM, Jonathan Vanasco wrote: > I think pyramid_simpleform is the easiest. Yes, pyramid_simpleform is the migration path for @validate. -- Mike Orr -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to thi

Re: Porting a Pylons app to Akhet

2011-03-12 Thread Jonathan Vanasco
I think pyramid_simpleform is the easiest. I forked it and added a method to handle form reprints. I think its in that sqla fork I shared with you too. if you stick to the following paradigm, it works well: def form_dispatch: if request.submit: return self._form_submit return se

Re: Help with creating view functions

2011-03-12 Thread Michael Merickel
What is the exact error? I noticed you're using @view_config on the blog_view that isn't working, with only a renderer argument. This makes me think that you might believe that code will do the same as render_to_response(..) in your pages_view. In fact, @view_config is a different way of doing co

Porting a Pylons app to Akhet

2011-03-12 Thread Mike Orr
On Fri, Mar 11, 2011 at 7:29 PM, Tjelvar wrote: > Hi, > > I've been developing a Pylons application over the past year or so. > The functionality has been implemented using examples from the Pylons > book. The application has over 20 controllers with more than six > functions each and makes use of

Re: ImportError: no module named schema

2011-03-12 Thread Chris McDonough
On Thu, 2011-03-10 at 13:14 -0800, pmorrow wrote: > Followed the installation instructions for Pyramid 1.0, but when > executing the simple first app described at this link > > http://docs.pylonsproject.org/projects/pyramid/1.0/narr/firstapp.html It sounds as if you may not have created your virt

ImportError: no module named schema

2011-03-12 Thread pmorrow
Followed the installation instructions for Pyramid 1.0, but when executing the simple first app described at this link http://docs.pylonsproject.org/projects/pyramid/1.0/narr/firstapp.html I get the following traceback. Any ideas what I might have done incorrectly? Thanks. Traceback (most rec

Re: Akhet status (Pyramid newbies and Carlos d.l.G., read me)

2011-03-12 Thread Tjelvar
Hi, I've been developing a Pylons application over the past year or so. The way the functionality is implemented is almost exclusively based on examples from the Pylons book. The applications contains over 20 controllers each with more than six functions and makes use of: "Pylons>=1.0", "SQLAlche

Re: Akhet status (Pyramid newbies and Carlos d.l.G., read me)

2011-03-12 Thread Tjelvar
Hi, I've been developing a Pylons application over the past year or so. The functionality has been implemented using examples from the Pylons book. The application has over 20 controllers with more than six functions each and makes use of: "Pylons>=1.0", "SQLAlchemy>=0.5,<=0.5.99", "Mako", "WebHel