cytoscape / cytoscape-explore

Network visualization webapp.
MIT License
12 stars 4 forks source link

Thumbnails crashing #143

Open maxkfranz opened 2 years ago

maxkfranz commented 2 years ago

Describe the bug

Sometimes, the thumbnail generator crashes.

To Reproduce Steps to reproduce the behaviour (TBD):

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

The thumbnail generator should be able to continuously output images.

Screenshots N/A

Desktop (please complete the following information):

Additional context

I don't know, we may have to discuss this. I found that starting/stopping cytosnap once was not sufficient because sometimes the process started by cytosnap crashes and then the thumbnail service stops working. If I call cytosnap.start() on every request that seems to help... I think because it restarts cytosnap??? but I'm not sure.

_Originally posted by @mikekucera in https://github.com/cytoscape/cytoscape-explore/pull/141#discussion_r818731573_