Coder Social home page Coder Social logo

Comments (7)

Nosserkrasser avatar Nosserkrasser commented on July 17, 2024 1

Thank you :-) I'll give that a try.

from gimp-ml.

dholeman1 avatar dholeman1 commented on July 17, 2024 1

This problem is related to changes in Gimp 2.99

Basically you just follow the pattern below for each plugin .py file. I got them to install once I made the changes but do be careful about tabs/spaces as python is picky.

def do_query_procedures(self):
self.set_translation_domain(
"gimp30-python", Gio.file_new_for_path(Gimp.locale_directory())
)
return ["superresolution"]

To this:

def do_query_procedures(self):
return ["superresolution"]

def do_set_i18n(self, procname):
return True, 'gimp30-python', None

from gimp-ml.

rplawate avatar rplawate commented on July 17, 2024

I had the same issue. Resolved after downgrading to Gimp version 2.99.6. Download links as follow
Windows users can use this link for GIMP installation: https://download.gimp.org/gimp/v2.99/windows/gimp-2.99.6-setup.exe

from gimp-ml.

differentprogramming avatar differentprogramming commented on July 17, 2024

I downgraded to 2.99.6 on windows. It did not get rid of this error, but it added new errors. GIMP-ML appears in the Layer menu, but running any part of it causes an error that says "inference failed" and says to look at a log file that doesn't exist.

I tried both with and without gpu set on.

This is the output I get:

This is a development version of GIMP. Debug messages may appear here.

GIMP-Warning: Bad interpreter referenced in interpreter file C:\Program Files\GIMP 2.99\lib\gimp\2.99\interpreters\gimp-script-fu-interpreter.interp: C:\Program Files\GIMP 2.99\bin\gimp-script-fu-interpreter-3.0.exe

GIMP-Warning: Bad interpreter referenced in interpreter file C:\Program Files\GIMP 2.99\lib\gimp\2.99\interpreters\gimp-script-fu-interpreter.interp: C:\Program Files\GIMP 2.99\bin\gimp-script-fu-interpreter-3.0.exe

GIMP-Warning: Bad interpreter referenced in interpreter file C:\Program Files\GIMP 2.99\lib\gimp\2.99\interpreters\gimp-script-fu-interpreter.interp: C:\Program Files\GIMP 2.99\bin\gimp-script-fu-interpreter-3.0.exe

GIMP-Warning: Bad interpreter referenced in interpreter file C:\Program Files\GIMP 2.99\lib\gimp\2.99\interpreters\gimp-script-fu-interpreter.interp: C:\Program Files\GIMP 2.99\bin\gimp-script-fu-interpreter-3.0.exe

GIMP-Warning: Bad binary format string in interpreter file C:\Program Files\GIMP 2.99\lib\gimp\2.99\interpreters\gimp-script-fu-interpreter.interp

set device 'System Aggregated Pointer' to mode: disabled
Skipping potential plug-in 'C:\local\gimpenv3\lib\site-packages\gimpml\plugins\plugin_utils.py': plug-ins must be installed in subdirectories.
Skipping potential plug-in 'C:\local\gimpenv3\lib\site-packages\gimpml\plugins_init_.py': plug-ins must be installed in subdirectories.
GIMP-Error: Unable to run plug-in "goat-exercise-gjs.js"
(C:\Program Files\GIMP 2.99\lib\gimp\2.99\extensions\org.gimp.extension.goat-exercises\goat-exercise-gjs.js)

Failed to execute child process (No such file or directory)

from gimp-ml.

differentprogramming avatar differentprogramming commented on July 17, 2024

I did all that, every call still failed.

from gimp-ml.

jordanmalecki avatar jordanmalecki commented on July 17, 2024

This problem is related to changes in Gimp 2.99

Basically you just follow the pattern below for each plugin .py file. I got them to install once I made the changes but do be careful about tabs/spaces as python is picky.

def do_query_procedures(self): self.set_translation_domain( "gimp30-python", Gio.file_new_for_path(Gimp.locale_directory()) ) return ["superresolution"]

To this:

def do_query_procedures(self): return ["superresolution"]

def do_set_i18n(self, procname): return True, 'gimp30-python', None

This worked for me.

...there are two places the plugins will appear:
~/gimpenv3/lib/python3.10/site-packages/gimpml/plugins
and
~/GIMP-ML/gimpml/plugins

The error disappeared and GIMP-ML was added to the layout menu after I made the changes to ~/gimpenv3/lib/python3.10/site-packages/gimpml/plugins path.

from gimp-ml.

lorgal avatar lorgal commented on July 17, 2024

This problem is related to changes in Gimp 2.99

Basically you just follow the pattern below for each plugin .py file. I got them to install once I made the changes but do be careful about tabs/spaces as python is picky.

def do_query_procedures(self): self.set_translation_domain( "gimp30-python", Gio.file_new_for_path(Gimp.locale_directory()) ) return ["superresolution"]

To this:

def do_query_procedures(self): return ["superresolution"]

def do_set_i18n(self, procname): return True, 'gimp30-python', None

Thanks a lot!
With spaces, no tabs!
Worked for me

from gimp-ml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.