Problem on Data Synchronization

Other discussions about CSPro
Post Reply
Phyo Ma
Posts: 3
Joined: November 5th, 2019, 4:40 am

Problem on Data Synchronization

Post by Phyo Ma » February 3rd, 2020, 3:50 am

May I ask you to help on data synchronization problem. I face synchronization problem between Interviewer and Supervisor. Interviewer send data to supervisor via bluetooth and got the message by supervisor that "Error connecting to server: Error getting Crop.pen not found" but receive data from Interviewer. Error message got by Interviewer is " Error Connecting to server: Server responded with error 196." Please reply me as soon as possible.

josh
Posts: 2140
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Problem on Data Synchronization

Post by josh » February 3rd, 2020, 8:25 am

That is most likely because you have a call to syncifle(GET,...) to get the file crop.pen that is failing because the path to the file is not correct. The path to the file should be relative to the directory the application is on on the supervisor device. If you look in the sync.log you can see the paths that it is using and adjust your logic.

Phyo Ma
Posts: 3
Joined: November 5th, 2019, 4:40 am

Re: Problem on Data Synchronization

Post by Phyo Ma » February 13th, 2020, 10:58 pm

Please explain where I can look the sync.log file? I check the path of syncfile is correct. At the same time, I face the same problem between supervisor and headquarter. Please help me on this problem. Our survey will conduct soon. So I must solve this problem. I want to know that I may lose data or not with this current problem, please explain me.

Gregory Martin
Posts: 1309
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Problem on Data Synchronization

Post by Gregory Martin » February 18th, 2020, 7:49 am

Take a look at this page: http://www.csprousers.org/posts/2017-08 ... cspro.html

Under "Use of Log Files," it shows where you can find the sync.log file. These are text files and you can open them and see the details about your synchronization operation.

If you cannot solve the problem by looking at the details in that log, you can send the log to cspro@lists.census.gov, or post it here, and we'll try to figure out the problem.

Post Reply