A possible explanation might be that since apache/mod_wsgi are not started by a login shell, no call to setlogin() has been made (in order for getlogin() to succeed a previous call to setlogin() must have been made). Perhaps the problem is in mod_wsgi running in daemon mode. Either way, a more robust get_user_id() function would be nice.
Thank you very much for your detailed report ! Your amendments and comments will be of great help when fixing this !
However, I will not be able to get back to GitPython before January next year, and until then all issues have to wait.
In the meanwhile, If you find the time to provide a fix, I will be glad to merge it into 0.3x before that date.
Cheers,
Sebastian
Activity
Byron commented on Dec 1, 2011
Hi Georgi,
Thank you very much for your detailed report ! Your amendments and comments will be of great help when fixing this !
However, I will not be able to get back to GitPython before January next year, and until then all issues have to wait.
In the meanwhile, If you find the time to provide a fix, I will be glad to merge it into 0.3x before that date.
Cheers,
Sebastian
Byron commented on Jun 7, 2012
I think this is fixed with #43.
Fixes a weird ioctl error on Travis (Precise)