Submit CSV/XLSX file to your Kobotoolbox instance

I had a few use cases for client that wanted to upload an existing CSV/XSLX file to their kobotoolbox instance. Using POSTMAN to do this was quite complex even for me. So I created a tool to do this a simple docker image that you can deploy, it is still under-development, so your feedback will be much appreciated.

Here is the link to the docker image
https://hub.docker.com/r/josephfidelis/koboflux

1 Like

Welcome to the community, @charmides! Thank you for sharing this with our entire community! :bowing_man: :heart: :folded_hands:

Thank you @Kal_Lam

Thanks for putting this together! I can get it built fine, but I’m getting a 500 error when I try to access it at localhost.

compose logs show:

Expecting value: line 4 column 1 (char 3)

Traceback (most recent call last):

  File "/usr/local/lib/python3.11/site-packages/requests/models.py", line 976, in json

    return complexjson.loads(self.text, **kwargs)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.11/json/__init__.py", line 346, in loads

    return _default_decoder.decode(s)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode

    obj, end = self.raw_decode(s, idx=_w(s, 0).end())

               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.11/json/decoder.py", line 355, in raw_decode

    raise JSONDecodeError("Expecting value", s, err.value) from None

json.decoder.JSONDecodeError: Expecting value: line 4 column 1 (char 3)


Which is a bit beyond my meagre docker/python knowledge to decipher, any thoughts would be appreciated. This is running in Docker Desktop in Linux if that’s relevant.

@ben_gh I wasn’t able to replicate the bug you got. But I will drop a quick video showing how to run the application

1 Like

Hello, this is a comprehensive guide on how to run the KoboFlux application.

Hello community, I am happy to announce that koboFlux is now fully opensource GitHub - joseph-fidelis/kobo-flux