Bug 2275263 - Python Gimp plugins are broken
Summary: Python Gimp plugins are broken
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gimp
Version: 40
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-16 10:43 UTC by Michael J Gruber
Modified: 2024-05-14 01:32 UTC (History)
7 users (show)

Fixed In Version: gimp-2.10.36-9.fc39 gimp-2.10.36-9.fc40 gimp-2.10.38-1.fc38
Clone Of:
Environment:
Last Closed: 2024-05-06 02:02:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michael J Gruber 2024-04-16 10:43:12 UTC
Description of problem:
Python Gimp plugins are completely broken, this includes Gimp's python console.

Version-Release number of selected component (if applicable):
gimp-2.10.36-2.fc40.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Start Gimp
2. Filters->Python-Fu->Console

Actual results:
GIMP Message box:
```
Plug-in crashed: "python-console.py"
(/usr/lib64/gimp/2.0/plug-ins/python-console/python-console.py)

The dying plug-in may have messed up GIMP's internal state. You may want to save your images and restart GIMP to be on the safe side.
```
Stderr:
```
Traceback (most recent call last):
  File "/usr/lib64/gimp/2.0/plug-ins/python-console/python-console.py", line 19, in <module>
    from gimpfu import *
  File "/usr/lib64/gimp/2.0/python/gimpfu.py", line 76, in <module>
    import gimp
ImportError: could not import pygtk
```

Expected results:
Gimp's Python console starts

Additional info:
This affects all python plugins, including the ones shipped with Gimp such as Filters->Render->Spyrogimp, Filters->Decor-Fog etc

Gimp uses python2 and relies on the presence of some py2 bits to work. Gimp 3 will use python 3.

Comment 1 Nils Philippsen 2024-05-02 21:52:20 UTC
Hi! This is my fault, I reworked how dependencies are specified a while ago and inadvertently dropped the one on pygtk2, oops!

As a workaround until a fixed package is available, you can install it manually e.g. by running this command:

sudo dnf install pygtk2

Comment 2 Fedora Update System 2024-05-02 22:52:08 UTC
FEDORA-2024-de0a9529d7 (gimp-2.10.36-9.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-de0a9529d7

Comment 3 Fedora Update System 2024-05-02 22:52:09 UTC
FEDORA-2024-8d2c9efc41 (gimp-2.10.36-9.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-8d2c9efc41

Comment 4 Fedora Update System 2024-05-03 02:24:57 UTC
FEDORA-2024-de0a9529d7 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-de0a9529d7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-de0a9529d7

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

Comment 5 Fedora Update System 2024-05-03 03:12:07 UTC
FEDORA-2024-8d2c9efc41 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-8d2c9efc41`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-8d2c9efc41

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

Comment 6 Fedora Update System 2024-05-03 03:56:48 UTC
FEDORA-2024-6ae2d63e39 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-6ae2d63e39`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-6ae2d63e39

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

Comment 7 Fedora Update System 2024-05-06 01:15:33 UTC
FEDORA-2024-89fd120adc has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-89fd120adc`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-89fd120adc

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

Comment 8 Fedora Update System 2024-05-06 02:02:07 UTC
FEDORA-2024-de0a9529d7 (gimp-2.10.36-9.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2024-05-06 02:21:53 UTC
FEDORA-2024-8d2c9efc41 (gimp-2.10.36-9.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2024-05-14 01:32:37 UTC
FEDORA-2024-89fd120adc (gimp-2.10.38-1.fc38) has been pushed to the Fedora 38 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.