:!strace paster serve development.ini

This will print a lot of debug info, but, if it hangs, you should be
able to see where it pauses. Maybe even prepend with script or append
2>/logfile until you get a trace that breaks. (I can't recall if
strace writes to stdout or stderr, if stderr, the 2> redirect would
work, if not, you would need to run typescript)

If it doesn't happen frequently, it might be difficult. What I've
found strange at times is that paster appears to actually scan the
filesystem which requires Time Machine's drive to spin up as it is a
local resource). Once in a while while opening a tab when Chrome does
autocompletion that matches something where I've done a //file/
asdfsadf, it'll do the same.

Alternatively, Command-T, cd /into/your/virtualenv, source bin/
activate  paster serve --reload development.ini  :)

-- 
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.

Reply via email to