tautulli-influxdb-export icon indicating copy to clipboard operation
tautulli-influxdb-export copied to clipboard

Expecting value: line 1 column 1 (char 0)

Open imlogang opened this issue 5 years ago • 2 comments

Hey, not sure if this is still active, but I can't seem to get it to work.

Running it with logan@grafana:~/tautulli-influxdb-export$ python plexpy_influxdb_export.py --plexpyhost <plexpyhost> --plexpyapikey <apikey taken from website> --influxdbhost <host>

I keep getting Expecting value: line 1 column 1 (char 0)

I have a different base url set so its /plexpy/home and I tried all that in different configurations and I still get that same error.

Any help is appreciated!

OS: Ubuntu 16.04 Python Version: 2.7.12 PlexPY Version: 2.1.18

Also tried on another Ubuntu Server VM and got: No JSON object could be decoded

imlogang avatar Aug 08 '18 07:08 imlogang

I have the same issue when running in docker. I've yet to try installing on the Ubuntu host and would rather not. The Dockerfile specifies version Python 3.0 but when I connect to the image and check version, I get 3.7, which is kind of odd as I can force other Python projects to use 3.0, 3.7, or 3.8; My Ubuntu host is running 2.7.15 & 3.6.8.

Docker 18.06.1-ce, build e68fc7a Docker-compose version 1.17.1 Python 3.7.4 Tautulli 2.1.33

Any other info needed to help with this? I looked at the various scripts and didn't gain any insight into where this error is coming from.

SiGmAX666 avatar Aug 04 '19 21:08 SiGmAX666

I had this issue too. My Tautulli also runs in docker that sits behind nginx (also in docker). When I set TAUTULLI_HOST to my nginx reverse proxy I get Expecting value: line 1 column 1 (char 0), yes I have also used TAUTULLI_PORT to what nginx is listening on. When I set TAUTULLI_HOST straight to my docker host that exposes Tautulli on 8181 it works fine. Would be nice to get it working with my nginx reverse proxy, but meh, this is all for fun :).

joeypiccola avatar Aug 28 '19 03:08 joeypiccola