simonw/datasette-psutil

Bug: on Cloud Run process.open_files() fails

Open

#2 opened on Jun 13, 2020

 (3 comments) (0 reactions) (0 assignees)Python (0 forks)github user discovery
bughelp wanted

Repository metrics

Stars
 (5 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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

Contributor guide