Comment 18 for bug 805423

Till Klampaeckel (till-php) wrote :


I tried your code:

1. $USER doesn't seem to be set in this context so it runs regardless. ;-) At least it doesn't seem to be set during the login.

2. Whenever I add strace, it magically works – without, it defuncts.

I looked around further and it took me a while to figure this out – so the offending code in my case is in here:

and imports getProcessOutputAndValue from here:

I couldn't figure out how this would block, but essentially it looks like you could pass callbacks to the function which is currently not happending.

I was wondering if there is a way to debug this in Python. E.g. my skills are currently limited to putting "print" into files. But that doesn't work to well. ;-)