Page 1 of 2
Dictionary cannot be read by CSPro 7.0
Posted: April 4th, 2018, 7:18 am
by wimneel
Hi,
I created an application in CSPro 7.1 (actually it was an existing application, made in CSPro 6.3, to which I made a few changes in 7.1).
When I try to open it in CSPro 7.0 an error message says "This dictionary cannot be read by CSPro 7.0".
Can anybody tell me what the incompatibilities between the two versions are?
I did not change much in the dictionary; I removed a few questions, added a few new ones, changed the order of some of the questions, adapted the logic, and in the Data Entry Options I unchecked "Show field labels above questions text". The application seems to run well on my PC but there are problems with the data files on the tablets, after synchronization (using a .pnc file).
So I wanted to check if thinks work better using 7.0.
I will be grateful for any help.
Re: Dictionary cannot be read by CSPro 7.0
Posted: April 4th, 2018, 7:55 am
by Gregory Martin
When using CSPro DB files, the dictionary version is stored in the file, and the way things are now, you can't move back to an older version of CSPro. In fact, the dictionary format did not change from 7.0 to 7.1, so this is a limitation we hope to remove in the future, because you should be able to read a 7.1 dictionary in 7.0.
Is there a reason you can't just use CSPro 7.1?
Re: Dictionary cannot be read by CSPro 7.0
Posted: April 4th, 2018, 8:24 am
by wimneel
Are you saying I can't use text files for data files in 7.1?
The earlier version (made in 6.3) used text files and worked well with CSEntry 7.0 installed on the tablets.
Re: Dictionary cannot be read by CSPro 7.0
Posted: April 4th, 2018, 9:29 am
by Gregory Martin
You can use text files on CSPro 7.1.
Re: Dictionary cannot be read by CSPro 7.0
Posted: April 4th, 2018, 12:05 pm
by wimneel
What is happening is the following. With CSEntry 7.1 and my application - made in CSPro 7.1 - installed on Android tablets, I complete one case (one interview) without problems. Then I synchronize it with an FTP server and that also works fine. I checked and the file on the server is containing all the answers for one case. Data files are text files and synchronization is done by old-fashioned .pnc files.
When I re-enter the CSEntry app, all the data have gone. The data file on the tablet is empty.
Is this normal?
Re: Dictionary cannot be read by CSPro 7.0
Posted: April 4th, 2018, 3:19 pm
by Gregory Martin
That isn't normal. What does your .pnc file look like?
Re: Dictionary cannot be read by CSPro 7.0
Posted: April 4th, 2018, 3:49 pm
by wimneel
Something like this:
[SyncFile]
Version=CSPro 7.1
Description=**************
[Connection]
Type=FTP
Host=ftp://***.com/
Username=****
Password=*****
[Sync]
CreateServerPath=/appname/Data
CreateServerPath=/appname/Data/%UID%
CreateServerPath=/appname/Data/%UID%/%DATETIME%
ServerPath=/appname/Data/%UID%/%DATETIME%
CreateClientPath=/Appname
CreateClientPath=/Appname/Data
ClientPath=/Appname/Data/
Put=*.*
ClientPath=/Appname
ServerPath=/appname
Get=*.*
Re: Dictionary cannot be read by CSPro 7.0
Posted: April 5th, 2018, 7:28 am
by Gregory Martin
Nothing in your file immediately makes me think that there is a problem. One thing I would check is whether, when you GET the files from Appname, whether you are getting a PFF file that connects to a different data file. If that were the case, then when you open your application next, you would see no cases.
Might this be the case?
Re: Dictionary cannot be read by CSPro 7.0
Posted: April 5th, 2018, 8:12 am
by wimneel
No, the only .pff file present points to the correct datafile.
Do you have any other suggestion?
Re: Dictionary cannot be read by CSPro 7.0
Posted: April 6th, 2018, 11:41 am
by wimneel
It looks like I will have to go back to my 6.3 application...!