Skip to main content
Tomasz Ozon
Associate III
November 24, 2020
Solved

Touchgfx Designer: "Downloading application template failed" error.

  • November 24, 2020
  • 13 replies
  • 3494 views

I'm trying to create new project with STM32H7B3I-DK and the following error is reporter. Designer version 4.15.0

Log file contents from today:

2020-11-24 22:44:30,981 [1] INFO TouchGFXDesigner.App: Logging configured

2020-11-24 22:44:32,251 [1] INFO TouchGFXDesigner.Main.MainWindow: Application started

2020-11-24 22:44:32,251 [1] INFO TouchGFXDesigner.Main.MainWindow: Username: T

2020-11-24 22:44:32,251 [1] INFO TouchGFXDesigner.Main.MainWindow: Designer version: 4.15.0

2020-11-24 22:44:32,251 [1] INFO TouchGFXDesigner.Main.MainWindow: Designer installation path: D:\TouchGFX\4.15.0\designer

2020-11-24 22:44:32,251 [1] INFO TouchGFXDesigner.Main.MainWindow: Windows version: Microsoft Windows NT 6.1.7601 Service Pack 1

2020-11-24 22:44:32,251 [1] INFO TouchGFXDesigner.Main.MainWindow: Current culture: pl-PL

2020-11-24 22:44:32,261 [1] INFO TouchGFXDesigner.Main.MainWindow: Current culture time seperator: :

2020-11-24 22:44:32,261 [1] INFO TouchGFXDesigner.Main.MainWindow: Current culture date seperator: -

2020-11-24 22:44:32,261 [1] INFO TouchGFXDesigner.Main.MainWindow: Installed .NET version(s): v2.0.50727 2.0.50727.5420 SP2v3.0 3.0.30729.5420 SP2v3.5 3.5.30729.5420 SP1v4 (Client 4.7.03062 Full 4.7.03062 ) v4.0 (Client 4.0.0.0 ) 

2020-11-24 22:46:14,983 [12] INFO Utils.WebHandling.WebHandler: Downloading STM32H7B3I-DK-3.0.3.tpa

2020-11-24 22:46:14,983 [14] DEBUG TouchGFXPackages.Implementation.TouchGFXPackageStream: Filestream opened on D:\TouchGFX\4.15.0\app\packages\BlankUI-2.0.0.tpa

2020-11-24 22:46:27,233 [12] DEBUG TouchGFXPackages.Implementation.TouchGFXPackageStream: Filestream opened on C:\Users\T\AppData\Roaming\TouchGFX-4.15.0\Downloads\STM32H7B3I-DK\3.0.3\STM32H7B3I-DK-3.0.3.tpa

2020-11-24 22:46:31,753 [11] DEBUG TouchGFXPackages.Implementation.TouchGFXPackageStream: Filestream opened on C:\Users\T\AppData\Roaming\TouchGFX-4.15.0\Downloads\STM32H7B3I-DK\3.0.3\STM32H7B3I-DK-3.0.3.tpa

2020-11-24 22:46:31,753 [12] DEBUG TouchGFXPackages.Implementation.TouchGFXPackageStream: Filestream opened on D:\TouchGFX\4.15.0\app\packages\BlankUI-2.0.0.tpa

2020-11-24 22:46:31,823 [11] WARN TouchGFXPackages.Implementation.PackageManager: Invalid local package: STM32H7B3I-DK-3.0.3.tpa

2020-11-24 22:46:31,823 [11] INFO Utils.WebHandling.WebHandler: Downloading STM32H7B3I-DK-3.0.3.tpa

2020-11-24 22:46:39,533 [11] DEBUG TouchGFXPackages.Implementation.TouchGFXPackageStream: Filestream opened on C:\Users\T\AppData\Roaming\TouchGFX-4.15.0\Downloads\STM32H7B3I-DK\3.0.3\STM32H7B3I-DK-3.0.3.tpa

2020-11-24 22:50:41,754 [19] DEBUG TouchGFXPackages.Implementation.TouchGFXPackageStream: Filestream opened on C:\Users\T\AppData\Roaming\TouchGFX-4.15.0\Downloads\STM32H7B3I-DK\3.0.3\STM32H7B3I-DK-3.0.3.tpa

2020-11-24 22:50:41,754 [10] DEBUG TouchGFXPackages.Implementation.TouchGFXPackageStream: Filestream opened on D:\TouchGFX\4.15.0\app\packages\BlankUI-2.0.0.tpa

2020-11-24 22:50:41,854 [19] WARN TouchGFXPackages.Implementation.PackageManager: Invalid local package: STM32H7B3I-DK-3.0.3.tpa

2020-11-24 22:50:41,854 [19] INFO Utils.WebHandling.WebHandler: Downloading STM32H7B3I-DK-3.0.3.tpa

2020-11-24 22:50:50,594 [19] DEBUG TouchGFXPackages.Implementation.TouchGFXPackageStream: Filestream opened on C:\Users\T\AppData\Roaming\TouchGFX-4.15.0\Downloads\STM32H7B3I-DK\3.0.3\STM32H7B3I-DK-3.0.3.tpa

This topic has been closed for replies.
Best answer by Alexandre RENOUX

Hello,

Please load a page on your favorite browser before trying to create your project and tell me if you still have the issue.

/Alexandre

13 replies

Tomasz Ozon
Associate III
November 24, 2020

0693W000005CXjmQAG.png

Tomasz Ozon
Associate III
November 26, 2020

Dear ST. Are you still there?

The problem I've reported is probably easy to solve, just some minor compatibility issue, but your help is needed.

Alexandre RENOUX
Alexandre RENOUXBest answer
Visitor II
November 27, 2020

Hello,

Please load a page on your favorite browser before trying to create your project and tell me if you still have the issue.

/Alexandre

Tomasz Ozon
Associate III
November 27, 2020

Supprisingly it worked today just fine. I've tried yesterday and the result was not OK, but today it works. I'm sure it was not my internet connection, because I could see TouchGFX downloading some data and after that error message appeared.

Anyway, thank for helping with the issue, I can go back to my project now.

Alexandre RENOUX
Visitor II
November 30, 2020

Glad it is fine for you now :grinning_face:

It's not your internet connection that was the problem but simply the connection to the server where you have the Application Templates. Sorry about that.

If it happens again, doing what mentioned in my previous answer should fix the issue in most cases.

When your question is answered, please close this topic by choosing Select as Best.

/Alexandre

PLB
Visitor II
January 26, 2021

Hi,

I'm facing the same problem with the same board template only, despite having a page open on the browser and having a functionnal internet connection. The downloading fail at 21-22%. Here's the log file :

2021-01-26 09:35:39,384 [1] INFO TouchGFXDesigner.Main.MainWindow: Application closed
2021-01-26 09:36:09,472 [1] INFO TouchGFXDesigner.App: Logging configured
2021-01-26 09:36:09,638 [1] INFO TouchGFXDesigner.Main.MainWindow: Application started
2021-01-26 09:36:09,639 [1] INFO TouchGFXDesigner.Main.MainWindow: Username: PLB
2021-01-26 09:36:09,639 [1] INFO TouchGFXDesigner.Main.MainWindow: Designer version: 4.15.0
2021-01-26 09:36:09,640 [1] INFO TouchGFXDesigner.Main.MainWindow: Designer installation path: C:\TouchGFX\4.15.0\designer
2021-01-26 09:36:09,640 [1] INFO TouchGFXDesigner.Main.MainWindow: Windows version: Microsoft Windows NT 10.0.19042.0
2021-01-26 09:36:09,640 [1] INFO TouchGFXDesigner.Main.MainWindow: Current culture: fr-FR
2021-01-26 09:36:09,640 [1] INFO TouchGFXDesigner.Main.MainWindow: Current culture time seperator: :
2021-01-26 09:36:09,640 [1] INFO TouchGFXDesigner.Main.MainWindow: Current culture date seperator: /
2021-01-26 09:36:09,640 [1] INFO TouchGFXDesigner.Main.MainWindow: Installed .NET version(s): v2.0.50727 2.0.50727.4927 SP2v3.0 3.0.30729.4926 SP2v3.5 3.5.30729.4926 SP1v4 (Client 4.8.04084 Full 4.8.04084 ) v4.0 (Client 4.0.0.0 ) 
2021-01-26 09:36:23,800 [13] INFO Utils.WebHandling.WebHandler: Downloading STM32H7B3I-DK-3.0.3.tpa
2021-01-26 09:36:23,800 [15] DEBUG TouchGFXPackages.Implementation.TouchGFXPackageStream: Filestream opened on C:\TouchGFX\4.15.0\app\packages\BlankUI-2.0.0.tpa
2021-01-26 09:36:30,453 [13] ERROR Utils.WebHandling.WebHandler: Impossible d'accéder à un objet supprimé.
Nom de l'objet : 'System.Net.Sockets.NetworkStream'.
System.ObjectDisposedException: Impossible d'accéder à un objet supprimé.
Nom de l'objet : 'System.Net.Sockets.NetworkStream'.
 à System.Net.ConnectStream.EndRead(IAsyncResult asyncResult)
 à System.IO.Stream.<>c.<BeginEndReadAsync>b__43_1(Stream stream, IAsyncResult asyncResult)
 à System.Threading.Tasks.TaskFactory`1.FromAsyncTrimPromise`1.Complete(TInstance thisRef, Func`3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization)
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
 à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 à System.Net.Http.HttpClientHandler.WebExceptionWrapperStream.<ReadAsync>d__4.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
 à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 à Utils.WebHandling.FileDownloadUtil.<StreamDownloadAndReportProgress>d__1.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
 à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 à Utils.WebHandling.FileDownloadUtil.<DownloadFile>d__0.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
 à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 à Utils.WebHandling.WebHandler.DownloadFile(Uri uri, String filePath, Action`1 progress, Action completion, Action`1 bytesReceived)
2021-01-26 09:36:34,445 [5] INFO TouchGFXPackages.Implementation.FileDownloader: Take operation was canceled. IsCancellationRequested=True
2021-01-26 09:36:34,445 [6] INFO TouchGFXPackages.Implementation.FileDownloader: Take operation was canceled. IsCancellationRequested=True
2021-01-26 09:36:34,445 [7] INFO TouchGFXPackages.Implementation.FileDownloader: Take operation was canceled. IsCancellationRequested=True
2021-01-26 09:36:34,445 [8] INFO TouchGFXPackages.Implementation.FileDownloader: Take operation was canceled. IsCancellationRequested=True
2021-01-26 09:36:34,460 [9] INFO TouchGFXPackages.Implementation.FileDownloader: Take operation was canceled. IsCancellationRequested=True
2021-01-26 09:36:34,460 [1] INFO TouchGFXDesigner.Main.MainWindow: Application closed

Can I download the template from an other place ? Thanks

Romain DIELEMAN
ST Employee
January 26, 2021

Hi,

Here is a link to download the application template for the H7B3 dk board: the http://sw-center.st.com/touchgfx/pacman/4.16.0/STM32H7B3I-DK/STM32H7B3I-DK-3.0.4.zip

The issue could come from your firewall, are you downloading it on your private or office computer ?

/Romain

Mas1
Visitor II
January 25, 2022

@Romain DIELEMAN​ 

Hi

I'm having the same problem.

Tried your solutions but I was not successful.

Please find my screenshot attached as well.0693W00000JNBjTQAX.png 

Thanks,

Mas

Romain DIELEMAN
ST Employee
January 25, 2022

Hi,

Close TouchGFX Designer before opening a browser like Microsoft Edge and reopen it. This error message can also appear when your internet connection struggles downloading the packages due to its size/your internet connection speed. So you might need to try a few times unfortunately or download directly the TBS through this link for the STM32F469I Discovery kit:

https://sw-center-st-com.s3.eu-west-1.amazonaws.com/touchgfx/pacman/4.18.0/STM32F469I-DISCO/STM32F469I-DISCO-3.0.5.zip

/Romain

Mas1
Visitor II
January 25, 2022

@Romain DIELEMAN​ 

Thanks so much

it is fixed

Thanks for your prompt response