rapidsurveys / odkr

Open Data Kit R API
http://rapidsurveys.io/odkr/
GNU General Public License v3.0
11 stars 4 forks source link

X11 support #55

Open jwrozelle opened 3 years ago

jwrozelle commented 3 years ago

@rapidsurveys @ernestguevarra

Nearly ready for a pull request with a focus on improving test coverage - with tests coverage up to 67% on this branch.

One issue I ran into when running this on my Ubuntu server is that same X11 error similar to this one. Seems like it's related to when you're not using an x11 display. Trying to think creatively about how to solve this. The current code on this branch just automatically adds it in if it's a linux system on the ODK CL options where I was getting an error (see lines 136-140 here). This would, however, create a new dependency on linux systems for xvfb. It's purpose is basically to create a virtual display, which is, for some reason, needed.

There's probably a few ways to address this.

Automatically

Manually

Whatever route was taken, it would only affect Linux systems.