wozhub / lime-py-api

Glue entre la API de Limesurvey y Python
GNU General Public License v2.0
3 stars 9 forks source link

json problem #1

Closed gurkanboll closed 8 years ago

gurkanboll commented 8 years ago

are you still working on this project @dvinazza david? cant seem the get the reproducible example for limesurveys online demo to work, nor my own domain for ls aswell.

Error:

Traceback (most recent call last): File "ejemplo.py", line 11, in lime = Api(url, usuario, clave) File "/Users/path/limesurvey.py", line 22, in init self.session_key = self._obtenerJson(data)['result'] TypeError: 'NoneType' object has no attribute 'getitem'

wozhub commented 8 years ago

Hello Gurkanboll. I'm not using this anymore, yet it was working last time I checked. I believe it was limesurvey 2.01+ or 2.03. They might have made some major changes in the API but the API being buggy was the reason I started this glue...

gurkanboll commented 8 years ago

Ah, okey, well, haven't seen any major changes, but yet again im pretty new to python and json. trying it on 2.05+ and 2.06 build

gurkanboll commented 8 years ago

Installing json-rpc did the trick