Bug 2136512 - wxglade: wrapper script fails to launch program
Summary: wxglade: wrapper script fails to launch program
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: wxGlade
Version: 36
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Sergio Basto
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-20 13:54 UTC by Thomas Lake
Modified: 2022-11-10 22:27 UTC (History)
4 users (show)

Fixed In Version: wxGlade-1.0.4-5.fc36 wxGlade-1.0.4-5.fc37
Clone Of:
Environment:
Last Closed: 2022-11-05 16:59:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Possible fix (658 bytes, patch)
2022-10-20 13:54 UTC, Thomas Lake
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.