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, WebHelpers=1.0,

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

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,

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

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

Re: Porting a Pylons app to Akhet

2011-03-12 Thread Mike Orr
On Sat, Mar 12, 2011 at 12:43 PM, Jonathan Vanasco jonat...@findmeon.com wrote: I think pyramid_simpleform is the easiest. Yes, pyramid_simpleform is the migration path for @validate. -- Mike Orr sluggos...@gmail.com -- You received this message because you are subscribed to the Google

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:

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 awais1...@googlemail.comwrote: Hi, Thanks I will read into it more. I assumed it

Re: ImportError: no module named schema

2011-03-12 Thread Mike Orr
On Sat, Mar 12, 2011 at 9:08 AM, Chris McDonough chr...@plope.com 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

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 installs

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 sluggos...@gmail.com wrote: On Sat, Mar 12, 2011 at 12:43 PM, Jonathan Vanasco jonat...@findmeon.com wrote: I think pyramid_simpleform is the easiest. Yes, pyramid_simpleform is the migration path for @validate. --

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 whalb...@gmail.com wrote: a screencast would do a lot better mike. On Mar 12, 11:11 pm, Mike Orr sluggos...@gmail.com wrote: On Sat, Mar 12, 2011 at

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