[SOLVED] 'data' or 'params' argument is needed

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)
RHainez
Posts: 105
Joined: Wed Feb 08, 2017 3:14 pm

[SOLVED] 'data' or 'params' argument is needed

Post by RHainez »

Hi,

I tried to run a 2 ways Anova and jamovi returned an error message when I asked for the post-hoc test: "Perhaps a 'data' or 'params' argument is needed". I don't know if it helps, but, out of curiosity, I ran it in Jasp and it worked well. See file in attachement.

Have a nice day!
Attachments
ANOVA_2fact_ind.omv
(5.7 KiB) Downloaded 478 times
User avatar
Ravi
Posts: 194
Joined: Sat Jan 28, 2017 11:18 am

Re: 'data' or 'params' argument is needed

Post by Ravi »

It doesn't seem to like the spaces in the variable names. I'll fix this for our next release. For now, you can remove the spaces from "nbr de bieres" to make the post-hoc tests work. Could you also post this issue on our github so we can keep better track of it? Thank you for reporting this and have a nice day too :slightly_smiling_face:
RHainez
Posts: 105
Joined: Wed Feb 08, 2017 3:14 pm

Re: 'data' or 'params' argument is needed

Post by RHainez »

Thank you very much! This issue is now posted on GitHub.
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: 'data' or 'params' argument is needed

Post by jonathon »

Fixed in 0.7.5.6 (out now)
RHainez
Posts: 105
Joined: Wed Feb 08, 2017 3:14 pm

Re: [SOLVED] 'data' or 'params' argument is needed

Post by RHainez »

Hi,

I encountered this very same error message but in a non-recurring way.

On some computers, the dataset works fine and the anova + pocthoc are performed flawlessly but on other machines, it returns the error message in the title. It only happens when a post-hoc test and/or a estimated margial mean is/are computed. The anova alone works fine.

It happens with W10 and iOS and with both solid and current versions.

If it can help, when I open the .omv file attached with the precedent message,the error message occurs but when I copy/paste the dataset in a new .omv file, everything works perfectly.

Thank you, have a nice day.
Attachments
param error.jpg
param error.jpg (105.49 KiB) Viewed 5630 times
param error.omv
(14.81 KiB) Downloaded 312 times
Last edited by RHainez on Sat Nov 16, 2019 3:17 pm, edited 2 times in total.
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: [SOLVED] 'data' or 'params' argument is needed

Post by jonathon »

thanks, i'll look into it.

jonathon
User avatar
Ravi
Posts: 194
Joined: Sat Jan 28, 2017 11:18 am

Re: [SOLVED] 'data' or 'params' argument is needed

Post by Ravi »

So I found the cause of the issue: there's a trailing space after the Niveau variable. If you remove that space it works fine again. Of course, this still shouldn't result in an error, so I'll look into a fix for this problem. Thanks for reporting!
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: [SOLVED] 'data' or 'params' argument is needed

Post by jonathon »

hmm, so our import/open pipeline *should* strip spaces from the beginning/end of values. i wonder if we shouldn't treat this as a bug in our io system?

jonathon
RHainez
Posts: 105
Joined: Wed Feb 08, 2017 3:14 pm

Re: [SOLVED] 'data' or 'params' argument is needed

Post by RHainez »

Ok, thank you very much for your help! :)
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: [SOLVED] 'data' or 'params' argument is needed

Post by jonathon »

do you have the original data file you opened for this data set romaric?

i want to figure out how the data got in there without the spaces being stripped.

with thanks
Post Reply