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


RE: Indexprint - moroquendo - 07-12-2020

After a lot of testing and I hope I have done nothing wrong or forgotten: Get Indexprint V3.34 working in Gimp 2.10.18 within Ubuntu/Mint 20.04 so the details.

With package manager
- install Gimp (2.10.18)
- install libglade2-0

Python package is already installed, so don't install but as python2.
- sudo apt install python2.7

These two packages are also already installed but you have to install them again. It will correct pyhton-is-python2 problem
- sudo apt install python python-cairo python-gobject-2

Downloaded some gimp-python packages
- wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-6_amd64.deb
- wget http://archive.ubuntu.com/ubuntu/pool/universe/g/gimp/gimp-python_2.10.8-2_amd64.deb
- wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-glade2_2.24.0-6_amd64.deb

and install them
- sudo dpkg -i *.deb

Everything should be installed now without errors.

Download and unpack Indexprint-v3.34
Copy Indexprint.py and the dir indexprint into the plugin directory of Gimp (~/.config/Gimp/2.10/plugins/)

Make Indexprint.py executable

Now we have to make a modification to an Indexprint file.
Open the directory indexprint
Inside these directory you will find gui.py, open it (double click in file manager)

About line 32 you see version history. Just add after the ''' the following or add before import math on a new line:
- import os
- import sys
You can save and close the file now.

In the old python it was not necessary to add these two lines.

Starting Gimp you will see Indexprint in the File menu. You can start Indexprint now.

As far as I know there is a bug with pyexiv2: pyexiv2 must be installed but.... fortunatly Indexprint runs for me without pyexiv2 installed. But you are be warned.


Installing pyexiv2:
For pyexiv2 we have first to install
- libboost-python v1.46.1
- libexiv2-11
but I haven't found these old packages. So installing pyexiv2 stucks.

After installing these two packages you can install pyexiv2.
- wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pyexiv2/python-pyexiv2_0.3.2-1_amd64.deb

and install pyexiv2
- sudo dpkg -i *.deb

Happy Gimping


RE: Indexprint - Xxxx - 07-07-2022

No way found to get indexprint working...


RE: Indexprint - rich2005 - 07-07-2022

First, using linux, does your installation have a working python ? No python no then .py plugin.

With python working.
Indexprint v3, even with the little "import sys" mod, the plugin fails in the associated gui.py module. I do not know how to fix that. The Development version even worse, that requires a Glade installation (more bloat) and no guarantee that it works.

What is possible. The older contactsheet-2.16.py sort of works, it can crash depending on settings and will finish with an error message. Example kubuntu 20.04 / Gimp 2.10.32 (from PPA) https://i.imgur.com/WvQTmpk.mp4

A better non-Gimp option.
XnViewMP has a contact sheet filter. You do have to set up the page size, margins,..etc but settings are remembered. Example kubuntu 20.04 / XnViewMP appimage https://i.imgur.com/KSKNZMP.mp4


RE: Indexprint - moroquendo - 07-07-2022

Indexprint V4.00 works in Gimp v2.10.32 in Xubuntu 20.04.4

There is no need to install the package Glade but you need gimp-python

1. you have to check ../.config/GIMP/2.10/plug-ins/Indexprint_GTK2/errorlog/ there should be no error log
2. If there is another problem start Gimp in a terminal, start Indexprint and exit. Post the output here.


RE: Indexprint - rich2005 - 07-08-2022

Quote:There is no need to install the package Glade but you need gimp-python

not what it says here https://i.imgur.com/75faGRF.mp4


RE: Indexprint - moroquendo - 01-01-2023

(07-08-2022, 07:27 AM)rich2005 Wrote:
Quote:There is no need to install the package Glade but you need gimp-python

not what it says here   https://i.imgur.com/75faGRF.mp4

Sorry for my late response but you donot need package Glade-2 but the runtime library libglade to load glade files at runtime. But you can install Glade-2 you have then the capability to modify the GUI to your needs i.e. rename some titles or move things arround.

The last month, when I have time, I was busy to port Indexprint to GIMP V3 (actual: v2.99). Finally there is Python 3 support (python 2 is deprecated) together with Glade 3. At the moment I can tell you things are not going very well. The module gimp-fu is not supported by Gimp anymore that means rewriting the registering section. There exist a gimp-fu-v3 but that one is still in development.


RE: Indexprint - Xxxx - 01-18-2023

Hopeope you will (finally) succeed...
Until that great day, thank you!


RE: Indexprint - Krikor - 01-18-2023

(07-04-2020, 11:17 AM)moroquendo Wrote: 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.

Quote:Uw domeinnaam is geparkeerd.

Hé eigenaar van http://www.dutchgimpers.nl
Jouw domeinnaam is niet gekoppeld aan jouw webhosting pakket, reseller pakket of virtuele/dedicated server.
Mocht je ondersteuning nodig hebben bij het koppelen van jouw producten, dan kun je contact opnemen met jouw provider.



RE: Indexprint - moroquendo - 01-21-2023

(01-18-2023, 12:21 PM)Krikor Wrote:
(07-04-2020, 11:17 AM)moroquendo Wrote: 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.

Quote:Uw domeinnaam is geparkeerd.

Hé eigenaar van http://www.dutchgimpers.nl
Jouw domeinnaam is niet gekoppeld aan jouw webhosting pakket, reseller pakket of virtuele/dedicated server.
Mocht je ondersteuning nodig hebben bij het koppelen van jouw producten, dan kun je contact opnemen met jouw provider.
Yes  I know it is gone. The owner stopped hosting this forum unfortunatly.