Package Details: stm32cubeprog 2.15.0-1

Git Clone URL: https://aur.archlinux.org/stm32cubeprog.git (read-only, click to copy)
Package Base: stm32cubeprog
Description: An all-in-one multi-OS software tool for programming STM32 products.
Upstream URL: https://www.st.com/en/development-tools/stm32cubeprog.html
Keywords: programmer stm32
Licenses: custom:SLA0048
Provides: stm32cubeprogrammer
Submitter: yjun
Maintainer: taotieren (GPereira, akumaexs)
Last Packager: taotieren
Votes: 7
Popularity: 0.009418
First Submitted: 2021-01-15 20:39 (UTC)
Last Updated: 2024-03-01 12:45 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

dllcoolj commented on 2024-02-10 14:34 (UTC)

URLs within PKGBUILD no longer resolve.

  -> Downloading en.stm32cubeprg-lin-v2-14-0.zip...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
==> ERROR: Failure while downloading https://www.st.com
    Aborting...

adlerweb commented on 2023-12-24 14:53 (UTC)

Can confirm xdotool failing, probably depending on resolution and/or dpi-setting.

ThePirate42 commented on 2023-10-14 12:33 (UTC)

xdotool misclicks the "Accept License agreement" part. Maybe the area to click is smaller for some reason on my pc?

Cryen commented on 2023-10-04 11:24 (UTC) (edited on 2023-10-04 11:26 (UTC) by Cryen)

Same issue as greve. Additionally the package sets different installation path than it used to before and now I have 2 versions installed simultaneously.
Uninstalling the package removed the old 2.13 version but the 2.14 remained on the system.
(probably because of the "error" after installation)
Btw, I'm using paru and it is the same exact error.

greve commented on 2023-07-20 10:28 (UTC) (edited on 2023-07-20 11:51 (UTC) by greve)

Installation wizard runs successfully, but yay throws an error after I click Done in the installation wizard.

==> Starting build()...

please wait for minutes ......

./SetupSTM32CubeProgrammer-2.14.0.linux
/home/nico/.cache/yay/stm32cubeprog/src
chdir /home/nico/.cache/yay/stm32cubeprog/src/.
current dir /home/nico/.cache/yay/stm32cubeprog/src
Command line arguments: 
====================
Installation started
Framework: 1.8.0_192-BellSoft-b03 (Oracle Corporation)
Platform: linux,version=6.4.3-arch1-2,arch=x64,symbolicName=null,javaVersion=1.8.0_265
Installation finished
WARNING: using deprecated Desktop Entry key Encoding with value UTF-8
WARNING: using deprecated Desktop Entry key Encoding with value UTF-8
WARNING: using deprecated Desktop Entry key Encoding with value UTF-8
WARNING: using deprecated Desktop Entry key Encoding with value UTF-8
WARNING: using deprecated Desktop Entry key Encoding with value UTF-8
WARNING: Could not copy  to /home/nico/.local/share/pixmaps (Source '' does not exist)
WARNING: using deprecated Desktop Entry key Encoding with value UTF-8
WARNING: Could not copy  to /home/nico/.local/share/pixmaps (Source '' does not exist)
WARNING: using deprecated Desktop Entry key Encoding with value UTF-8
WARNING: Could not copy  to /home/nico/.local/share/pixmaps (Source '' does not exist)
WARNING: using deprecated Desktop Entry key Encoding with value UTF-8
WARNING: Could not copy  to /home/nico/.local/share/pixmaps (Source '' does not exist)
WARNING: using deprecated Desktop Entry key Encoding with value UTF-8
WARNING: using deprecated Desktop Entry key Encoding with value UTF-8
[ Writing the uninstaller data ... ]
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)
  Resource id in failed request:  0x600077
  Serial number of failed request:  13575
  Current serial number in output stream:  13576
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: stm32cubeprog-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
stm32cubeprog - exit status 4

Since it says something about BadWindow (invalid Window parameter) I tried running the installer using Wayland and Xorg. Both fail with the same error.

GPereira commented on 2023-07-17 17:52 (UTC)

@DCNick3 can you provide a full PKGBUILD file implementing that change?

xiretza commented on 2023-03-12 17:31 (UTC)

@GPereira: as commented multiple times, the installer needs to be run in xvfb to work in a clean chroot (or use the alternative build flow suggested by @DCNick3).

DCNick3 commented on 2023-03-08 21:24 (UTC) (edited on 2023-03-08 21:24 (UTC) by DCNick3)

I still get this. Is there any way that my pc keeps old stuff and didn't understand the new update?

@angelosn I don't think the problem is because of a stale file, it's failing in the same way for me

angelosn commented on 2023-03-08 21:15 (UTC) (edited on 2023-03-08 21:16 (UTC) by angelosn)

I still get this. Is there any way that my pc keeps old stuff and didn't understand the new update?

==> Starting package()... cp: cannot stat '/home/angel/.cache/yay/stm32cubeprog/src/build/*': No such file or directory ==> ERROR: A failure occurred in package(). Aborting... -> error making: stm32cubeprog

DCNick3 commented on 2023-03-08 21:14 (UTC) (edited on 2023-03-08 21:22 (UTC) by DCNick3)

Btw, I have found a less fiddly way to extract the files.

The installer is built with IzPack.

The "real" part of the installer is located in the .exe file, which has a jar file embedded into it. The linux executable is just a wrapper around it.

The installer already has support for automatic installs, but it doesn't work because of an ST's custom panel (AnalyticsPanels) asking to accept the usage of telemetry lacking the support for console installation mode.

It is possible to add such support by adding another class with the name AnalyticsPanelsConsoleHelper

Here's an archive with such a class: https://files.catbox.moe/o7kz0e.zip (source included, compiled with java8 with SetupSTM32CubeProgrammer-2.13.0.exe in the class path)

It can be injected into the installer by putting it into com/st/CustomPanels directory and using 7z: 7z a SetupSTM32CubeProgrammer-2.13.0.exe com/st/CustomPanels/AnalyticsPanelsConsoleHelper.class (the directory hoops required because it needs to be put into specific directory in the jar)

After this the linux installer can be using in an "auto" mode:

echo "INSTALL_PATH=${srcdir}/build" > install.options
./Setup${_pkgname}-${pkgver}.linux -options-auto install.options

Here's PoC PKGBUILD for this: https://gist.github.com/DCNick3/289e3e5d191008a036c5303ef7426168 (needs the .class from above)