Must myapp.egg-info folder be present to run?

2008-09-17 Thread mario ruggier
Hi, it seems that to run a pylons app the myapp.egg_info meta data folder must be present... when I checkout a new instance of the application, and try to run it (thus, without the myapp.egg_info folder present, as it is not under svn) and I try to run it I get the following exception:

Re: HEAD request and internal server error

2008-09-17 Thread Petr Kobalíček
Hi Graham, This looks like a workaround, but in the core I§m talking about exception when I also return . I don't understand why I can't react to HEAD request, because exception will be raised in all cases (no care if I return something or not). So the middleware is now best way, but it's hack

Error management

2008-09-17 Thread GustaV
Hi all! I'm working on a project with turbogears2, and my knowledge in pylons is not big... But it looks like you guys should be able help me : When I raise an exception in a controller (anything but HTTPException), the traceback is writen is the log and the response is redirected to the

Re: AuthKit 0.4 and custom login form: need an example

2008-09-17 Thread programmer.py
I think you need to set the user like so - # name = the user login name. request.environ['paste.auth_tkt.set_user'](name) Here's the documentation for that... ``environ['paste.auth_tkt.set_user'](userid, tokens='', user_data='')`` This sets a cookie that logs the user in. ``tokens``

Re: Must myapp.egg-info folder be present to run?

2008-09-17 Thread Ian Bicking
mario ruggier wrote: python setup.py egg_info running egg_info unrecognized .svn/entries format; skipping . writing requirements to myapp.egg-info/requires.txt writing myapp.egg-info/PKG-INFO writing top-level names to myapp.egg-info/top_level.txt writing dependency_links to

Which version of AuthKit to use?

2008-09-17 Thread RavenOak
Which version of AuthKit should I use with Pylons 0.9.6.2? Should I use the 0.4.0 release, or checkout some 0.4.1 version from SVN? I've seen some documentation refer to checking out r143... Thanks in advance. --Caitlyn --~--~-~--~~~---~--~~ You received this

session data not persisting

2008-09-17 Thread Richard Rosenberg
Hi all: I am having an issue with persisting session data. I am attempting to store a simple string HTTP_REFERER in to a session variable in the __before__ method of my base controller, like so: class BaseController(WSGIController): def __call__(self, environ, start_response):

Module import errors relating to site when using GAE SDK 1.1.3

2008-09-17 Thread Josh Heitzman
I just uninstalled GAE SDK 1.1.1 and installed 1.1.3 and when I tried to run my app I got the following error: File c:\Tools\GAE\google\appengine\tools\dev_appserver.py, line 1271, in LoadModuleRestricted description) File d:\Enlistments\Prototypes\webgamesbyjosh\site.py, line 74, in

Re: Module import errors relating to site when using GAE SDK 1.1.3

2008-09-17 Thread Mike Orr
On Wed, Sep 17, 2008 at 1:33 PM, Josh Heitzman [EMAIL PROTECTED] wrote: I just uninstalled GAE SDK 1.1.1 and installed 1.1.3 and when I tried to run my app I got the following error: File c:\Tools\GAE\google\appengine\tools\dev_appserver.py, line 1271, in LoadModuleRestricted

Re: Module import errors relating to site when using GAE SDK 1.1.3

2008-09-17 Thread Josh Heitzman
Well for the issue of not being able to find the site module, there a couple of things going on. First when FindPathHook in dev_appserver.py calls hook(path_entry) it gets the exception zipimport.ZipImportError: not a Zip file, so it may be that something somewhere (have a search running but

When using GAE locally, which site.py is supposed to be loaded?

2008-09-17 Thread Josh Heitzman
Your general one or the one in your project directly? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from

Re: HEAD request and internal server error

2008-09-17 Thread Petr Kobalíček
Thank you Philip, it's now working ! Best regards - Petr 2008/9/17 Philip Jenvey [EMAIL PROTECTED]: On Sep 16, 2008, at 1:57 AM, Petr Kobalíček wrote: Note, I read every document on internet related to pylons and HEAD, but I think problem is in pylons itself. I tried simple test like

Re: Module import errors relating to site when using GAE SDK 1.1.3

2008-09-17 Thread Josh Heitzman
Well, it turns out this just something wrong with GAE's SDK upgrade process. I uninstalled 1.1.1 before installing 1.1.3, but apparently that isn't good enough, as you need to delete what's left in the directly as well. I figured that out by restoring my hard drive to an earlier image,