partial save not working and crashing upon save

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
anisehbro
Posts: 28
Joined: November 29th, 2016, 12:22 pm

partial save not working and crashing upon save

Post 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
htuser
Posts: 631
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Re: partial save not working and crashing upon save

Post 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,
G.VOLNY, a CSProuser from Haiti, since 2004
anisehbro
Posts: 28
Joined: November 29th, 2016, 12:22 pm

Re: partial save not working and crashing upon save

Post 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.
htuser
Posts: 631
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Re: partial save not working and crashing upon save

Post 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,
G.VOLNY, a CSProuser from Haiti, since 2004
anisehbro
Posts: 28
Joined: November 29th, 2016, 12:22 pm

Re: partial save not working and crashing upon save

Post 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?
htuser
Posts: 631
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Re: partial save not working and crashing upon save

Post 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,
G.VOLNY, a CSProuser from Haiti, since 2004
anisehbro
Posts: 28
Joined: November 29th, 2016, 12:22 pm

Re: partial save not working and crashing upon save

Post 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
Post Reply