cancel
Showing results for 
Search instead for 
Did you mean: 

Touchgfx Designer: "Downloading application template failed" error.

Tomasz Ozon
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
Alexandre RENOUX
Principal

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

View solution in original post

13 REPLIES 13
Tomasz Ozon
Associate III

0693W000005CXjmQAG.png

Tomasz Ozon
Associate III

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
Principal

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

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
Principal

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
Associate

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

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

Could you also try to download TouchGFX 4.16 and give it a try to see if it helps in anyway?

Could you also share a screenshot of the error in Designer ? What browser are you using ?

Hi,

Thanks for your answer.

I tried on TouchGFX 4.16 version and it didn't work. Indeed I'm in a office network, so I tried to download the template with my personnal network and it worked. And now the downloading seems to work also with the office network.

Thanks !