2021-06-30 01:21 AM
Hello
I tried to open an 4.16.0 application in the new TouchGfx version 4.17.0. I'm getting the error "This project is corrupt or cannot be found".
What can I do to migrate the project to version 4.17.0?
Thanks
/Marco
2021-06-30 02:10 AM
Hi,
This is an odd issue, to migrate a project you should just have to open it with TouchGFX 4.17. Are you working on a custom board or did you start your project from an application template (now called TouchGFX Board Setup) for one of ST development boards? Could you share your project by any chance ? What is your project path ?
/Romain
2021-06-30 03:35 AM
Hi @Romain DIELEMAN
Thanks for your reply. I'm working with a custom board. Unfortunately I can't share the project. I migrated now manually (touchgfx file and excel file)
/Marco
2021-07-08 02:13 AM
Hi @Romain DIELEMAN : I get the same error when I try to upgrade the project to 4.17.0.
I opened the touchgfx designer 4.17.0 and tried to open the 4.16.0 application. Appears to be a problem with texts.xlsx
I am also attaching here the log for your reference.
let me know in case you need any additional details.
2021-07-08 05:38 AM
Hi,
Are you working on a custom board or on a ST development kit ?
Can you open the excel file in the <project name>/TouchGFX/assets/texts folder ?
Could you share your project by any chance ? Have you faced that error with multiple projects ?
/Romain
2021-07-09 01:34 AM
Could you share your excel sheet instead of the full project in the end ?
/Romain
2021-07-09 02:21 AM
Hi @Romain DIELEMAN ,
The texts.xlsx file has no problems or errors.
I had to spend some time to analyze the issue but I was able to fix it. Here is the description:
In Touchgfx version 4.16, the Touchgfx tool allowed to change the language name after it was created. Like here
Therefore in our application, we had the default language name changed from GB to EN.
I assume while performing the upgrade in Touchgfx 4.17.0 tool, the touchgfx looks for GB language in the texts.xlsx and when it doesn't find the GB key, the upgrade is aborted with the above error.
Hence I manually opened the text.xlsx and renamed EN to GB. Thereafter the upgrade to 4.17.0 was successful.
I am not sure if there are multiple causes for the above error.
If you wish to debug this further, your colleague @Martin KJELDSEN already has a copy of our project.
You could just borrow our project from him and easily reproduce the problem by trying to upgrade.
let me know if I still need to send you our project.
Regards,
Ashish
2021-07-09 02:28 AM
Hi,
Super :thumbs_up:, I'll throw a pen in his direction to ask him to send it to me and to the Designer team ;). Thank you for sharing the findings of your investigation.
/Romain