Gimp-Forum.net
Indexprint - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP)
+--- Thread: Indexprint (/Thread-Indexprint)

Pages: 1 2


Indexprint - Xxxx - 06-17-2020

Code:
gimp_color_transform_new: using babl for 'GIMP built-in sRGB' -> 'DELL P170S'
Traceback (most recent call last):
 File "/usr/lib/gimp/2.0/python/gimpfu.py", line 857, in _run
   res = apply(func, params[1:])
 File "/home/ego/.config/GIMP/2.10/plug-ins/IndexprintDevelopment.py", line 152, in plugin_main
   app = IndexprintDevelopment.gui.ContactsheetApp()  # create instance of gtkBuilder app
 File "/home/ego/.config/GIMP/2.10/plug-ins/IndexprintDevelopment/gui.py", line 248, in __init__
   self.on_error(_("PyExiv2 not installed!"), _("Disabling exif functions.\n"+str(e)))
AttributeError: ContactsheetApp instance has no attribute 'on_error'

(Gimp 2.10.20 Linux)
A VERY good plugin, but now poorly maintained.
http://www.sullockenzlin.demon.nl/Gimp.html
If someone can help...


RE: Indexprint - Ofnuts - 06-17-2020

(06-17-2020, 07:20 PM)Xxxx Wrote:
Code:
gimp_color_transform_new: using babl for 'GIMP built-in sRGB' -> 'DELL P170S'
Traceback (most recent call last):
 File "/usr/lib/gimp/2.0/python/gimpfu.py", line 857, in _run
   res = apply(func, params[1:])
 File "/home/ego/.config/GIMP/2.10/plug-ins/IndexprintDevelopment.py", line 152, in plugin_main
   app = IndexprintDevelopment.gui.ContactsheetApp()  # create instance of gtkBuilder app
 File "/home/ego/.config/GIMP/2.10/plug-ins/IndexprintDevelopment/gui.py", line 248, in __init__
   self.on_error(_("PyExiv2 not installed!"), _("Disabling exif functions.\n"+str(e)))
AttributeError: ContactsheetApp instance has no attribute 'on_error'

(Gimp 2.10.20 Linux)
A VERY good plugin, but now poorly maintained.
http://www.sullockenzlin.demon.nl/Gimp.html
If someone can help...

You are using the bleeding edge version, with some bugs. Try the stable V3 version instead.

Otherwise the error you have is an error that comes from a missing PyExiv2 module that is not handled because the code
that should handle errors is missing. You can try to add a Pyexiv2 module to the Python runtime to avoid this.


RE: Indexprint - rich2005 - 06-17-2020

Just my two-euros worth.

By the time you install glade and pyexiv and then find that the plugin still does not work,  you can get a result from the older contactsheet plugin

[attachment=4540]


RE: Indexprint - moroquendo - 07-02-2020

(06-17-2020, 08:58 PM)rich2005 Wrote: Just my two-euros worth.

By the time you install glade and pyexiv and then find that the plugin still does not work,  you can get a result from the older contactsheet plugin

No need to install Glade. If you have problems running Indexprint just mail the maintainer. Indexprint runs on Gimp versions upto 2.10.14 on Linux. I haven't tested newer versions. By the way: I'm the maintainer. Big Grin Build also contactsheet.
Yes there is a bleeding edge still not finished. I had a lot of trouble with my PC and windows. Build a new PC and changed to Linux and say goodbye to windows finally. Starting again developing Indexprint with new features but decided not to do and wait until Gimp 3 comes out with support for python 3. Python 2 is now depricated. So I started with Glade 3 and Python 3 to develop and rewrite Indexprint. Wait. Will this run on Gimp 2?? My guess: no. Back to Glade 2 and Python 2 to finish Indexprint and that will take time.


RE: Indexprint - rich2005 - 07-02-2020

That comment was about the pyexiv option. However always willing to test. This using a Mint 20 (VM) Gimp 2.10.18 no exiv installed. Indexprint v.3.34 gives this error.

Code:
Traceback (most recent call last):
  File "/usr/lib/gimp/2.0/python/gimpfu.py", line 857, in _run
    res = apply(func, params[1:])
  File "/home/rich/.config/GIMP/2.10/plug-ins/Indexprint.py", line 120, in plugin_main
    import indexprint.gui               # import package that is meat of plugin
  File "/home/rich/.config/GIMP/2.10/plug-ins/indexprint/gui.py", line 46, in <module>
    sys.exit(1)
NameError: name 'sys' is not defined



RE: Indexprint - moroquendo - 07-04-2020

(07-02-2020, 08:16 PM)rich2005 Wrote: That comment was about the pyexiv option. However always willing to test. This using a Mint 20 (VM)  Gimp 2.10.18 no exiv installed. Indexprint v.3.34  gives this error.

Code:
Traceback (most recent call last):
 File "/usr/lib/gimp/2.0/python/gimpfu.py", line 857, in _run
   res = apply(func, params[1:])
 File "/home/rich/.config/GIMP/2.10/plug-ins/Indexprint.py", line 120, in plugin_main
   import indexprint.gui               # import package that is meat of plugin
 File "/home/rich/.config/GIMP/2.10/plug-ins/indexprint/gui.py", line 46, in <module>
   sys.exit(1)
NameError: name 'sys' is not defined

I will have a look at it. I know that different distros not all the packages that Indexprint requires are installed by default. Before I forget to tell: I have read that from Gimp 2.10.20 and up there is no more Python 2 support build in.

So I will make a VM with Mint 20, install Gimp 2.10.18 with Indexprint v3.34 without pyexiv2 installed and see what happened. Be patient.


RE: Indexprint - rich2005 - 07-04-2020

Quote:So I will make a VM with Mint 20, install Gimp 2.10.18 with Indexprint v3.34 without pyexiv2 installed and see what happened

Is it worth the effort? Mint 20 wants to install everything. Takes forever, almost as bad as Win. (or did I miss a minimal install option, Kubuntu 20.04 has one, just installed it on my desktop computer yesterday)

However, Mint 20 (same as 'buntu 20.04) while it does come with Python 2.7 packages, you need to install them.

Gimp 2.10.18, the default Gimp for Mint 20, does not come with a gimp-python package so there is no support for your python plugin
unless
You add python to Gimp see: https://www.gimp-forum.net/Thread-Heal-Selection-Missing-from-Gimp-on-Ubuntu-20-04?pid=18354#pid18354

Using that Mint 20 VM, a screenshot: https://i.imgur.com/3anWGJj.jpg


RE: Indexprint - moroquendo - 07-04-2020

Thanks just finished the VM and installing Gimp. It is worther then I thaught: no python.

And how to add python to Gimp I like that. I will post it to another Gimp forum I'm administrator from (http://www.dutchgimpers.nl its nearly only Dutch). I will make a note of the steps to take and post it there.


RE: Indexprint - Xxxx - 07-09-2020

Indexprint was very good and useful.
Hope Indexprint will be very good ant useful !!!
Thanks


RE: Indexprint - moroquendo - 07-09-2020

V3.34 is up and running again under Mint 20.04 and Ubuntu likes. I hope to post an installation manual this weekend here. It will not be an easy installation because of a lot of deprecations.
Forget V4 unless you work with a Linux 18.04 or lower and Gimp 2.10.14 or lower. V4 must be completly rewritten in python 3 and as you now python 2 is now deprecated. Perhaps I will copy some features from V4 into V3.