2024-10-28 09:15 AM
I am trying to create a project in Touchgfx designer 4.24.1 for STM32F469I-DISCO board but I always get "combination of board and Blank UI failed". I also tried with other boards without success. I am using fresh installed windows 10. I also tried to uninstall and install back again Touchgfx. Bellow is my log file from appdata/roaming...
2024-10-21 20:25:26,331 [1] INFO TouchGFXDesigner.Main.MainWindow: Current culture time seperator: :
2024-10-21 20:25:26,331 [1] INFO TouchGFXDesigner.Main.MainWindow: Current culture date seperator: /
2024-10-21 20:25:26,333 [1] INFO TouchGFXDesigner.Main.MainWindow: Installed .NET version(s): v4 (Client 4.8.09037 Full 4.8.09037 ) v4.0 (Client 4.0.0.0 )
2024-10-21 20:27:30,828 [11] INFO TouchGFXPackages.Implementation.FileDownloader: Take operation was canceled. IsCancellationRequested=True
2024-10-21 20:27:30,842 [1] INFO TouchGFXDesigner.Main.MainWindow: Application closed
2024-10-28 16:44:42,753 [1] INFO TouchGFXDesigner.App: Logging configured
2024-10-28 16:44:51,478 [11] INFO Utils.WebHandling.WebHandler: Downloading stm32-desc-7inch-1.png
2024-10-28 16:44:52,206 [11] ERROR Utils.WebHandling.WebHandler: One or more errors occurred. (Response status code does not indicate success: 404 (Not Found).)
System.AggregateException: One or more errors occurred. (Response status code does not indicate success: 404 (Not Found).)
---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Utils.WebHandling.FileDownloadUtil.DownloadFile(Uri uri, String filePath, IProgress`1 progress, Action completion, Action`1 bytesReceived, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Utils.WebHandling.WebHandler.DownloadFile(Uri uri, String filePath, IProgress`1 progress, Action completion, Action`1 bytesReceived, CancellationToken cancellationToken)
2024-10-28 16:44:52,754 [11] ERROR TouchGFXPackages.Implementation.FileDownloader: Failed to download: https://cdn.riverdi.com/wp-content/uploads/2022/07/stm32-desc-7inch-1.png
2024-10-28 16:44:52,754 [11] INFO Utils.WebHandling.WebHandler: Downloading stm32-desc-7inch-1.png
2024-10-28 16:44:52,838 [11] ERROR Utils.WebHandling.WebHandler: One or more errors occurred. (Response status code does not indicate success: 404 (Not Found).)
System.AggregateException: One or more errors occurred. (Response status code does not indicate success: 404 (Not Found).)
---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Utils.WebHandling.FileDownloadUtil.DownloadFile(Uri uri, String filePath, IProgress`1 progress, Action completion, Action`1 bytesReceived, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Utils.WebHandling.WebHandler.DownloadFile(Uri uri, String filePath, IProgress`1 progress, Action completion, Action`1 bytesReceived, CancellationToken cancellationToken)
2024-10-28 16:44:52,839 [11] ERROR TouchGFXPackages.Implementation.FileDownloader: Failed to download: https://cdn.riverdi.com/wp-content/uploads/2022/07/stm32-desc-7inch-1.png
2024-10-28 16:45:19,284 [1] INFO TouchGFXDesigner.Main.MainWindow: Application started
2024-10-28 16:45:19,284 [1] INFO TouchGFXDesigner.Main.MainWindow: Username: meme
2024-10-28 16:45:19,284 [1] INFO TouchGFXDesigner.Main.MainWindow: Designer version: 4.24.1
2024-10-28 16:45:19,284 [1] INFO TouchGFXDesigner.Main.MainWindow: Designer installation path: C:\TouchGFX\4.24.1\designer
2024-10-28 16:45:19,284 [1] INFO TouchGFXDesigner.Main.MainWindow: Windows version: Microsoft Windows NT 10.0.19045.0
2024-10-28 16:45:19,284 [1] INFO TouchGFXDesigner.Main.MainWindow: Current culture: en-US
2024-10-28 16:45:19,284 [1] INFO TouchGFXDesigner.Main.MainWindow: Current culture time seperator: :
2024-10-28 16:45:19,284 [1] INFO TouchGFXDesigner.Main.MainWindow: Current culture date seperator: /
2024-10-28 16:45:19,286 [1] INFO TouchGFXDesigner.Main.MainWindow: Installed .NET version(s): v4 (Client 4.8.09037 Full 4.8.09037 ) v4.0 (Client 4.0.0.0 )
2024-10-28 16:46:13,369 [11] INFO Utils.WebHandling.WebHandler: Downloading stm32-desc-7inch-1.png
2024-10-28 16:46:13,542 [11] ERROR Utils.WebHandling.WebHandler: One or more errors occurred. (Response status code does not indicate success: 404 (Not Found).)
System.AggregateException: One or more errors occurred. (Response status code does not indicate success: 404 (Not Found).)
---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Utils.WebHandling.FileDownloadUtil.DownloadFile(Uri uri, String filePath, IProgress`1 progress, Action completion, Action`1 bytesReceived, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Utils.WebHandling.WebHandler.DownloadFile(Uri uri, String filePath, IProgress`1 progress, Action completion, Action`1 bytesReceived, CancellationToken cancellationToken)
2024-10-28 16:46:13,542 [11] ERROR TouchGFXPackages.Implementation.FileDownloader: Failed to download: https://cdn.riverdi.com/wp-content/uploads/2022/07/stm32-desc-7inch-1.png
2024-10-28 16:46:45,220 [.NET ThreadPool Worker] DEBUG TouchGFXPackages.Implementation.TouchGFXPackageStream: Filestream opened on C:\Users\meme\AppData\Roaming\TouchGFX-4.24.1\Downloads\STM32F469I-DISCO-REV-AU1\3.0.7\STM32F469I-DISCO-REV-AU1-3.0.7.tpa
2024-10-28 16:46:45,311 [.NET ThreadPool Worker] DEBUG TouchGFXPackages.Implementation.TouchGFXPackageStream: Filestream opened on C:\TouchGFX\4.24.1\app\packages\BlankUI-2.0.0.tpa
2024-10-28 16:46:45,331 [.NET ThreadPool Worker] DEBUG TouchGFXPackages.Implementation.TouchGFXPackageStream: Filestream opened on C:\Users\meme\AppData\Roaming\TouchGFX-4.24.1\Downloads\STM32F469I-DISCO-REV-AU1\3.0.7\STM32F469I-DISCO-REV-AU1-3.0.7.tpa
2024-10-28 16:46:45,594 [.NET ThreadPool Worker] DEBUG TouchGFXPackages.Implementation.TouchGFXPackageStream: Filestream opened on C:\TouchGFX\4.24.1\app\packages\BlankUI-2.0.0.tpa
2024-10-28 16:46:46,181 [.NET ThreadPool Worker] ERROR TouchGFXDomainModel.LoadSave.LoadSave: Failed to load native freetype library!
System.IO.FileLoadException: Failed to load native freetype library!
at TouchGFX.FreeTypeSharp.Native.FT.ImportResolver(String libraryName, Assembly assembly, Nullable`1 searchPath) in C:\jenkins\workspace\touchgfx-0\designer\TouchGFX.FreeTypeSharp\Native\FT.Methods.cs:line 91
at System.Runtime.InteropServices.NativeLibrary.LoadLibraryCallbackStub(String libraryName, Assembly assembly, Boolean hasDllImportSearchPathFlags, UInt32 dllImportSearchPathFlags)
at TouchGFX.FreeTypeSharp.Native.FT.FT_Init_FreeType(IntPtr& alibrary)
at TouchGFX.FreeTypeSharp.Library..ctor() in C:\jenkins\workspace\touchgfx-0\designer\TouchGFX.FreeTypeSharp\Library.cs:line 25
at TouchGFX.TextRenderer.FontService.InitializeLibrary() in C:\jenkins\workspace\touchgfx-0\designer\TouchGFX.TextRenderer\FontService.cs:line 50
at TouchGFX.TextRenderer.FontService..ctor() in C:\jenkins\workspace\touchgfx-0\designer\TouchGFX.TextRenderer\FontService.cs:line 44
at TouchGFXDomainModel.Texts.Models.LanguageSetting.Initialize()
at TouchGFXDomainModel.Texts.Models.LanguageSetting..ctor()
at TouchGFXDomainModel.Texts.Models.Typography..ctor(String id)
at TouchGFXDomainModel.Texts.TextUtils.AddDefaultTypographies(TextDatabase textDatabase)
at TouchGFXDomainModel.Texts.TextUtils.InitalizeTextDatabase(TextDatabase textDatabase)
at TouchGFXDomainModel.LoadSave.TextDatabaseV2.TextDatabasePersister.Load(String textsXmlFile, List`1 fonts, Boolean vectorFontAllowed)
at TouchGFXDomainModel.LoadSave.Serial.FromSerial.Convert(SerialApplication a)
at TouchGFXDomainModel.LoadSave.Serial.FromSerial.Convert(SerialModel m)
at TouchGFXDomainModel.LoadSave.LoadSave.LoadDotTouchgfx(String filename, Boolean createBackup)
at TouchGFXDomainModel.LoadSave.LoadSave.Load(String filename, Boolean createBackup)
2024-10-28 16:46:46,401 [2] ERROR TouchGFXDesigner.App: Failed to load native freetype library!
System.IO.FileLoadException: Failed to load native freetype library!
at TouchGFX.FreeTypeSharp.Native.FT.ImportResolver(String libraryName, Assembly assembly, Nullable`1 searchPath) in C:\jenkins\workspace\touchgfx-0\designer\TouchGFX.FreeTypeSharp\Native\FT.Methods.cs:line 91
at System.Runtime.InteropServices.NativeLibrary.LoadLibraryCallbackStub(String libraryName, Assembly assembly, Boolean hasDllImportSearchPathFlags, UInt32 dllImportSearchPathFlags)
at TouchGFX.FreeTypeSharp.Native.FT.FT_Done_FreeType(IntPtr library)
at TouchGFX.FreeTypeSharp.Library.Dispose(Boolean disposing) in C:\jenkins\workspace\touchgfx-0\designer\TouchGFX.FreeTypeSharp\Library.cs:line 416
at TouchGFX.FreeTypeSharp.Library.Finalize() in C:\jenkins\workspace\touchgfx-0\designer\TouchGFX.FreeTypeSharp\Library.cs:line 54
2024-10-28 16:46:47,331 [.NET ThreadPool Worker] ERROR TouchGFXDomainModel.LoadSave.LoadSave: Failed to load native freetype library!
System.IO.FileLoadException: Failed to load native freetype library!
at TouchGFX.FreeTypeSharp.Native.FT.ImportResolver(String libraryName, Assembly assembly, Nullable`1 searchPath) in C:\jenkins\workspace\touchgfx-0\designer\TouchGFX.FreeTypeSharp\Native\FT.Methods.cs:line 91
at System.Runtime.InteropServices.NativeLibrary.LoadLibraryCallbackStub(String libraryName, Assembly assembly, Boolean hasDllImportSearchPathFlags, UInt32 dllImportSearchPathFlags)
at TouchGFX.FreeTypeSharp.Native.FT.FT_Init_FreeType(IntPtr& alibrary)
at TouchGFX.FreeTypeSharp.Library..ctor() in C:\jenkins\workspace\touchgfx-0\designer\TouchGFX.FreeTypeSharp\Library.cs:line 25
at TouchGFX.TextRenderer.FontService.InitializeLibrary() in C:\jenkins\workspace\touchgfx-0\designer\TouchGFX.TextRenderer\FontService.cs:line 50
at TouchGFX.TextRenderer.FontService..ctor() in C:\jenkins\workspace\touchgfx-0\designer\TouchGFX.TextRenderer\FontService.cs:line 44
at TouchGFXDomainModel.Texts.Models.LanguageSetting.Initialize()
at TouchGFXDomainModel.Texts.Models.LanguageSetting..ctor()
at TouchGFXDomainModel.Texts.Models.Typography..ctor(String id)
at TouchGFXDomainModel.Texts.TextUtils.AddDefaultTypographies(TextDatabase textDatabase)
at TouchGFXDomainModel.Texts.TextUtils.InitalizeTextDatabase(TextDatabase textDatabase)
at TouchGFXDomainModel.LoadSave.TextDatabaseV2.TextDatabasePersister.Load(String textsXmlFile, List`1 fonts, Boolean vectorFontAllowed)
at TouchGFXDomainModel.LoadSave.Serial.FromSerial.Convert(SerialApplication a)
at TouchGFXDomainModel.LoadSave.Serial.FromSerial.Convert(SerialModel m)
at TouchGFXDomainModel.LoadSave.LoadSave.LoadDotTouchgfx(String filename, Boolean createBackup)
at TouchGFXDomainModel.LoadSave.LoadSave.Load(String filename, Boolean createBackup)
2024-10-28 16:58:59,090 [1] INFO TouchGFXDesigner.App: Logging configured
2024-10-28 16:59:06,998 [11] INFO Utils.WebHandling.WebHandler: Downloading stm32-desc-7inch-1.png
2024-10-28 16:59:07,637 [11] ERROR Utils.WebHandling.WebHandler: One or more errors occurred. (Response status code does not indicate success: 404 (Not Found).)
System.AggregateException: One or more errors occurred. (Response status code does not indicate success: 404 (Not Found).)
---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Utils.WebHandling.FileDownloadUtil.DownloadFile(Uri uri, String filePath, IProgress`1 progress, Action completion, Action`1 bytesReceived, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Utils.WebHandling.WebHandler.DownloadFile(Uri uri, String filePath, IProgress`1 progress, Action completion, Action`1 bytesReceived, CancellationToken cancellationToken)
2024-10-28 16:59:07,693 [11] ERROR TouchGFXPackages.Implementation.FileDownloader: Failed to download: https://cdn.riverdi.com/wp-content/uploads/2022/07/stm32-desc-7inch-1.png
2024-10-28 16:59:07,694 [11] INFO Utils.WebHandling.WebHandler: Downloading stm32-desc-7inch-1.png
2024-10-28 16:59:07,775 [11] ERROR Utils.WebHandling.WebHandler: One or more errors occurred. (Response status code does not indicate success: 404 (Not Found).)
System.AggregateException: One or more errors occurred. (Response status code does not indicate success: 404 (Not Found).)
---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Utils.WebHandling.FileDownloadUtil.DownloadFile(Uri uri, String filePath, IProgress`1 progress, Action completion, Action`1 bytesReceived, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Utils.WebHandling.WebHandler.DownloadFile(Uri uri, String filePath, IProgress`1 progress, Action completion, Action`1 bytesReceived, CancellationToken cancellationToken)
2024-10-28 16:59:07,775 [11] ERROR TouchGFXPackages.Implementation.FileDownloader: Failed to download: https://cdn.riverdi.com/wp-content/uploads/2022/07/stm32-desc-7inch-1.png
2024-10-28 17:00:19,377 [1] INFO TouchGFXDesigner.Main.MainWindow: Application started
2024-10-28 17:00:19,378 [1] INFO TouchGFXDesigner.Main.MainWindow: Username: meme
2024-10-28 17:00:19,378 [1] INFO TouchGFXDesigner.Main.MainWindow: Designer version: 4.24.1
2024-10-28 17:00:19,378 [1] INFO TouchGFXDesigner.Main.MainWindow: Designer installation path: C:\TouchGFX\4.24.1\designer
2024-10-28 17:00:19,378 [1] INFO TouchGFXDesigner.Main.MainWindow: Windows version: Microsoft Windows NT 10.0.19045.0
2024-10-28 17:00:19,378 [1] INFO TouchGFXDesigner.Main.MainWindow: Current culture: en-US
2024-10-28 17:00:19,378 [1] INFO TouchGFXDesigner.Main.MainWindow: Current culture time seperator: :
2024-10-28 17:00:19,378 [1] INFO TouchGFXDesigner.Main.MainWindow: Current culture date seperator: /
2024-10-28 17:00:19,418 [1] INFO TouchGFXDesigner.Main.MainWindow: Installed .NET version(s): v4 (Client 4.8.09037 Full 4.8.09037 ) v4.0 (Client 4.0.0.0 )
2024-10-28 17:01:43,117 [11] INFO Utils.WebHandling.WebHandler: Downloading stm32-desc-7inch-1.png
2024-10-28 17:01:43,339 [11] ERROR Utils.WebHandling.WebHandler: One or more errors occurred. (Response status code does not indicate success: 404 (Not Found).)
System.AggregateException: One or more errors occurred. (Response status code does not indicate success: 404 (Not Found).)
---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Utils.WebHandling.FileDownloadUtil.DownloadFile(Uri uri, String filePath, IProgress`1 progress, Action completion, Action`1 bytesReceived, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Utils.WebHandling.WebHandler.DownloadFile(Uri uri, String filePath, IProgress`1 progress, Action completion, Action`1 bytesReceived, CancellationToken cancellationToken)
2024-10-28 17:01:43,339 [11] ERROR TouchGFXPackages.Implementation.FileDownloader: Failed to download: https://cdn.riverdi.com/wp-content/uploads/2022/07/stm32-desc-7inch-1.png
2024-10-28 17:01:47,908 [.NET ThreadPool Worker] DEBUG TouchGFXPackages.Implementation.TouchGFXPackageStream: Filestream opened on C:\TouchGFX\4.24.1\app\packages\Simulator-2.0.0.tpa
2024-10-28 17:01:47,968 [.NET ThreadPool Worker] DEBUG TouchGFXPackages.Implementation.TouchGFXPackageStream: Filestream opened on C:\TouchGFX\4.24.1\app\packages\BlankUI-2.0.0.tpa
2024-10-28 17:01:47,969 [.NET ThreadPool Worker] DEBUG TouchGFXPackages.Implementation.TouchGFXPackageStream: Filestream opened on C:\TouchGFX\4.24.1\app\packages\BlankUI-2.0.0.tpa
2024-10-28 17:03:05,195 [.NET ThreadPool Worker] INFO Utils.WebHandling.WebHandler: Downloading STM32C071RB_NUCLEO-3.0.1.tpa
2024-10-28 17:03:06,645 [.NET ThreadPool Worker] DEBUG TouchGFXPackages.Implementation.TouchGFXPackageStream: Filestream opened on C:\Users\meme\AppData\Roaming\TouchGFX-4.24.1\Downloads\STM32C071RB_NUCLEO\3.0.1\STM32C071RB_NUCLEO-3.0.1.tpa
2024-10-28 17:03:06,659 [.NET ThreadPool Worker] DEBUG TouchGFXPackages.Implementation.TouchGFXPackageStream: Filestream opened on C:\TouchGFX\4.24.1\app\packages\BlankUI-2.0.0.tpa
B
Solved! Go to Solution.
2024-10-31 03:48 AM
Found the solution. I was missing VC++ similar to this post: https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/touchgfx-crashes-on-project-creation/td-p/578159
Best regards,
2024-10-29 03:47 AM
Hello,
Is that an error thrown by the TouchGFX designer?
What "Riverdi" is doing here? Are you sure you are starting with STM32F469I-DISCO board not with a Riverdi board?
2024-10-28 16:59:07,775 [11] ERROR TouchGFXPackages.Implementation.FileDownloader: Failed to download: https://cdn.riverdi.com/wp-content/uploads/2022/07/stm32-desc-7inch-1.png
2024-10-29 09:02 AM - edited 2024-10-29 09:15 AM
Yes this is an error thrown by Touchgfx Designer.
I definitely tried to create a project with STM32F469I-DISCO board, without success. After that I also tried to create only simulator project with no board but also failed. Then I also tried with other boards but I don't remember trying Riverdi.
2024-10-29 09:25 AM
@GaetanGodart any thoughts?
2024-10-30 07:25 AM
Hello @MAnto.2 ,
Someone had a similar issue here : https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/combination-of-stm-blank-ui-failed-can-any-one-help-please/td-p/199770
The solution for them was to close TouchGFX Designer, then open a web browser (Edge recommended) and then open again TouchGFX Designer.
Can you try that and tell me if that helps?
Regards,
2024-10-31 01:58 AM
2024-10-31 03:34 AM
Some more info (maybe it will help) @GaetanGodart @SofLit
When I press Create button it starts creating the project but fails at about 90% then Touchgfx crashes.
After that I tried to open the "partialy created" project but I got an error: Failed to load native Freetype library! could not open file.
2024-10-31 03:48 AM
Found the solution. I was missing VC++ similar to this post: https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/touchgfx-crashes-on-project-creation/td-p/578159
Best regards,