View Issue Details

This issue affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
05161Bug reportsImport/Exportpublic2011-05-30 23:46
Reporterppuls Assigned Toc_schmitz  
PriorityhighSeveritypartial_block 
Status closedResolutionunable to reproduce 
Product Version1.90+ 
Summary05161: When exporting the reimport does not work
Description

if i export a survey as .lss it becomes a .lss.xlm file and won't import again. even if i change the filename to .lss.
"Error Import failed. You specified an invalid file."

Steps To Reproduce

export any Survey as .lss
go to "new survey"
select "import"
select the file just exportet
start the process

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)9642
I will donate to the project if issue is resolvedNo
Browsersafari
Database type & versionmySQL 5.0.45
Server OS (if known)linux
Webserver software & version (if known)apache/2.2.4 (Linux/SUSE)
PHP VersionpHP/5.2.11
Git branch / Pull Request URL

Users monitoring this issue

ppuls

Activities

user855

2011-05-12 13:31

  ~14987

Sounds like Safari is doing something to the exported file. I suggest you try exporting in Firefox and make sure it is saved as .lss and not as .lss.xml. And then try importing.

ppuls

ppuls

2011-05-12 14:04

reporter   ~14989

you are correct, works with Firefox! A warning for this should be added somewhere close to the export button! :-)
THX! keep the good work up!

Greetings from vienna!

Philipp

user855

2011-05-12 14:21

  ~14990

A warning is probably not warranted. There is likely to be something wrong with the way Safari is handling the download, or the way Limesurvey is handling the export.

c_schmitz

c_schmitz

2011-05-15 12:24

administrator   ~15007

Works just fine here on Safari on Windows.
Can you attach such an .xml file exported in Safari? I am assuming you are using MacOS?

ppuls

ppuls

2011-05-16 09:08

reporter   ~15018

Hi!

sure i can, and yes, i am on MacOS 10.6.7.

thx for your help!

c_schmitz

c_schmitz

2011-05-16 09:52

administrator   ~15023

just rename the file to *.lss and it will import
for some reason your browser is attaching the xml extension - but that is not a bug by Limesurvey.

ppuls

ppuls

2011-05-16 09:58

reporter   ~15025

Hi! I am now attaching my Screenshots from trying to reimport after renaming and the renamed .lss
apparently this doesnot work either.

sorry to disappoint!

cheers,

Philipp

c_schmitz

c_schmitz

2011-05-16 10:05

administrator   ~15026

I did the renaming here and the import works just fine. Make sure your /tmp dir is writable by th webserver and check your websever logs. Again: not a bug by Limesurvey

ppuls

ppuls

2011-05-16 11:08

reporter   ~15028

Hi!

very strange, as the export-import works with firefox, so it aint no bug in my server eiter. have you tried importing my file, or your own? might it be something with european character sets?

c_schmitz

c_schmitz

2011-05-16 13:45

administrator   ~15032

No, it is all UTF-8. I don't know what Safari does on MAC but it works all here on Windows. It could also be some weird or misconfigured setting in your Safari.
The LimeSUrvey error message basically says that it is the wrong file extension so for some reaons the browser is submitting teh wrong filename?

Do you have someone else with a Mac to test?

c_schmitz

c_schmitz

2011-05-23 07:45

administrator   ~15090

?

ppuls

ppuls

2011-05-24 14:41

reporter   ~15094

same on all the macs, alledgedly safari is doing something with the "norwegian charse" i was told. yes, it is utf8 but the charset is broken on download. at lest, this is hearsay. sorry to be of no better help.

c_schmitz

c_schmitz

2011-05-29 08:33

administrator   ~15152

As said, the download is not the problem. The file looks fine and can be imported on any non-Mac system after removing the '.xlm' extensions. The problem is the upload - so did you let your friends try the upload?

ppuls

ppuls

2011-05-30 11:24

reporter   ~15168

i have no optionof thesting this in the 1.90 install that i reported the bug in anymore, works fine in the 1.91 now, after you change the .lss.xml to .lss

lets call it closed, if i am th only one reporting this.

cheers,

philipp

Issue History

Date Modified Username Field Change
2011-05-11 14:09 ppuls New Issue
2011-05-11 14:28 ppuls Issue Monitored: ppuls
2011-05-12 13:31 user855 Note Added: 14987
2011-05-12 14:04 ppuls Note Added: 14989
2011-05-12 14:21 user855 Note Added: 14990
2011-05-12 17:18 c_schmitz Assigned To => c_schmitz
2011-05-12 17:18 c_schmitz Status new => assigned
2011-05-15 12:24 c_schmitz Note Added: 15007
2011-05-15 12:24 c_schmitz Status assigned => feedback
2011-05-16 09:08 ppuls Note Added: 15018
2011-05-16 09:08 ppuls Status feedback => assigned
2011-05-16 09:14 ppuls File Added: limesurvey_survey_85477.lss.xml
2011-05-16 09:52 c_schmitz Note Added: 15023
2011-05-16 09:52 c_schmitz Status assigned => closed
2011-05-16 09:52 c_schmitz Resolution open => not fixable
2011-05-16 09:58 ppuls Note Added: 15025
2011-05-16 09:58 ppuls Status closed => feedback
2011-05-16 09:58 ppuls Resolution not fixable => reopened
2011-05-16 09:58 ppuls File Added: Screen shot 2011-05-16 at 09.56.12.pdf
2011-05-16 09:59 ppuls File Added: limesurvey_survey_85477_2.lss.xml
2011-05-16 10:05 c_schmitz Note Added: 15026
2011-05-16 11:08 ppuls Note Added: 15028
2011-05-16 11:08 ppuls Status feedback => assigned
2011-05-16 13:45 c_schmitz Note Added: 15032
2011-05-23 07:45 c_schmitz Note Added: 15090
2011-05-23 07:45 c_schmitz Status assigned => feedback
2011-05-24 14:41 ppuls Note Added: 15094
2011-05-24 14:41 ppuls Status feedback => assigned
2011-05-29 08:33 c_schmitz Note Added: 15152
2011-05-29 08:33 c_schmitz Status assigned => feedback
2011-05-30 11:24 ppuls Note Added: 15168
2011-05-30 11:24 ppuls Status feedback => assigned
2011-05-30 23:45 c_schmitz File Deleted: limesurvey_survey_85477.lss.xml
2011-05-30 23:45 c_schmitz File Deleted: Screen shot 2011-05-16 at 09.56.12.pdf
2011-05-30 23:46 c_schmitz File Deleted: limesurvey_survey_85477_2.lss.xml
2011-05-30 23:46 c_schmitz Status assigned => closed
2011-05-30 23:46 c_schmitz Resolution reopened => unable to reproduce
2021-08-15 16:15 guest Bug heat 6 => 8