Most recent change of logofmr

Edit made on May 15, 2018 by ColinWright at 21:04:26

Deleted text in red / Inserted text in green

--> -->
 
 
<type 'exceptions.IOError'>
Python 2.7.5: /usr/bin/python
Sat Jul 19 00:52:12 2025

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

 /home/livmaths/domains/livmathssoc.org.uk/public_html/cgi-bin/sews_diff.py in ()
     42 
     43 if check_permission(page_name,'diff',0):
=>   44     print_difference(page_name)
     45 
     46 print '</body></html>'
print_difference = <function print_difference>, page_name = 'logofmr'
 /home/livmaths/domains/livmathssoc.org.uk/public_html/cgi-bin/sews_diff.py in print_difference(page_name='logofmr')
     31     print 'Edit made on %s by %s at %s<br><br>' % (day1,who1,sec1)
     32 
=>   33     print_differences(filename0,filename1)
     34 
     35 
global print_differences = <function print_differences>, filename0 = '1513589052.0_YasminePocula_logofmr', filename1 = '1526414666.5_ColinWright_logofmr'
 /home/livmaths/domains/livmathssoc.org.uk/public_html/cgi-bin/sews_mod.py in print_differences(filename0='1513589052.0_YasminePocula_logofmr', filename1='1526414666.5_ColinWright_logofmr')
    235     print type2font['+'] % 'Inserted text in green'
    236     print '<br><hr>'
=>  237     write_log(dir_data,'DIFF: '+filename0+' '+filename1)
    238     filetext0 = read_file_X(dir_bkp+filename0)
    239     filetext1 = read_file_X(dir_bkp+filename1)
global write_log = <function write_log>, global dir_data = '../cgi-bin/data/', filename0 = '1513589052.0_YasminePocula_logofmr', filename1 = '1526414666.5_ColinWright_logofmr'
 /home/livmaths/domains/livmathssoc.org.uk/public_html/cgi-bin/sews_mod.py in write_log(dir_data='../cgi-bin/data/', s='DIFF: 1513589052.0_YasminePocula_logofmr 1526414666.5_ColinWright_logofmr')
    172     t = strftime('%Y%m%d%H%M%S',localtime(time()))
    173     write_text( dir_data+'logs/'+t[:8], 'a',
=>  174                 t+' '+os.environ['REMOTE_ADDR']+' '+s)
    175 
    176 def access_denied(dir_data,program_username):
t = '20250719005212', global os = <module 'os' from '/usr/lib64/python2.7/os.pyc'>, os.environ = {'HTTP_COOKIE': 'PageName=PiIsIrrational', 'CONT...ate', 'UNIQUE_ID': 'aHreKrY94TNGhX0z78H28gABDyA'}, s = 'DIFF: 1513589052.0_YasminePocula_logofmr 1526414666.5_ColinWright_logofmr'
 /home/livmaths/domains/livmathssoc.org.uk/public_html/cgi-bin/sews_mod.py in write_text(filename='../cgi-bin/data/logs/20250719', m='a', t='20250719005212 216.73.216.243 DIFF: 1513589052.0...nePocula_logofmr 1526414666.5_ColinWright_logofmr')
    158 
    159 def write_text(filename,m,t):
=>  160     handle = open(filename,m)
    161     handle.write(strip(t)+'\n')
    162     handle.close()
handle undefined, builtin open = <built-in function open>, filename = '../cgi-bin/data/logs/20250719', m = 'a'

<type 'exceptions.IOError'>: [Errno 122] Disk quota exceeded: '../cgi-bin/data/logs/20250719'
      args = (122, 'Disk quota exceeded')
      errno = 122
      filename = '../cgi-bin/data/logs/20250719'
      message = ''
      strerror = 'Disk quota exceeded'