Or maybe TRAC_ENV is not defined?Anyway, here is what git push produces. (The push succeeds, but the post-receive-hook stuff isn't executed.)
emote: Traceback (most recent call last):
remote: File "/project/cmucl/public_html/git/trac-post-receive-hook.3.py", line 193, in <module>
remote: env = open_environment(TRAC_ENV)
remote: File "build/bdist.linux-x86_64/egg/trac/env.py", line 875, in open_environment
remote: File "build/bdist.linux-x86_64/egg/trac/core.py", line 124, in __call__
remote: File "build/bdist.linux-x86_64/egg/trac/env.py", line 284, in __init__
remote: File "build/bdist.linux-x86_64/egg/trac/env.py", line 640, in setup_config
remote: File "build/bdist.linux-x86_64/egg/trac/env.py", line 672, in setup_log
remote: File "build/bdist.linux-x86_64/egg/trac/log.py", line 27, in logger_handler_factory
remote: File "/usr/lib/python2.7/logging/__init__.py", line 901, in __init__
remote: StreamHandler.__init__(self, self._open())
remote: File "/usr/lib/python2.7/logging/__init__.py", line 924, in _open
remote: stream = open(self.baseFilename, self.mode)
remote: IOError: [Errno 13] Permission denied: u'/project/cmucl/trac/log/trac.log'
To ssh://rtoy@common-lisp.net/var/git/projects/cmucl/cmucl.git--On Wed, Sep 24, 2014 at 8:01 PM, Raymond Toy <toy.raymond@gmail.com> wrote:I just tried to push a commit to the cmucl repo and got an error from cmucl's post-receive-hook.I think it's complaining that /project/cmucl/trac/log/trac.log has the wrong permissions. All of the backup logs are owned www-data.cmucl. But the current log is www-data.www-data. The actual permissions (rw-rw-r--) on the file seems to be ok, compared to the others.
--RayRay
_______________________________________________
Clo-devel mailing list
Clo-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/clo-devel