Error downloading data with data viewer

Discussions about syncing data via Bluetooth, Dropbox, FTP, and using CSWeb
Post Reply
asheffel
Posts: 23
Joined: July 14th, 2014, 9:07 am

Error downloading data with data viewer

Post by asheffel »

Hi!

I'm using Dropbox to sync data and am trying to download the data that has been collected so far. When I try to download the data I get an error which says: "Error:Unable to read response from server. See log file for details." Based on the response to another similar post I found by sync log file in Windows: Users\username\AppData\Roaming\CSPro\sync.log

I'm guessing the issue is a corrupted data file in Dropbox, but based on the log file I'm having a hard time figuring out which file it is so that I can remove it. Here is the information at the end of the log file. I'm also attaching the complete log file.

Any suggestions for identifying which file is problematic?

2020-10-13 10:26:18,793 INFO: File: 318a80c15518b36d$2abc663f-f66a-4a02-970b-67482708fe5e Mod=1602531348, 2020-10-12T19:35:48Z
2020-10-13 10:26:18,793 INFO: Download file: 318a80c15518b36d$2abc663f-f66a-4a02-970b-67482708fe5e
2020-10-13 10:26:19,374 ERROR: Invalid server response: JSON root is not an array
2020-10-13 10:26:19,374 ERROR: xíZ]oÛ8ý+‚žk@¼¼¤¨¼IŠÒhk˝XM73Ž?€`;í¢)0(úß—”HñÊ6ÝlšdwÍKxy¬+]‰"Ï9Ô/_â»M|3`ÙJ­ùwéf‚ŒÉ‰ÊR˜ˆ•à©ÚàšeIü"^¯>mï6ŸôœAòó<ÂùUy™7/«i4kÎß¼z;þ­€L00)ß}Xÿ+>ûåK¼Ù~¾[oëM—]­T²fB0uËåFÿî£F?Ý}xŸ±¯¿¾ˆÿ½úøûÝêÝbõyŸ}‰û°ÑÿãÕÆütw·}·1½ïW¿™Þóë¥Hx®‘wÛÏÛw¯¶êÎ.åúÃÇÍ|½þããÇíûµþ){ßý¾ým¯ëÓ·û½Éׯ6Û„™3Ýuç;¿Nš{ó¢¸>‘¾Kq¡ŽîŠÅD|&ú–ŒÏ ë›éЩº1­LÃúÜyS./ê«E{]/ê¶;yÞVñ™b $æôuÓVW×uõvÙÖ³à&Á’%‰Í¥›Ì7Á7õ­òí™þ
Hч`梒"œ H²¡Éæ‘‚"&›»DÔÙж…y‚±
¤¹…±®^,Úe9Ÿ½žÖeÞÖófÑ?€%øúÀ×¾> õ­Ïô‰J
p I…4 'ǒܦÎ2¶ÁPgSÍ›¼Í§Ëó*o/]‘ÜÉ}‘Ü÷#J¾LÞ—™¸  
2020-10-13 10:29:06,943 ERROR: Error syncing data: 100121 Sync error
2020-10-13 10:29:06,943 INFO: Disconnecting from server


Many thanks,
Ashley
Attachments
sync.log
(315.64 KiB) Downloaded 164 times
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Error downloading data with data viewer

Post by josh »

Based on the log it looks like the file 318a80c15518b36d$2abc663f-f66a-4a02-970b-67482708fe5e is the one that is corrupted. Try deleting that and sync again.
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Error downloading data with data viewer

Post by josh »

Looking more closely at this I believe the issue is that you have interviewers uploading data to Dropbox using CSPro 7.5 (this can happen if you do not disable auto-updates on Android) but you are trying to download the data using CSPro 7.4 on your PC. Please upgrade to CSPro 7.5 on the PC and it should work. We changed the format of the data stored in the Dropbox in CSPro 7.5. It is now compressed and CSPro 7.4 cannot read it.
asheffel
Posts: 23
Joined: July 14th, 2014, 9:07 am

Re: Error downloading data with data viewer

Post by asheffel »

I just tried upgrading to 7.5 and that worked. It also seems to work to remove the data from the one tablet and download with 7.4. It seems one of our data collectors must have auto-updates enabled and upgraded to 7.5 mid-way through data collection.

Thanks for the quick response and solution!
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Error downloading data with data viewer

Post by josh »

Glad it is working. For anyone else reading this and wondering how to disable auto-updates on Android see this https://www.csprousers.org/posts/2018-0 ... droid.html

Would strongly recommend disabling updates of CSEntry on any devices used in the field so that you can control when your devices are updated.
DuongTa
Posts: 1
Joined: October 15th, 2020, 2:13 pm

Re: Error downloading data with data viewer

Post by DuongTa »

Hi GUY,
I am having the same problem. Follow your suggestion, i am trying to download cspro 7.5 to install in my laptop but when clicking the download link i got this message: "You don't have permission to access "http://www.census.gov/data/software/cspro.Download.html" on this server". seem like it restricted to download the latest version in my country. But need it now, I am on the field. I need help now please!
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Error downloading data with data viewer

Post by josh »

You can download it from here https://www.csprousers.org/downloads/
pnyangau
Posts: 1
Joined: February 15th, 2024, 10:17 pm

Re: Error downloading data with data viewer

Post by pnyangau »

Hello Josh, I am having a similar issue. I'm using cspro 8.0 and all my data collectors are using the same version of cs entry. But am getting an error when trying to download the data from drop box using data viewer
justinlakier
Posts: 150
Joined: November 21st, 2022, 4:41 pm

Re: Error downloading data with data viewer

Post by justinlakier »

Hello,

If everyone is running cspro 8.0 there should not be a version mismatch issue. There may still be corrupted files. Could you attach (or email to cspro@lists.census.gov if confidential) your sync.log file found in CSPro under Help -> Troubleshooting, so we can see the exact details of what is causing this error?

Thank you,
Justin
Post Reply