bootchk / resynthesizer

Suite of gimp plugins for texture synthesis
GNU General Public License v3.0
1.47k stars 163 forks source link

map-style issue #43

Closed dafrasaga closed 6 years ago

dafrasaga commented 7 years ago

Hi, when I perform map-style on gimp 2.9.5 I have this error:

Traceback (most recent call last): File "/usr/local/lib/gimp/2.0/python/gimpfu.py", line 740, in response dialog.res = run_script(params) File "/usr/local/lib/gimp/2.0/python/gimpfu.py", line 361, in run_script return apply(function, params) File "/usr/local/lib/gimp/2.0/plug-ins/plugin-map-style.py", line 280, in transfer_style if original_source_base_type == INDEXED : NameError: global name 'INDEXED' is not defined

Plug-in "plugin-map-style.py" (/usr/local/lib/gimp/2.0/plug-ins/plugin-map-style.py) called deprecated procedure 'gimp-drawable-get-image'. It should call 'gimp-item-get-image' instead!

Any hints?? Cheers Gabriele

bootchk commented 7 years ago

Off the top of my head, INDEXED should be defined by PyGimp. So that is very strange. I will need to try to replicate it.

I think the two messages are unrelated. The other message is usually when someone is using a beta release of gimp, where they don't allow the use of deprecated functions. There is a work around, discussed in other issues on this repository. But you say you are using 2.9.5, which is not a developer's release?

dafrasaga commented 7 years ago

Hi, I use gimp-cce which is 2.9.5 but it is not a stable release. Cheers Il 30/set/2017 17:17 "Lloyd Konneker" notifications@github.com ha scritto:

Off the top of my head, INDEXED should be defined by PyGimp. So that is very strange. I will need to try to replicate it.

I think the two messages are unrelated. The other message is usually when someone is using a beta release of gimp, where they don't allow the use of deprecated functions. There is a work around, discussed in other issues on this repository. But you say you are using 2.9.5, which is not a developer's release?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bootchk/resynthesizer/issues/43#issuecomment-333315168, or mute the thread https://github.com/notifications/unsubscribe-auth/AYMe-4-hLexSJtMu1D0P8_-DTPy5HZmpks5snluUgaJpZM4PoPh8 .

bootchk commented 6 years ago

I think gimp-cce is a fork of GIMP, and not a stable release. Thus this issue probably does not concern most users, so I am closing it.