Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

Database error #264 "Cannot read respnum column in download area." after converting survey to Lighthouse version 9.10.0

Hi guys I have in the field a long weekly tracking survey which we have converted recently from Lighthouse version 9.9.2 to 9.10.0. The survey was converted w/o any errors, uploaded to the server w/o errors and everything looked good until we tried to download the collected data.

Lighthouse studio shows this error when downloading the data from the server:

"No respondents can be accumulated from
The file contains an invalid field 'Content-type: application/json'.  ERROR: Name cannot contain spaces."

CSV contains only:

"Content-type: application/json   
{"result": false    error: "Error #264 - Database error."}

In the Admin panel the same error is displayed as:

"Database error. Cannot read respnum column in download area. [ID: 264]
System Error:
DBD::mysql::db selectall_arrayref failed: Column 'sys_RespNum' in field list is ambiguous at /var/www/html/a000216CZ/cgi-bin/admin.pl line 17, line 8.
Form Input:
hid_original_page=>download_data | hid_page=>download_data_builder | hid_report_settings=> | hid_session=>10971001091051101240970480480480500490541201613927942 | hid_studyname=>a000216CZ | with_completes=>on | with_disqualified=>on | with_incompletes=>on
Lighthouse Studio Version:
IP Address:
User Agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.74"

When trying to download data from Admin panel will get CSV with following:

"Content-type: text/html   
<!DOCTYPE html>   
<!-- Sawtooth Software Web Interviewing System - Lighthouse Studio 9_10_0 -->   
<!-- Copyright Sawtooth Software     Inc. 1998-2021 - www.sawtoothsoftware.com - USA - (801) 477-4700 -->
<link rel="shortcut icon" href="/a000216CZ/graphics/system/survey.ico" type="image/x-icon">   
<meta http-equiv="X-UA-Compatible" content="IE=edge">   
<meta http-equiv="content-type" content="text/html; charset=UTF-8">   
<meta name="robots" content="noindex     nofollow">
<meta name="viewport" content="width=device-width     initial-scale=1">
<div style="border: 1px solid black; background-color: white; color: black; font-family: arial; padding: 5px; width: 800px; margin-left: auto; margin-right: auto; padding: 5px;">   
<div style="color: red; text-decoration: underline; font-weight: bold;">Sawtooth Error # 264</div><div><p>Database error.</p></div><div style="margin-top: 30px;">Please try to refresh your browser or try to backup and submit again. If the error continues please contact the survey administrator.</div></div>   
<style type="text/css">   
.loading{display: none;}   
.stage{display: block;}   

I have no problems with the version-to-version upgrades since 9.6.1until now.

Can somebody help?
Best, Kosťa
asked Feb 21 by ConstantineKlim (255 points)

1 Answer

+1 vote
Best answer
Hi Kosta,

You can definitely reach out to our Sawtooth Support for these types of issues. Unfortunately, the issue you are experiencing is likely due to a known bug in the Admin Module. We hope to have this issue resolved in the next couple of weeks. Please keep an eye on your email for a notification on our upcoming Lighthouse Studio release!

In the meantime, this workaround should work for you. Enter your survey's Admin Module and go the Downloads section. Check the box, Include Removed Records. Download all of your data. You can then take the .csv and import it into Lighthouse Studio's Get Data tab using the second option ("Data Collected with a Lighthouse Studio Survey").

Please email support (support@sawtoothsoftware.com)  if this workaround does not work for you.

answered Feb 22 by Christina Hubner Bronze Sawtooth Software, Inc. (1,825 points)
selected Feb 22 by ConstantineKlim
Hi Christina,

the suggested workaround worked! Thanks a lot! Will keep an eye on upcoming updates.