2020-01-16 01:24 PM
Hi,
I am unable to update embedded software packages.
To update I select "Manage embedded software packages" menu item. Packages manager window opens. I see "Check Firmware & Software. Download File updaters.zip" but progress bar stays at 0 bytes. After a while error "Problem during Download of File" is shown. At the top of Software Packages manager I see "Releases Information was last refreshed 18277 days ago".
I managed to find ide log and there are the following errors in it:
2020-01-17 00:27:57,168 [INFO] Updater:886 - Updater Version found : 5.5.0
2020-01-17 00:27:57,210 [INFO] ApplicationProperties:181 - Using Application install path: C:\ST\STM32CubeIDE_1.1.0\STM32CubeIDE\plugins\com.st.stm32cube.common.mx_5.5.0.201912201511
2020-01-17 00:27:58,512 [INFO] MainUpdater:2230 - connection check result : 10
2020-01-17 00:27:58,512 [INFO] MainUpdater:2874 - Updater definition file requires update
2020-01-17 00:27:58,512 [INFO] MainUpdater:236 - Updater Check For Update Now.
2020-01-17 00:27:58,519 [INFO] MicroXplorer:420 - Change Database Version : DB.5.0.50
2020-01-17 00:27:58,534 [INFO] MainUpdater:2230 - connection check result : 10
2020-01-17 00:27:58,534 [INFO] ServerAccessManage:348 - Download File updaters.zip
2020-01-17 00:27:58,534 [ERROR] ServerAccessManage:412 - IOException during http download : C:\Users\Р�?митрий\.stm32cubemx\plugins\updater\temp\updaters.zip.tmp (Си�?теме не удает�?�? найти указанный путь)
2020-01-17 00:27:58,612 [ERROR] ServerAccessManage:517 - Problem during Download of File : updaters.zip.
2020-01-17 00:27:58,850 [INFO] ServerAccessManage:348 - Download File updaters.zip
2020-01-17 00:27:58,850 [ERROR] ServerAccessManage:412 - IOException during http download : C:\Users\Р�?митрий\.stm32cubemx\plugins\updater\temp\updaters.zip.tmp (Си�?теме не удает�?�? найти указанный путь)
2020-01-17 00:27:58,883 [ERROR] ServerAccessManage:517 - Problem during Download of File : updaters.zip.
2020-01-17 00:27:58,964 [INFO] LoadServerUpdatesThread:301 - End of LoadServerUpdate Thread
2020-01-17 00:27:59,235 [INFO] CheckServerUpdateThread:92 - End of CheckServer Thread
Why does updater try to save temporary file into folder C:\Users\Р�?митрий instead of my user folder C:/Users/Дмитрий ?
thanks,
Dmitri
2020-01-16 01:44 PM
Another error found:
2020-01-17 00:42:31,871 [DEBUG] ServerAccessManage:908 - Connection Successful http 200
2020-01-17 00:42:31,871 [DEBUG] ServerAccessManage:1059 - Open Http connection execution time : 187 ms.
2020-01-17 00:42:31,871 [INFO] ServerAccessManage:348 - Download File updaters.zip
2020-01-17 00:42:31,871 [DEBUG] ServerAccessManage:357 - Start download
2020-01-17 00:42:31,871 [ERROR] ServerAccessManage:412 - IOException during http download : C:\Users\Р”РСпСвЂ�?ЅР В РЎвЂ�трРСвЂ�Р в„–\.stm32cubemx\plugins\updater\temp\updaters.zip.tmp (Си�?теме не удает�?�? найти указанный путь)
2020-01-17 00:42:31,902 [ERROR] LogOutputStream:74 - [STDERR_REDIRECT] java.io.FileNotFoundException: C:\Users\Д��тр�й\.stm32cubemx\plugins\updater\temp\updaters.zip.tmp (??????? ?? ??????? ????? ????????? ????)
2020-01-17 00:42:31,902 [ERROR] LogOutputStream:74 - [STDERR_REDIRECT] at java.io.FileOutputStream.open0(Native Method)
2020-01-17 00:42:31,902 [ERROR] LogOutputStream:74 - [STDERR_REDIRECT] at java.io.FileOutputStream.open(FileOutputStream.java:270)
2020-01-17 00:42:31,902 [ERROR] LogOutputStream:74 - [STDERR_REDIRECT] at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
2020-01-17 00:42:31,902 [ERROR] LogOutputStream:74 - [STDERR_REDIRECT] at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
2020-01-17 00:42:31,902 [ERROR] LogOutputStream:74 - [STDERR_REDIRECT] at com.st.microxplorer.plugins.updater.engine.ServerAccessManage.readHttpFile(ServerAccessManage.java:364)
2020-01-17 00:42:31,918 [ERROR] LogOutputStream:74 - [STDERR_REDIRECT] at com.st.microxplorer.plugins.updater.engine.LoadServerUpdatesThread.downloadUpdaterFile(LoadServerUpdatesThread.java:531)
2020-01-17 00:42:31,918 [ERROR] LogOutputStream:74 - [STDERR_REDIRECT] at com.st.microxplorer.plugins.updater.engine.LoadServerUpdatesThread.performDescriptionUpdate(LoadServerUpdatesThread.java:324)
2020-01-17 00:42:31,918 [ERROR] LogOutputStream:74 - [STDERR_REDIRECT] at com.st.microxplorer.plugins.updater.engine.LoadServerUpdatesThread.performFullUpdate(LoadServerUpdatesThread.java:344)
2020-01-17 00:42:31,918 [ERROR] LogOutputStream:74 - [STDERR_REDIRECT] at com.st.microxplorer.plugins.updater.engine.LoadServerUpdatesThread.run(LoadServerUpdatesThread.java:249)
2020-01-17 00:42:31,918 [ERROR] ServerAccessManage:517 - Problem during Download of File : updaters.zip.
2020-02-04 01:56 PM
Hello! Привет!
I have the same problem. It appears that STM32Cube has trouble working with file paths containing non-Latin characters, in this case, Cyrillic. My hypothesis is that characters like 'ё' and 'й' are causing more trouble than just Д or Л.
I don't know a workaround for the issue at his point. Please post in this thread if you find a solution.
2020-02-17 10:03 AM
Workaround I found is to edit C:\Users\Дмитрий\.stm32cubemx\plugins\updater\updater.ini to replace value of UpdaterPath in section [Path] with short 8.3 name, in my case it is C:/Users/AACE~1/.stm32cubemx/plugins/updater/
It allowed to start updater properly.
thanks,
Dmitri