Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stlink-gui fails to start due to failure to load UI file #1286

Closed
1 task done
PhilSalkie opened this issue Dec 9, 2022 · 1 comment
Closed
1 task done

stlink-gui fails to start due to failure to load UI file #1286

PhilSalkie opened this issue Dec 9, 2022 · 1 comment

Comments

@PhilSalkie
Copy link

Thank you for giving feedback to the stlink project.


NOTE: In order to offer sufficient and the best possible support, please read /CONTRIBUTING.md and follow the given instructions before submitting a ticket.

Bug reports and/or feature requests will be deleted, if they violate our contribution guidelines and if no issue-template is used! Thank you for your support.


  • I made serious effort to avoid creating duplicate or nearly similar issue

I found several other bugs which reported the same issue, and were reported fixed. It's still a problem in the latest release.

  • [N/A] Programmer/board type: [enter here] (e.g STLINK /V1, /V2, /V2-onboard, /V2-clone, /V3)

  • [Linux MX-21.1] Operating system an version: [enter here] (e.g Linux, Windows)

  • Debian derivative. Used the stlink_1.7.0-1_amd64.deb from GitHub as you suggested

  • [stlink_1.7.0-1_amd64.deb] stlink tools version and/or git commit hash: [enter here] (e.g v1.6.1/git-d0416149)

  • [stlink-gui] stlink commandline tool name: [enter here] (e.g st-info, st-flash, st-trace, st-util)

  • [N/A] Target chip (and board, if applicable): [enter here] (e.g STM32F103C8T6 (NUCLEO-F103RB))

Further we kindly ask you to describe the detected problem as detailed as possible and to add debug output if available, by using the following template:

Commandline output:

Failed to load UI file: stlink-gui.ui

OUTPUT/ERROR of the commandline tool(s)

GUI doesn't start

Expected/description:

GUI should start

Copying the file "stlink-gui.ui" from /usr/share/st-link to the CWD lets the GUI start up. This is obviously wrong behavior.

$ cp -p /usr/share/stlink/stlink-gui.ui .
$ stlink-gui
(GUI starts up)

@Nightwalker-87
Copy link
Member

Fixed in commit f93adb9.

@stlink-org stlink-org locked as resolved and limited conversation to collaborators Dec 28, 2022
@Nightwalker-87 Nightwalker-87 changed the title [stlink-gui] - stlink-gui fails to start due to failure to load UI file - stlink_1.7.0-1_amd64.deb stlink-gui fails to start due to failure to load UI file Dec 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants