--> --> -->
 
 
<type 'exceptions.IOError'>
Python 2.7.6: /usr/bin/python
Fri Oct 20 12:10:42 2017

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /data/moin/noSmokeMoinMoin/wiki/moin.cgi in ()
     13 sys.path.insert(0, '/data/moin/noSmokeMoinMoin')
     14 import cgitb; cgitb.enable()
     15 from MoinMoin import cgimain
=>   16 cgimain.run()
     17 
cgimain = <module 'MoinMoin.cgimain' from '/usr/local/lib/python2.7/dist-packages/MoinMoin/cgimain.py'>, cgimain.run = <function run>
 /usr/local/lib/python2.7/dist-packages/MoinMoin/cgimain.py in run(properties={})
    119     if not opened_logs:
    120         cgi.logfile = os.path.join(config.data_dir, 'cgi_log')
=>  121         sys.stderr = open(os.path.join(config.data_dir, 'err_log'), 'at')
    122         opened_logs = 1
    123 
sys = <module 'sys' (built-in)>, sys.stderr = <open file '<stderr>', mode 'w'>, builtin open = <built-in function open>, os = <module 'os' from '/usr/lib/python2.7/os.py'>, os.path = <module 'posixpath' from '/usr/lib/python2.7/posixpath.py'>, os.path.join = <function join>, config = <module 'MoinMoin.config' from '/usr/local/lib/python2.7/dist-packages/MoinMoin/config.py'>, config.data_dir = 'data'

<type 'exceptions.IOError'>: [Errno 13] Permission denied: 'data/err_log'
      args = (13, 'Permission denied')
      errno = 13
      filename = 'data/err_log'
      message = ''
      strerror = 'Permission denied'