Re: [Gimp-developer] Errors in the new gimp version registering python scripts
- From: Ofnuts <ofnuts gmx com>
- To: gimp-developer-list gnome org
- Subject: Re: [Gimp-developer] Errors in the new gimp version registering python scripts
- Date: Wed, 27 Jun 2018 23:11:57 +0200
This seems due to the script importing another module:
Traceback (most recent call last):
File "E:\Gimp\Arakne\arakne-path-shape-creator8.py", line 35, in <module>
import gtk, gimpui, pnt2d, drawUI
ImportError: No module named pnt2d
In other words, the plugin main module is making the assumption that it
is in the python path, so any module in the same directory can be
imported. This doesn't seem to be true for the Windows version (the
plugin works OK in Linux 2.10). This is possibly a bug in the Windows
version.
On 06/25/18 07:26, Paco Garcia via gimp-developer-list wrote:
The scripts are working fine until the last gimp release, two of the
scripts failing are:
http://www.arakne.es/en/dessign/gimp-guideslab-edit-guides-numerically/
and
http://www.arakne.es/en/programming/python/gimp-plugin-shape-creator-v8/
Calling gimp with the verbose option don't give more clues about the error:
Querying plug-in: 'C:\Users\yo\Desktop\gimp_plugins\pnt2d.py'
gimp-2.10: LibGimpBase-ADVERTENCIA: gimp-2.10: gimp_wire_read(): error
Querying plug-in: 'C:\Users\yo\Desktop\gimp_plugins\drawUI.py'
gimp-2.10: LibGimpBase-ADVERTENCIA: gimp-2.10: gimp_wire_read(): error
Querying plug-in:
'C:\Users\yo\Desktop\gimp_plugins\araknepathshapecreatorshapes.py'
gimp-2.10: LibGimpBase-ADVERTENCIA: gimp-2.10: gimp_wire_read(): error
Querying plug-in: 'C:\Users\yo\Desktop\gimp_plugins\arakne-stitch3b.py'
Querying plug-in:
'C:\Users\yo\Desktop\gimp_plugins\arakne-path-shape-creator8.py'
gimp-2.10: LibGimpBase-ADVERTENCIA: gimp-2.10: gimp_wire_read(): error
Querying plug-in: 'C:\Users\yo\Desktop\gimp_plugins\arakne-guide-lab.py'
gimp-2.10: LibGimpBase-ADVERTENCIA: gimp-2.10: gimp_wire_read(): error
Querying plug-in: 'C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\gimpfu3.py'
Any help is welcome
2018-06-23 18:29 GMT+02:00 Carol Spears via gimp-developer-list <
gimp-developer-list gnome org>:
On Sat, Jun 23, 2018 at 10:23 AM, Carol Spears <carol spears gmail com>
wrote:
On Sat, Jun 23, 2018 at 8:25 AM, Ofnuts <ofnuts gmx com> wrote:
On 06/19/18 21:43, Paco Garcia via gimp-developer-list wrote:
Is there any way to get more information about the gimp_wire_read ()
error
that occurs when loading python scripts? Many scripts that worked in
previous versions of gimp fail in the new one without apparent cause.
Spanish version:
¿Hay alguna forma de obtener mas información sobre el error
gimp_wire_read() que se produce al cargar scripts de python?. Muchos
scripts que funcionaban en versiones anteriores de gimp fallan en la
nueva
sin causa aparente.
_______________________________________________
I have seen plenty of such errors and they don't make the registration
fail. In 2.10 for Windows, scripts that import pygtk can have problems
(you
have to make sure you import gimpfu first). Would you have the URL to
such
a script?
That's right. I've seen that error before though, but I write crappy
python also. Maybe it is missing its beginning:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
or pygtk is not installed. Or maybe the script is a template and broken
from the fill ins.
My earlier suggestion to poke around with it was not wrong, however.
Maybe the file is base64 or whatever that format was for mail in the 1980s.
carol
_______________________________________________
gimp-developer-list mailing list
List address: gimp-developer-list gnome org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-
developer-list
List archives: https://mail.gnome.org/archives/gimp-developer-list
_______________________________________________
gimp-developer-list mailing list
List address: gimp-developer-list gnome org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives: https://mail.gnome.org/archives/gimp-developer-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]