Mac OS - pserve exits without any errors

31 views
Skip to first unread message

Marc Winoto

unread,
Jan 29, 2015, 10:18:01 PM1/29/15
to pylons-...@googlegroups.com
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?

Tres Seaver

unread,
Jan 30, 2015, 10:56:30 AM1/30/15
to pylons-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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 tse...@palladion.com
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-----

Reply all
Reply to author
Forward
0 new messages