Comments (7)
Thank you :-) I'll give that a try.
from gimp-ml.
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.
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.
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.
I did all that, every call still failed.
from gimp-ml.
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.
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)
- Gimp ML not in Layer menu, Linux Mint 21 Cinnamon HOT 2
- 'Image' object has no attribute 'get_active_layer' HOT 1
- Error during install - torch HOT 1
- Do not use Google Drive to host dependencies
- GIMP cannot import GIMP-ML HOT 2
- GIMP3-ML enhancements
- Add new AI models
- Installation problems HOT 2
- Installation problem
- LLM integration? HOT 1
- How to uninstall
- You have no instructions for Windows.
- Package for Flatpak
- gimp 2.99.16 gimp ML not visible in Layers HOT 1
- Error During Install HOT 3
- Directory Issue HOT 1
- Suggestion: In Github settings, change "main branch" to GIMP3-ML
- Simplification of Plugin development - Use Spandrei
- Errors when running deblur
- Python 3.11 and PyTorch
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gimp-ml.