inbo / reporting-rshiny-grofwildjacht

Rshiny app for grofwildjacht

Home Page:https://grofwildjacht.inbo.be/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] timeout when running private app locally using docker

SanderDevisscher opened this issue · comments

Describe the bug
The private part of the app times out when you run it in docker.

To Reproduce
Build app locally using docker.
Run app using docker.
See error

docker log:

Warning: Error in [[<-.data.frame: replacement has 1 row, data has 0
  77: stop
  76: [[<-.data.frame
  71: $<-.sf
  69: mapFlanders
  68: <reactive>
  52: spacePlot
  45: <observer>
   2: runApp
   1: reportingGrofwild::runWildApp
Warning: Error in [[<-.data.frame: replacement has 1 row, data has 0
  100: <Anonymous>

Expected behavior
App starts without timeout

Additional context
Possibly related to #429
issue occurs also when @RuttenAnneleen builds the app.

Git SHA (after 0.3.1)
cdfb47e

update issue is not present on PRD. => needs to be fixed before update.

update: issue occurs after bcd136e

@SanderDevisscher I'm building the docker image to reproduce.

I found the problem, it's a border case where we have only 'niet-aangesloten' WBE areas for 2022 and 'Langs de Hoge Kale' (maybe also for other regions/years, but this is the default setting for login). I'll create a branch from master and do a pull request.