>
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'
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)
88 # lock it
89 lockfilenm = os.path.join(self.dir, 'lock')
90 self.lockfile = locking.acquire_lock(lockfilenm)
|
self = <back_anydbm instance at 40401aac>, 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()
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 #
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):
438 classname, nodeid = m.group(1), m.group(2)
439
self = <_roundup_tracker_1.interfaces.Client instance>, global opendb = undefined
441 klass = self.db.getclass(classname)
442
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:
150 '''
151 try:
self = <_roundup_tracker_1.interfaces.Client instance>, global inner_main = undefined
153 finally:
154 if hasattr(self, 'db'):
165 client = tracker.Client(tracker, request, os.environ)
166 try:
client = <_roundup_tracker_1.interfaces.Client instance>, global main = <function main>
168 except Unauthorised:
169 request.send_response(403)
206 checkconfig()
207 sys.stdout = sys.stderr = LOG
main = <function main>, out = <open file '<stdout>', mode 'w'>, err = <open file '<stderr>', mode 'w'>
209 except SystemExit:
210 pass