You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Using gitpython from within a mod_wsgi web app results in the following exception when trying to commit:
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 forgetlogin()
to succeed a previous call tosetlogin()
must have been made). Perhaps the problem is in mod_wsgi running in daemon mode. Either way, a more robustget_user_id()
function would be nice.A non-portable solution:
These could also be helpful:
http://defect.opensolaris.org/bz/show_bug.cgi?id=3595
http://www.agmweb.ca/blog/andy/2172/ (comment by Graham Dumpleton)
The text was updated successfully, but these errors were encountered: