Actions

問題と解決策

From LimeSurvey Manual

Revision as of 00:33, 6 April 2019 by Bravehorse (talk | contribs) (Created page with "データをExcelまたは.csvファイルにエクスポートできない場合は、ブラウザのキャッシュとCookieをクリアしてください。")


In the case in which the solutions are not working or you found other workarounds to some common export- and import-related problems, please edit the following wiki. Sharing is caring!


Excel

インポートする前にExcelで回答を変更する

回答を複数同時に変更するには、ファイルをエクスポートしてExcelで開く方法があります。データ(最初の2行以外)を変更し、.txtファイルとして保存します。.csv形式で保存すると、ExcelはLimeSurveyにインポートできない形式のカンマ区切りとなってしまいます。.txtファイルとして保存すると、ExcelはLimeSurveyにインポートできるタブ区切りファイルとして保存します。


Excelで.csvを編集する

一般に、Excelは内部データ構造にいくつか変更を行い、インポートできなくなってしまうため、.csvファイルを編集するためにExcelを使用することは推奨しません。それでもExcelを使用したい場合は、システムコントロール(Windowsシステム)でExcel用のセパレータをカンマに設定する必要があります。

If you do not know how to do it but you have already edited your document and save it as .csv, try the workaround suggested here.


Excel - 最大255列の制限

Excelの制限(2003以前のバージョン)により、LimeSurveyは同時に255列しかエクスポートできません。Microsoftは、VBマクロによる回避策を提案しています。

より新しい表計算ソフト(​​Excel 2007以降、OpenOffice)では255より多くのカラムを表示できますが、LimeSurveyで使用される内部モジュールは255カラムより多くエクスポートできません。

2つの解決策があります。

  • CSVとしてエクスポートし、ファイルを表計算ソフトウェアにインポートする
  • 何回かエクスポートし(一度に最大250列を選択)、エクスポートした結果をマージする


Excel/.csv - エクスポートの失敗

データをExcelまたは.csvファイルにエクスポートできない場合は、ブラウザのキャッシュとCookieをクリアしてください。


CSV

CSVの既定の列数は255

When exporting large surveys, LimeSurvey limits the export to the first 255 columns by default. To work around this, simply mark all data sets for export.


SPSS出力

SPSSで起こりうるエラーメッセージ

ERROR. command name:Get Data

If you receive the error message ERROR. command name:Get Data. 2267 Unexpected Token missing., please edit the forth line of your syntax file so it points to the absolute path of the data file like

C:\spss\Data\limesurvey\SPSS\survey_35276_SPSS_data_file.dat


Error: "Text value unmappable in the current server locale"

This error can happen if you try to open an exported syntax file in SPSS 16. The solution is to force SPSS to interpret the syntax file as unicode.

Open SPSS. Go to Edit > Options > Character encoding for data and syntax. Change the option to "unicode".


その他の問題と解決策

回答を別のアンケートにコピーする(トークン使用)

  1. Create new survey, add a dummy response, export the response file, open in Excel. This creates the format for the new import file.
  2. Export the responses from the old survey, including tokens, open in Excel.
  3. Use this data to create an Excel worksheet for the standard token file import (eg. Firstname, Lastname, Token, Email address, Email status (OK), Language (En)). Save as .csv and import tokens to the new survey in LimeSurvey.
  4. In Excel, copy the response fields from the old survey responses that you want in the new survey (including token) into the appropriate Excel column of the new survey format.
  5. Save as .txt file.
  6. Use VVImport to import the new data into the new survey.
  7. Possible import errors include date format - some system date fields do not allow a NULL value, some do. If the date looks okay but gives an error, use the Excel cell format "2009-12-01".