Open simonw opened 4 years ago
https://datasette-psutil-demo-j7hipcg4aq-uw.a.run.app/-/psutil works now - interestingly it was the first process.open_files() line that had the IndexError: process.open_files() IndexError('list index out of range') Originally posted by @simonw in https://github.com/simonw/datasette-psutil/issues/1#issuecomment-643691271
https://datasette-psutil-demo-j7hipcg4aq-uw.a.run.app/-/psutil works now - interestingly it was the first process.open_files() line that had the IndexError:
process.open_files()
IndexError
process.open_files() IndexError('list index out of range')
Originally posted by @simonw in https://github.com/simonw/datasette-psutil/issues/1#issuecomment-643691271
I'm stumped on why this is happening.
I'm just running the following:
process = psutil.Process() process.open_files()
Presumably this can be replicated in a local Docker container.