Bug 1685039 - [abrt] gimp-layer-via-copy-cut: syntax(): layer-via-copy-cut.py:27:<module>: File "/usr/lib64/gimp/2.0/python/gimpfu.py", line 224
Summary: [abrt] gimp-layer-via-copy-cut: syntax(): layer-via-copy-cut.py:27:<module>: ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gimp-layer-via-copy-cut
Version: 29
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Luya Tshimbalanga
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:1e42c4a1449f1f54b3a73620f07...
: 1687277 1698285 1737154 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-04 08:45 UTC by Stefan Gies
Modified: 2019-08-02 21:01 UTC (History)
13 users (show)

Fixed In Version: gimp-layer-via-copy-cut-1.6-14.fc30 gimp-layer-via-copy-cut-1.6-14.fc28 gimp-layer-via-copy-cut-1.6-14.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-27 21:26:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (729 bytes, text/plain)
2019-03-04 08:45 UTC, Stefan Gies
no flags Details
File: cgroup (369 bytes, text/plain)
2019-03-04 08:45 UTC, Stefan Gies
no flags Details
File: cpuinfo (1.48 KB, text/plain)
2019-03-04 08:45 UTC, Stefan Gies
no flags Details
File: environ (1.79 KB, text/plain)
2019-03-04 08:45 UTC, Stefan Gies
no flags Details
File: mountinfo (4.81 KB, text/plain)
2019-03-04 08:45 UTC, Stefan Gies
no flags Details
File: namespaces (129 bytes, text/plain)
2019-03-04 08:45 UTC, Stefan Gies
no flags Details
File: open_fds (339 bytes, text/plain)
2019-03-04 08:45 UTC, Stefan Gies
no flags Details

Description Stefan Gies 2019-03-04 08:45:19 UTC
Description of problem:
Gimp was loading to open a PDF-file and Audacious were running

Version-Release number of selected component:
gimp-layer-via-copy-cut-1.6-12.fc29

Additional info:
reporter:       libreport-2.10.0
cmdline:        /usr/bin/python3 -s /usr/lib64/gimp/2.0/plug-ins/layer-via-copy-cut.py -gimp 13 12 -query 0
crash_function: syntax
exception_type: SyntaxError
executable:     /usr/lib64/gimp/2.0/plug-ins/layer-via-copy-cut.py
interpreter:    python3-3.7.2-4.fc29.x86_64
kernel:         4.20.13-200.fc29.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
layer-via-copy-cut.py:27:<module>:  File "/usr/lib64/gimp/2.0/python/gimpfu.py", line 224

Traceback (most recent call last):
  File "/usr/lib64/gimp/2.0/plug-ins/layer-via-copy-cut.py", line 27, in <module>
    from gimpfu import *
  File "/usr/lib64/gimp/2.0/python/gimpfu.py", line 224
    raise error, "procedure name contains illegal characters"
               ^
SyntaxError: invalid syntax

Local variables in innermost frame:
__name__: '__main__'
__doc__: None
__package__: None
__loader__: <_frozen_importlib_external.SourceFileLoader object at 0x7fc52ced1b38>
__spec__: None
__annotations__: {}
__builtins__: <module 'builtins' (built-in)>
__file__: '/usr/lib64/gimp/2.0/plug-ins/layer-via-copy-cut.py'
__cached__: None

Comment 1 Stefan Gies 2019-03-04 08:45:21 UTC
Created attachment 1540550 [details]
File: backtrace

Comment 2 Stefan Gies 2019-03-04 08:45:23 UTC
Created attachment 1540551 [details]
File: cgroup

Comment 3 Stefan Gies 2019-03-04 08:45:24 UTC
Created attachment 1540552 [details]
File: cpuinfo

Comment 4 Stefan Gies 2019-03-04 08:45:25 UTC
Created attachment 1540553 [details]
File: environ

Comment 5 Stefan Gies 2019-03-04 08:45:26 UTC
Created attachment 1540554 [details]
File: mountinfo

Comment 6 Stefan Gies 2019-03-04 08:45:27 UTC
Created attachment 1540555 [details]
File: namespaces

Comment 7 Stefan Gies 2019-03-04 08:45:28 UTC
Created attachment 1540556 [details]
File: open_fds

Comment 8 Truls Gulbrandsen 2019-03-07 19:32:32 UTC
Similar problem has been detected:

I installed Gimp, the various plugins, gutenprint with plugins, rawtherapee, then rebooted after a system update.

The errormessage occured when logging in to the updated system.

reporter:       libreport-2.10.0
cmdline:        /usr/bin/python3 -s /usr/lib64/gimp/2.0/plug-ins/layer-via-copy-cut.py -gimp 12 11 -query 0
crash_function: syntax
exception_type: SyntaxError
executable:     /usr/lib64/gimp/2.0/plug-ins/layer-via-copy-cut.py
interpreter:    python3-3.7.2-4.fc29.x86_64
kernel:         4.20.13-200.fc29.x86_64
package:        gimp-layer-via-copy-cut-1.6-12.fc29
reason:         layer-via-copy-cut.py:27:<module>:  File "/usr/lib64/gimp/2.0/python/gimpfu.py", line 224
runlevel:       N 5
type:           Python3
uid:            1000

Comment 9 Ben Spera 2019-03-11 07:41:52 UTC
*** Bug 1687277 has been marked as a duplicate of this bug. ***

Comment 10 vikram goyal 2019-03-19 07:21:46 UTC
Similar problem has been detected:

I opened a png file from /tmp folder owned by root - -rw-r--r--. 1 root   root   12277 Mar 19 12:44 tmprepc5no2.png
through selected application from right-click context menu through GIMP.

reporter:       libreport-2.10.0
cmdline:        /usr/bin/python3 -s /usr/lib64/gimp/2.0/plug-ins/layer-via-copy-cut.py -gimp 10 9 -query 0
crash_function: syntax
exception_type: SyntaxError
executable:     /usr/lib64/gimp/2.0/plug-ins/layer-via-copy-cut.py
interpreter:    python3-3.7.2-4.fc29.x86_64
kernel:         4.20.15-200.fc29.x86_64
package:        gimp-layer-via-copy-cut-1.6-12.fc29
reason:         layer-via-copy-cut.py:27:<module>:  File "/usr/lib64/gimp/2.0/python/gimpfu.py", line 224
runlevel:       N 5
type:           Python3
uid:            1000

Comment 11 Penelope Fudd 2019-04-05 21:18:04 UTC
Similar problem has been detected:

I just ran 'gimp somefile.pdf', and this error popped up.

From looking at the code, /usr/lib64/gimp/2.0/python/gimpfu.py line 224 appears to be checking a procedure name, and 
rejects one for having a character that's other than letters, digits, underline or dash.

It would have been helpful if the error message could have printed what the procedure name was (possibly escaped)
and where it came from.

reporter:       libreport-2.10.0
cmdline:        /usr/bin/python3 -s /usr/lib64/gimp/2.0/plug-ins/layer-via-copy-cut.py -gimp 10 9 -query 0
crash_function: syntax
exception_type: SyntaxError
executable:     /usr/lib64/gimp/2.0/plug-ins/layer-via-copy-cut.py
interpreter:    python3-3.7.2-5.fc29.x86_64
kernel:         5.0.5-200.fc29.x86_64
package:        gimp-layer-via-copy-cut-1.6-12.fc29
reason:         layer-via-copy-cut.py:27:<module>:  File "/usr/lib64/gimp/2.0/python/gimpfu.py", line 224
runlevel:       N 5
type:           Python3
uid:            1000

Comment 12 Luya Tshimbalanga 2019-04-07 08:15:34 UTC
Hello,
I reproduced the issue and it appears the problem is related to gimpfu.py found on Gimp. Assigning to Gimp.

Comment 13 Luya Tshimbalanga 2019-04-13 01:04:29 UTC
*** Bug 1698285 has been marked as a duplicate of this bug. ***

Comment 14 Josef Ridky 2019-04-15 12:01:56 UTC
The point of this issue is, that gimp-layer-via-copy-cut-1.6-12.fc29 uses as requirement Python3. But GIMP supports only Python2 notation, due GIMP isn't Python3 compatible yet.

Please, downgrade to gimp-layer-via-copy-cut-1.6-11.fc29, which is Python2 compatible.

Moving back to gimp-layer-via-copy-cut, due last build for f29 (1.6-13), that fixes this issue has failed.

Comment 15 Fedora Update System 2019-04-17 05:19:40 UTC
gimp-layer-via-copy-cut-1.6-14.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-f11dd13864

Comment 16 Fedora Update System 2019-04-17 05:19:44 UTC
gimp-layer-via-copy-cut-1.6-14.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-74fcda91be

Comment 17 Fedora Update System 2019-04-17 05:19:48 UTC
gimp-layer-via-copy-cut-1.6-14.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-7ff2a67706

Comment 18 Fedora Update System 2019-04-17 14:24:10 UTC
gimp-layer-via-copy-cut-1.6-14.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-f11dd13864

Comment 19 Fedora Update System 2019-04-18 21:04:48 UTC
gimp-layer-via-copy-cut-1.6-14.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-74fcda91be

Comment 20 Fedora Update System 2019-04-18 22:13:07 UTC
gimp-layer-via-copy-cut-1.6-14.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-7ff2a67706

Comment 21 retroilya@gmail.com 2019-04-23 20:57:12 UTC
Similar problem has been detected:

auto created

reporter:       libreport-2.10.0
cmdline:        /usr/bin/python3 -s /usr/lib64/gimp/2.0/plug-ins/layer-via-copy-cut.py -gimp 10 9 -query 0
crash_function: syntax
exception_type: SyntaxError
executable:     /usr/lib64/gimp/2.0/plug-ins/layer-via-copy-cut.py
interpreter:    python3-3.7.3-1.fc29.x86_64
kernel:         5.0.7-200.fc29.x86_64
package:        gimp-layer-via-copy-cut-1.6-12.fc29
reason:         layer-via-copy-cut.py:27:<module>:  File "/usr/lib64/gimp/2.0/python/gimpfu.py", line 224
runlevel:       N 5
type:           Python3
uid:            1001

Comment 22 Luya Tshimbalanga 2019-04-27 17:50:26 UTC
Please use
sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2019-7ff2a67706

Comment 23 Fedora Update System 2019-04-27 21:26:09 UTC
gimp-layer-via-copy-cut-1.6-14.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 24 Fedora Update System 2019-04-27 21:35:52 UTC
gimp-layer-via-copy-cut-1.6-14.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 25 Fedora Update System 2019-04-27 23:10:34 UTC
gimp-layer-via-copy-cut-1.6-14.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 26 karesz 2019-08-02 21:01:09 UTC
*** Bug 1737154 has been marked as a duplicate of this bug. ***


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