sinkovit / Spatial-ecology

Space use software deployed in the Spatial Ecology Gateway
MIT License
2 stars 0 forks source link

Problem loading data on hub #57

Closed monaw closed 1 year ago

monaw commented 1 year ago

when attempting to load data (either from Gateway, Movebank or local machine), the server disconnects:

Screenshot 2023-06-29 at 6 24 41 PM

there is an error in the ~/data/sessions//shiny-server/log/bin*:

Screenshot 2023-06-29 at 6 27 09 PM

submitted ticket to Hubzero

Bob found these 3 interesting links that seem to suggest a possible permission problem:

  1. https://stackoverflow.com/questions/52187684/warning-error-in-anonymous-cannot-open-file-rplots-pdf
  2. https://github.com/GregorySchwartz/too-many-cells/issues/29
  3. https://groups.google.com/g/shiny-discuss/c/gWuY9OY6RIs
monaw commented 1 year ago

so it seems adding pdf(file = NULL) fixed the file loading problem on the gateway! this seems like a hack and we don't know the real reason for this weird message about Rplot.pdf...i think we've just disabled output but i think the real problem may be a permission issue somewhere and we may run into this again but for now i think this solution is ok