Page 1 of 1

partial save not working and crashing upon save

Posted: September 23rd, 2017, 6:13 am
by anisehbro
Hello,
I am getting an error "Error: Cannot save the case" when I try to partial save.
The program also crashes (without saving) when reaching the end of the survey.
These are new errors for me, I have been able to partially save and complete cases without any problems on this survey, but I am assuming that I have introduced a bug at some point in one of the updates.
Any idea of why this is happening?
Aniseh

Re: partial save not working and crashing upon save

Posted: September 23rd, 2017, 9:16 am
by htuser
Hi Anisehbro,
Usually an application is unable to be saved by Cspro, when there's no ID Items (IDS0). Please very if ID Item exist before saving.
But, for more advanced help, it's very difficult for an user to help you without testing your application, at least seeing a video of the run.
Please post the complete video of the Crash on the forum or send the application by private message on the forum.
Maybe, i can understand the issue and help you.

Best regards,

Re: partial save not working and crashing upon save

Posted: September 23rd, 2017, 11:04 am
by anisehbro
Thank you htuser,
I tried to take out an ID item that had a skip pattern, in case that was creating the problem. After trying to create the .pff I got the error message: Entry Message (W 10102) - The data dictionary used to open the data file does not match the dictionary used to create it.

Now, I am unable to test the instrument, and I am not sure how to fix the problem I created.

Re: partial save not working and crashing upon save

Posted: September 23rd, 2017, 11:30 am
by htuser
To deal with this problem, try two options:
1.- If you're in testing period: Delete data file and use a new data file. If you use Csweb, you must delete associated dcf and upload it again ;
2. If you already collect data: Your only option is to reformat.

If two options fails, please send to me a copy of the application via private message on this forum.
Best regards,

Re: partial save not working and crashing upon save

Posted: September 23rd, 2017, 11:36 am
by anisehbro
Thank you htuser,
I ended re-creating the exact same variables (and specifications) that I had deleted based from the original dictionary, and it fixed the problem.
I also was able to use the partial save, but only when I deleted the skip logic in one of the ID variables... does this mean that skip logic is not allowed in ID variables?

Re: partial save not working and crashing upon save

Posted: September 23rd, 2017, 12:30 pm
by htuser
No, it's not allowed, since ID Items are the keys, primaries keys of Csentry's case. ID Items can't be empty.
Best Regards,

Re: partial save not working and crashing upon save

Posted: September 23rd, 2017, 3:58 pm
by anisehbro
Hi htuser,
Although I am able to save cases now, the program still crashes after I finish saving a new case (without losing the saved case)
Any ideas?
Aniseh