Bug 2136512

Summary: wxglade: wrapper script fails to launch program
Product: [Fedora] Fedora Reporter: Thomas Lake <tom+f>
Component: wxGladeAssignee: Sergio Basto <sergio>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: hellwolf.misty, i, sergio, swt
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: wxGlade-1.0.4-5.fc36 wxGlade-1.0.4-5.fc37 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-05 16:59:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Possible fix none

Description Thomas Lake 2022-10-20 13:54:49 UTC
Created attachment 1919277 [details]
Possible fix

Description of problem:
Running wxGlade from the menu or by running `wxglade` in a terminal fails to display UI.


Version-Release number of selected component (if applicable):
1.0.4-2.fc36

How reproducible:
Install, try to run

Steps to Reproduce:
1. Install wxglade
2. Attempt to run wxglade
3. Fail

Actual results:
No output when running from a menu
"ERROR: wxglade.py not found!" output when running from a terminal.

Expected results:
UI should be launched

Additional info:
The wrapper script uses a string slice to retrieve the python version number, which assumes that the minor version is only a single digit.

Patch attached, although it seems like there should be a better way to determine the package path.

Comment 1 Fedora Update System 2022-10-28 03:31:26 UTC
FEDORA-2022-f479b796b0 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-f479b796b0

Comment 2 Fedora Update System 2022-10-28 03:44:23 UTC
FEDORA-2022-754c8e07bb has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-754c8e07bb

Comment 3 Fedora Update System 2022-10-28 09:01:46 UTC
FEDORA-2022-f479b796b0 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-f479b796b0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-f479b796b0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2022-10-28 12:29:12 UTC
FEDORA-2022-754c8e07bb has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-754c8e07bb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-754c8e07bb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2022-11-05 16:59:34 UTC
FEDORA-2022-754c8e07bb has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2022-11-10 22:27:34 UTC
FEDORA-2022-f479b796b0 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.