-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error when get _responses #30
Comments
I got the same error and then I looked at survey permissions - turned out that the user did not have survey permissions, once I added them I got data. Strange thing however was that I got all fields in one column. Troubleshooting that now. |
@Jan-E That is right - it was. It is because I had an older version (Version 2.67.1+170626) where the field separator was different. I solved this by installing a version pre-29th April. |
@r0berts We had it the other way around. Limesurvey 3.12.1, but a limer that was too old. So we just had to update limer. I will see if I can patch it do do a version-specific base64_to_df. |
The PR seems to be already there: #42 |
@Jan-E this is good, perhaps to have an option to supply version or other switch. If need be, I could do some work on documenting limer, so that it would be easier for newcomers to figure this out. I could do something like a manpage from a begginner's viewpoint, if you'd like - maybe to supplement the readme file? |
I am already experimenting to get the version number:
In my case lsversion becomes "3.12.1" and lsmajor "3". With this it should be possible to restrict d7c0c3e to versions > 2. |
@Jan-E It seems NOT to work. There are error messages:
And no data are received.
But when I load libraries manually I do not seem to get that error on loading, but later no data received with the first error. |
Looks like lsmajor is not set. Could you run this in a R prompt, after entering your lime_api options:
|
@Jan-E Yes, lsmajor is returned as list with this content:
Maybe it is due to this - from API reference:
It could by default be set to 3 and it could also have the automatic checking running alongside - in case it is run from super-admin account. |
@r0berts toolsforresearch@d92be6f?diff=unified contains the final function:
I confirmed that this works in LS Version 2.6.4-lts with a non-superadmin account. Could you once again test the patch?
Thanks. |
Isn't there one "t" too many in SettingName? ;-) |
Yes, but they are quite convinced, that you spell it that way |
Hi Jan, sorry I was away. I tested today. Your version works fine on my 2.67 - it gets data perfectly alright with non admin account. Then I tested it on the latest version of LS (Version 3.14.1+180731) running on my laptop - it fails with this error:
I also tested the latest limesurvey version with the version from standard repo https://github.com/cloudyr/limer and that works fine on the latest. |
@Jan-E Would it be an idea to have two versions of this piece of software: limer and limer3, to avoid this confusion. And to persuade the LS developers to make it possible to ask the API for a version number? Using LS3.14 I ran into this problem again. |
could you pls tell me what's the problem may be, thanks!
The text was updated successfully, but these errors were encountered: