Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

imported survey error 'empty group' when each group has questions

  • suselko
  • suselko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 1 month ago #194376 by suselko
I have the attached test survey. When I import it into LS it imports OK but the summary says there are two groups and only one question. Accordingly when I try to preview it is says 'there are groups that do not have questions'. I'd be grateful if anyone could spot where the problem is.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 1 month ago #194383 by Joffm
Hi,
please attach an lss export of your survey.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • suselko
  • suselko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 1 month ago #194385 by suselko
Hi Joffm, the lss version is attached. Thanks
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 1 month ago #194389 by holch
Also, which version of LS are you exporting FROM and TO?

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 1 month ago #194390 by holch
I imported the LSS into LimeSurvey Version 3.22.5+200218 and no error message what so ever.

When does the problem occur? When using the TXT file? Maybe a problem with the TXT import and Export?

OK, now i get the error. It is not upon importing, it is upon previewing. Seemed to have overlooked this.

When looking in the question logic file I only see one question and one group, but the question has errors, maybe this triggers the error.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 1 month ago - 4 years 1 month ago #194391 by holch
And when looking into the structure tab I see that there are two groups, only one contains a question.

So there you go. The error message says it all. Either delete the group with no question or put a question into the group.

Looking at the survey logic file again, it seems like LS does not recognize the question in the first group as a questions, probably due to the errors. However, I think it is worth to create a bug report, because even if the question is with errors, LS should still show it as a question and allow to edit it.


I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Last edit: 4 years 1 month ago by holch.
The topic has been locked.
  • suselko
  • suselko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 1 month ago #194397 by suselko
Thanks, I should have checked the survey logic file. I have copied a chunky bit of Javascript from the LS forum and pasted it into a txt file (actually an Excel unicode txt) that I subsequently imported into LS, but obviously LS did not like it. It works OK when I paste that script using the main LS interface.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose