On 5/23/07, Max Ischenko <[EMAIL PROTECTED]> wrote: > On 5/23/07, Shannon -jj Behrens <[EMAIL PROTECTED]> wrote: > > > > "/usr/lib/python2.4/site-packages/Paste-1.3-py2.4.egg/paste/registry.py", > > > line 177, in _current_obj > > > raise TypeError( > > > TypeError: No object (name: Buffet) has been registered for this thread > > > > > > Same kind of error I got if I run render() in make_app. > > > > I'm sorry, I may have been confused. I still might be ;) Can you > > setup a cron job to use wget to access the site and save the generated > > HTML as flat files for use "the rest of the time"? Does that make any > > sense, or am I still misunderstanding the problem? > > Well, it may work, thanks for the idea! > > But it's still a hack: I'll have to write a special controller that will > return the html snippets I need.. Why I can't use Buffet API directly and > resort to HTTP?
It seems that every framework fails to work very well if you don't at least pretend to be doing a full request. I know Aquarium, my framework, was the same way. Of course, you don't *actually* need to use HTTP. You can use Paste fixture to fake it. Best Regards, -jj -- http://jjinux.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
