| Filename | Last-Modified (UTC) | Size |
|---|
| <type 'exceptions.OSError'> | Python 2.7.13: /usr/bin/python Fri Apr 24 02:43:10 2026 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /var/www/inamidst.com/list.cgi in |
| 189 opts = {'text': text, 'rdf': rdf} |
| 190 opts.get(querystring, xhtml)(base, pathinfo, robots=robots) |
| 191 |
| 192 if __name__=="__main__": |
| => 193 main() |
| main = <function main> |
| /var/www/inamidst.com/list.cgi in main(path=None, env={'CONTEXT_DOCUMENT_ROOT': '/var/www/inamidst.com...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, robots=True) |
| 188 |
| 189 opts = {'text': text, 'rdf': rdf} |
| => 190 opts.get(querystring, xhtml)(base, pathinfo, robots=robots) |
| 191 |
| 192 if __name__=="__main__": |
| opts = {'rdf': <function rdf>, 'text': <function text>}, opts.get = <built-in method get of dict object>, querystring = '', global xhtml = <function xhtml>, base = '/var/www/inamidst.com', pathinfo = '/saxo/src/.git/objects/d5/', robots = True |
| /var/www/inamidst.com/list.cgi in xhtml(base='/var/www/inamidst.com', pathinfo='/saxo/src/.git/objects/d5/', robots=True) |
| 142 else: print '<h1>Directory listing for ' + pathinfo + '</h1>' |
| 143 |
| => 144 table(base, pathinfo, robots) |
| 145 |
| 146 print textwrap.dedent(("""\ |
| global table = <function table>, base = '/var/www/inamidst.com', pathinfo = '/saxo/src/.git/objects/d5/', robots = True |
| /var/www/inamidst.com/list.cgi in table(base='/var/www/inamidst.com', pathinfo='/saxo/src/.git/objects/d5/', robots=True) |
| 98 inv.options |= inv.Options(['mtime', 'size', 'type']) |
| 99 if robots: inv.options.add('robots') |
| => 100 for f in inv.inventory(base + pathinfo, docroot=base): |
| 101 if f.type == inv.Directory: |
| 102 fn = f.sitepath |
| f undefined, global inv = <module 'inventory' from '/var/www/inamidst.com/dev/code/inventory.py'>, inv.inventory = <function inventory>, base = '/var/www/inamidst.com', pathinfo = '/saxo/src/.git/objects/d5/', global docroot = '/var/www/inamidst.com' |
| /var/www/inamidst.com/dev/code/inventory.py in getlist(self=<inventory.Inventory object>) |
| 362 self.postproc.insert(0, self.uniq(Directory)) |
| 363 for proc in self.postproc: |
| => 364 sitelist = proc(sitelist) |
| 365 |
| 366 for fileinfo in sitelist: |
| sitelist = <generator object lister>, proc = <function proc> |
| /var/www/inamidst.com/dev/code/inventory.py in proc(sitelist=<generator object lister>, prefer=<inventory.FileType object>) |
| 280 def proc(sitelist, prefer=prefer): |
| 281 seen = {} |
| => 282 for fileinfo in sitelist: |
| 283 if hasattr(fileinfo, 'sitepath'): |
| 284 path = fileinfo.sitepath |
| fileinfo undefined, sitelist = <generator object lister> |
| /var/www/inamidst.com/dev/code/inventory.py in lister() |
| 350 recursive = ('non-recursive' not in self.options) |
| 351 filenames = self.walk(recursive=recursive) |
| => 352 for filename in itertools.ifilter(include, filenames): |
| 353 fileinfo = self.fileinfo(filename) |
| 354 for modifier in modifiers: |
| filename undefined, global itertools = <module 'itertools' (built-in)>, itertools.ifilter = <type 'itertools.ifilter'>, include = <function include>, filenames = <generator object walk> |
| /var/www/inamidst.com/dev/code/inventory.py in walk(self=<inventory.Inventory object>, recursive=False) |
| 245 yield root |
| 246 else: |
| => 247 for name in os.listdir(self.path): |
| 248 yield os.path.join(self.path, name) |
| 249 |
| name undefined, global os = <module 'os' from '/usr/lib/python2.7/os.pyc'>, os.listdir = <built-in function listdir>, self = <inventory.Inventory object>, self.path = '/var/www/inamidst.com/saxo/src/.git/objects/d5/' |
<type 'exceptions.OSError'>: [Errno 13] Permission denied: '/var/www/inamidst.com/saxo/src/.git/objects/d5/'
args =
(13, 'Permission denied')
errno =
13
filename =
'/var/www/inamidst.com/saxo/src/.git/objects/d5/'
message =
''
strerror =
'Permission denied'