Welcome to the LimeSurvey Community Forum

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

Problem with importing a .lsg file

  • pdaubresse
  • pdaubresse's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 9 months ago #81850 by pdaubresse
Problem with importing a .lsg file was created by pdaubresse
Hello,

I'm managing a limesurvey server. One user setup a survey and accidentally deleted all the questions. Fortunately I had done a copy oh his survey. Now he asks me to copy a group of questions from the backup survey to the one he deleted. I could successfully export the questions group in a .lsg file. But when importing the file I gets the error message: This is not a valid LimeSurvey group structure XML file.
Is there any knwon issue with XML files I should check in my file?

Kind regards,

Pierre

File Attachment:

File Name: limesurvey..._291.lsg
File Size:187 KB
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
11 years 9 months ago #81875 by Mazi
Replied by Mazi on topic Problem with importing a .lsg file
There was a blank line at the beginning and end of the file which probably has caused the problem. After deleting these empty lines, the file imports fine here.

I'm attaching the edited version:

File Attachment:

File Name: limesurvey..._291.lsg
File Size:187 KB

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
  • pdaubresse
  • pdaubresse's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 9 months ago #82051 by pdaubresse
Replied by pdaubresse on topic Problem with importing a .lsg file
Thanks a lot, removing the extra blank lines solved the problem.
I had a similar problem with the captcha generated when somebody wants to save his answers and resume later. The generated picture had a blank line at start of the binary file.
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
11 years 9 months ago #82066 by Mazi
Replied by Mazi on topic Problem with importing a .lsg file

pdaubresse wrote: Thanks a lot.

You're welcome :-)

If our hints have been helpful and you enjoy limesurvey please consider a donation to give Limesurvey a future .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
More
7 years 11 months ago - 7 years 11 months ago #133540 by r2d2
Replied by r2d2 on topic Problem with importing a .lsg file
Hello,

I have the same problem, can you help me please ?

r2d2
Last edit: 7 years 11 months ago by r2d2.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 11 months ago #133785 by DenisChenu
Replied by DenisChenu on topic Problem with importing a .lsg file
r2D2 : PLEASE : don't set "Same issue" in a more than 3 years issue ... I close thios one.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose