Dictionary cannot be read by CSPro 7.0
Dictionary cannot be read by CSPro 7.0
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.
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.
-
- Posts: 1792
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Dictionary cannot be read by CSPro 7.0
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?
Is there a reason you can't just use CSPro 7.1?
Re: Dictionary cannot be read by CSPro 7.0
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.
The earlier version (made in 6.3) used text files and worked well with CSEntry 7.0 installed on the tablets.
-
- Posts: 1792
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Dictionary cannot be read by CSPro 7.0
You can use text files on CSPro 7.1.
Re: Dictionary cannot be read by CSPro 7.0
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?
When I re-enter the CSEntry app, all the data have gone. The data file on the tablet is empty.
Is this normal?
-
- Posts: 1792
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Dictionary cannot be read by CSPro 7.0
That isn't normal. What does your .pnc file look like?
Re: Dictionary cannot be read by CSPro 7.0
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=*.*
[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=*.*
-
- Posts: 1792
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Dictionary cannot be read by CSPro 7.0
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?
Might this be the case?
Re: Dictionary cannot be read by CSPro 7.0
No, the only .pff file present points to the correct datafile.
Do you have any other suggestion?
Do you have any other suggestion?
Re: Dictionary cannot be read by CSPro 7.0
It looks like I will have to go back to my 6.3 application...!