Hi Good people.
I am trying to deploy A form I am creating on the Kobocollect server.However It dispays the message "ODK validate errors:>>something broke the parser.see above for a hint.Dependency cycles amongst the xpath expressions in relevant/calculate Result:Invalid"
I have been trying to find the error in the last three hours without success.
I would really appreciate your help.
Here is the form
HHK 2.xls (249.5 KB)


I have debugged your form and it looks like the error is at line 413 of the excel file.

You are setting a relevant constraint recalling the same variable the user is entering, which is not allowed. By removing the content of the cell F413, the Dependency cycle error is fixed.

I guess you might want to either change the relevant condition or change it to a constraint (e.g., .>1)

I hope this helps!


1 Like

Thank you Andrea_Martin.
It has actually worked.

I also have a similar problem. Its saying- b'ODK Validate Errors:\n>> Something broke the parser. See above for a hint.\nDependency cycles amongst the xpath expressions in relevant/calculate\n\n-- Kindly assist.Waste_Charecterisation_Form2.xlsx (16.6 KB)

Hi @Nka_Ndlovu

Welcome to the Forum!

It looks like you are trying to apply the relevant condition to the wrong variable.
I guess it's a typo.

By doing the following changes:

  • selected(${littercoz},‘yes’) moved to F35
  • selected(${educ},‘yes’) moved to F40

the form compiles well (see Waste_Charecterisation_Form2_AM.xlsx (15.8 KB) )

I hope this helps!