--> --> -->
 
 
<type 'exceptions.SyntaxError'>
Python 2.6.5: /usr/bin/python
Wed Jun 19 12:59:13 2013

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

 /srv/www/borismoscoff/cgi-bin/gallery.py in ()
  543     
  544     # Get settings from storage
  545     prefs = settings.Site_Prefs()
  546     
  547     location = cgi_args.get('dir', prefs.image_folder)
prefs undefined, settings = <module 'settings' from '/srv/www/borismoscoff/cgi-bin/settings.py'>, settings.Site_Prefs = <class settings.Site_Prefs>
 /srv/www/borismoscoff/cgi-bin/settings.py in __init__(self={}, store={})
   44     """
   45     def __init__(self, store = {}):
   46         self.update(store)
   47     
   48     def update(self, new_store = {}):
self = {}, self.update = <bound method Site_Prefs.update of {}>, store = {}
 /srv/www/borismoscoff/cgi-bin/settings.py in update(self={}, new_store={})
   48     def update(self, new_store = {}):
   49         # Load settings from dictionary
   50         store = self.load()
   51         # Update settings from cgi_args
   52         store.update(new_store)
store undefined, self = {}, self.load = <bound method Site_Prefs.load of {}>
 /srv/www/borismoscoff/cgi-bin/settings.py in load(self={})
   94         data_file = open('data/prefs.cgi')
   95         first_line = data_file.readline()
   96         store = eval(first_line)
   97         data_file.close()
   98         return store
store undefined, builtin eval = <built-in function eval>, first_line = ''

<type 'exceptions.SyntaxError'>: unexpected EOF while parsing (<string>, line 0)
      args = ('unexpected EOF while parsing', ('<string>', 0, 0, ''))
      filename = '<string>'
      lineno = 0
      message = ''
      msg = 'unexpected EOF while parsing'
      offset = 0
      print_file_and_line = None
      text = ''