>
 
 
IOError: [Errno 13] Permission denied: '/vhosts/synopsis.fresco.org/issues/db/lock'
Python 2.3.5
/usr/bin/python

A problem occurred while running a Python script. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call first. The exception attributes are:
      __doc__ = 'I/O operation failed.'
      __getitem__ = <bound method IOError.__getitem__ of <exceptions.IOError instance>>
      __init__ = <bound method IOError.__init__ of <exceptions.IOError instance>>
      __module__ = 'exceptions'
      __str__ = <bound method IOError.__str__ of <exceptions.IOError instance>>
      args = (13, 'Permission denied')
      errno = 13
      filename = '/vhosts/synopsis.fresco.org/issues/db/lock'
      strerror = 'Permission denied'

/group/synopsis/local/lib/python2.3/site-packages/roundup/backends/locking.py in acquire_lock(path='/vhosts/synopsis.fresco.org/issues/db/lock', block=1)
   35     '''
   36     import portalocker
   37     file = open(path, 'w')
      file = undefined, global open = undefined, path = '/vhosts/synopsis.fresco.org/issues/db/lock'
   38     if block:
   39         portalocker.lock(file, portalocker.LOCK_EX)

/group/synopsis/local/lib/python2.3/site-packages/roundup/backends/back_anydbm.py in __init__(self=<back_anydbm instance at 40402aac>, config=<module '_roundup_tracker_1.config' from '/vhosts/synopsis.fresco.org/issues/config.pyc'>, journaltag='admin')
   88         # lock it
   89         lockfilenm = os.path.join(self.dir, 'lock')
   90         self.lockfile = locking.acquire_lock(lockfilenm)
      self = <back_anydbm instance at 40402aac>, global lockfile = undefined, global locking = <module 'roundup.backends.locking' from '/group/...n2.3/site-packages/roundup/backends/locking.pyc'>, global acquire_lock = undefined, lockfilenm = '/vhosts/synopsis.fresco.org/issues/db/lock'
   91         self.lockfile.write(str(os.getpid()))
   92         self.lockfile.flush()

/vhosts/synopsis.fresco.org/issues/dbinit.py in open(name='admin')
   10 
   11     # open the database
   12     db = Database(config, name)
      db = undefined, global Database = <class roundup.backends.back_anydbm.Database>, global config = <module '_roundup_tracker_1.config' from '/vhosts/synopsis.fresco.org/issues/config.pyc'>, name = 'admin'
   13 
   14     #

/group/synopsis/local/lib/python2.3/site-packages/roundup/cgi/client.py in opendb(self=<_roundup_tracker_1.interfaces.Client instance>, user='admin')
  675             if hasattr(self, 'db'):
  676                 self.db.close()
  677             self.db = self.instance.open(user)
      self = <_roundup_tracker_1.interfaces.Client instance>, global db = undefined, global instance = undefined, global open = undefined, user = 'admin'
  678 
  679     def standard_message(self, to, subject, body, author=None):

/group/synopsis/local/lib/python2.3/site-packages/roundup/cgi/client.py in serve_file(self=<_roundup_tracker_1.interfaces.Client instance>, designator=<roundup.cgi.exceptions.SendFile instance>, dre=<_sre.SRE_Pattern object>)
  438         classname, nodeid = m.group(1), m.group(2)
  439 
  440         self.opendb('admin')
      self = <_roundup_tracker_1.interfaces.Client instance>, global opendb = undefined
  441         klass = self.db.getclass(classname)
  442 

/group/synopsis/local/lib/python2.3/site-packages/roundup/cgi/client.py in inner_main(self=<_roundup_tracker_1.interfaces.Client instance>)
  229             self.write('Redirecting to <a href="%s">%s</a>'%(url, url))
  230         except SendFile, designator:
  231             self.serve_file(designator)
      self = <_roundup_tracker_1.interfaces.Client instance>, global serve_file = undefined, designator = <roundup.cgi.exceptions.SendFile instance>
  232         except SendStaticFile, file:
  233             try:

/group/synopsis/local/lib/python2.3/site-packages/roundup/cgi/client.py in main(self=<_roundup_tracker_1.interfaces.Client instance>)
  150         '''
  151         try:
  152             self.inner_main()
      self = <_roundup_tracker_1.interfaces.Client instance>, global inner_main = undefined
  153         finally:
  154             if hasattr(self, 'db'):

/vhosts/synopsis.fresco.org/http/cgi-bin/roundup.cgi in main(out=<open file '<stdout>', mode 'w'>, err=<open file '<stderr>', mode 'w'>)
  165             client = tracker.Client(tracker, request, os.environ)
  166             try:
  167                 client.main()
      client = <_roundup_tracker_1.interfaces.Client instance>, global main = <function main>
  168             except Unauthorised:
  169                 request.send_response(403)

/vhosts/synopsis.fresco.org/http/cgi-bin/roundup.cgi
  206     checkconfig()
  207     sys.stdout = sys.stderr = LOG
  208     main(out, err)
      main = <function main>, out = <open file '<stdout>', mode 'w'>, err = <open file '<stderr>', mode 'w'>
  209 except SystemExit:
  210     pass