-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/29/2015 10:18 PM, Marc Winoto wrote:
> Hi, I'm in Mac OS X Yosemite, running pserve in a virtualenv using
> python 2.7.6
> 
> When I run: pserve development.ini
> 
> inside my environment, it just exists without any errors, exceptions
> or logs. With verbose on, you can see it write out a .PID file and
> then immediately delete it. I've tried putting a debugger on my python
> to see if I can get some sort of exception, but there's no error.
> 
> The output of dtruss pserve development.ini is always slightly
> different.
> 
> Any ideas on how I would go about finding out what causes it to exit?

The "main" function for your app needs to return a WSGI application,
typically via:

      return config.make_wsgi_app()

or else the server will exit.



Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          [email protected]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAlTLqZ4ACgkQ+gerLs4ltQ5knQCeLKXMqXnJ8zNNoEblwnl7HhFD
BCEAn236YX+DEpR6iumbLPeFyCwbf86/
=Fokx
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to