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
I am having a problem with apache using mod_wsgi and python 3.6 on RedHat 7.2 using the gitpython package .... specifically the push ...
I get no errors ... the server that I am pushing to ... receives no push ... the result from the push is:
2018-06-08 13:03:17,584 - ProcessGit - INFO - push:[]
Documentaion states:
If the operation fails completely, the length of the returned IterableList will
be null."""
The same code on the same machine running through Flask runserver ... Works
2018-06-08 11:48:01,593 - ProcessGit - INFO - push:[<git.remote.PushInfo object at 0x7f1c3cf34518>]
Thanks for letting us know, and sorry to hear you are running into this!
This seems related to another issue (which I can't find it seems) which has similar problems. Currently the push implementation actively ignores errors in some cases.
This can and should be fixed, but help is required.
I ended up changing the git push to use pygit2 to do the push ... and it works ... there is something wrong with the way gitpython does a push under mod_wsgi
Hi -
I am having a problem with apache using mod_wsgi and python 3.6 on RedHat 7.2 using the gitpython package .... specifically the push ...
I get no errors ... the server that I am pushing to ... receives no push ... the result from the push is:
2018-06-08 13:03:17,584 - ProcessGit - INFO - push:[]
Documentaion states:
If the operation fails completely, the length of the returned IterableList will
be null."""
The same code on the same machine running through Flask runserver ... Works
2018-06-08 11:48:01,593 - ProcessGit - INFO - push:[<git.remote.PushInfo object at 0x7f1c3cf34518>]
The call that I am using is:
.....
#-> /usr/sbin/httpd -V
Server version: Apache/2.4.6 (Red Hat Enterprise Linux)
Server built: Sep 17 2015 09:06:30
Server's Module Magic Number: 20120211:24
Server loaded: APR 1.4.8, APR-UTIL 1.5.2
Compiled using: APR 1.4.8, APR-UTIL 1.5.2
Architecture: 64-bit
Server MPM: prefork
threaded: no
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/etc/httpd"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="/run/httpd/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
The text was updated successfully, but these errors were encountered: