GIMP Chat
http://gimpchat.com/

Missing Python and Mathmap under Gimp 2.8
http://gimpchat.com/viewtopic.php?f=8&t=12145
Page 1 of 2

Author:  PhotoMaster [ Mon Mar 16, 2015 4:47 pm ]
Post subject:  Missing Python and Mathmap under Gimp 2.8

GIMP Version: 2.8.14
Operating System: Windows
OS Version: Windows 7 64bit
GIMP Experience: Intermediate Level



I was running Gimp 2.6 and Gimp 2.8.10 both on the same computer. I had several python options under "Filters", like photo packages, etc. that were available under Gimp 2.6 but were never available under 2.8.10 and mathmap would only work under Gimp 2.6. I could never get it to work under 2.8.10. The Python-Fu option at the top of the screen worked on both Gimp 2.6 and 2.8.10 as did the scripts within the drop down. Installing 2.8.14 deleted 2.8.10 and 2.6 totally removing any option to use mathmap or the extra python options. Python-Fu shows up in 2.8.14, and the boxes come up with all of the options to run, but then crash if you try to run them. Any help with getting Mathmap and Python-Fu working on Gimp 2.8.14 would be greatly appreciated.

Author:  paynekj [ Mon Mar 16, 2015 5:01 pm ]
Post subject:  Re: Missing Python and Mathmap under Gimp 2.8

I can't help with mathmap, but you say you get the dialog box for Python script, but it errors?

Can you point us to an example of a failing Python Script

And does the Filters>Render>Clouds>Fog script run OK (It's Python and supplied with GIMP)

My reason for asking is that with GIMP 2.6.x you had to install Python separately and 2.8.x comes with Python BUT it's a cut down version and it's possible you have scripts that rely on features that aren't available in the supplied Python.

Kevin

Author:  dietmar [ Mon Mar 16, 2015 6:16 pm ]
Post subject:  Re: Missing Python and Mathmap under Gimp 2.8

Regarding MathMap, this is working here.

In my first GIMP installallation, I downloaded it from here:
https://www.complang.tuwien.ac.at/schani/mathmap/

Now, I noticed that it is also available in the GIMP extensions, but will not be installed as default:
http://sourceforge.net/projects/gimpextensions/

HTH,
Dietmar

Author:  Odinbc [ Mon Mar 16, 2015 6:43 pm ]
Post subject:  Re: Missing Python and Mathmap under Gimp 2.8

Did you remove 2.8.10 and/or 2.6 after you installed 2.8.14? If so a reinstall of 2.8.14 might help.

Try this test: Open the Python console type, print "PhotoMaster" and hit enter.
print "PhotoMaster"

The result should be this.
>>> print "PhotoMaster"
PhotoMaster
>>>

Author:  PhotoMaster [ Mon Mar 16, 2015 8:53 pm ]
Post subject:  Re: Missing Python and Mathmap under Gimp 2.8

Filters>Render>Clouds>Fog Runs perfectly
Printing PhotoMaster in the Python console worked as well.

Python-Fu>Create Layers>Magicmesh2(WithMask)
Python-Fu>Create Layers>Magicmesh3(SVG)
Python-Fu>Create Layers>Magicmesh
I just noticed the error is that the script is expecting an integer and it is getting a float value.

Installing Gimp 2.8.14 is what deleted 2.8.10 and 2.6

The mathmap link above is where I had gotten mathmap,
I didn't have the Gimp Extensions so getting them is a plus. I still need to get mathmap working because I love mathmap.

Author:  paynekj [ Tue Mar 17, 2015 1:15 am ]
Post subject:  Re: Missing Python and Mathmap under Gimp 2.8

You made that harder than it needed to be - I had to search to find the Magicmesh Python script you are having problems with. I found it here: http://www.gimpchat.com/viewtopic.php?f ... =10#p16529

It's not working because GIMP's Python-Fu has been changed and now returns float values for PF_SPINNER where it was returning integers.

To make it work I forced all the parameters of the "for" into integers:
   for pos_x in range(int(sspace+layer.offsets[0]), int(max_x-max_radius), int(pat_width)):
      for pos_y in range(int(sspace+layer.offsets[0]), int(max_y-max_radius), int(pat_width)):


Kevin

Author:  PhotoMaster [ Tue Mar 17, 2015 1:45 pm ]
Post subject:  Re: Missing Python and Mathmap under Gimp 2.8

is anyone running Gimp 2.8.14 with a working version of mathmap? If so how did you get it to work? I have also hear that Mathmap can be run as a stand alone. Has anyone been able to run it as a stand anlone?

Author:  molly [ Tue Mar 17, 2015 1:59 pm ]
Post subject:  Re: Missing Python and Mathmap under Gimp 2.8

I have Gimp-2.8.14 on Linux but I don't have Mathmap on this version of Linux. I never got around to getting it because I wasn't using it much when I did have it.

Author:  Odinbc [ Tue Mar 17, 2015 2:39 pm ]
Post subject:  Re: Missing Python and Mathmap under Gimp 2.8

MapMap work fine in Gimp 2.8.14, Linux. I'm pretty sure I got it at GitHub, schani/mathmap.

Image

Author:  PhotoMaster [ Tue Mar 17, 2015 2:59 pm ]
Post subject:  Re: Missing Python and Mathmap under Gimp 2.8

When I start up Gimp in Windows, I see Mathmap.exe loading but it doesn't appear in any menu.

Author:  Odinbc [ Tue Mar 17, 2015 3:06 pm ]
Post subject:  Re: Missing Python and Mathmap under Gimp 2.8

Did you check, Filters | Generic?

Author:  PhotoMaster [ Tue Mar 17, 2015 3:22 pm ]
Post subject:  Re: Missing Python and Mathmap under Gimp 2.8

That's where it should be, but it's not there. I spent about an hour and a half going through every menu option several times thinking it had to be there and that I missed it.

Author:  Odinbc [ Tue Mar 17, 2015 3:38 pm ]
Post subject:  Re: Missing Python and Mathmap under Gimp 2.8

Not in the plug-in browser either?
FYI my install is local in it's own folder.
odinbc/.gimp-2.8/mathmap
Only MathMap executable is in plug-ins.

Author:  PhotoMaster [ Tue Mar 17, 2015 3:55 pm ]
Post subject:  Re: Missing Python and Mathmap under Gimp 2.8

I'm looking to find my old Gimp 2.6 installs so I can reinstall it and get mathmap back that way.

Author:  molly [ Tue Mar 17, 2015 3:58 pm ]
Post subject:  Re: Missing Python and Mathmap under Gimp 2.8

When I was still running Windows, I got all my mathmaps from PhotoComix website.
http://photocomix-resources.deviantart. ... -150221966

Author:  PhotoMaster [ Tue Mar 17, 2015 4:34 pm ]
Post subject:  Re: Missing Python and Mathmap under Gimp 2.8

Mathmap doesn't show up in the plug in browser.

The version of Mathmap that I got is the latest, so I need to play with it. I did find an install for Gimp 2.6.0 so at least I can run Mathmap on that but that can be a pain. I would still like to get it working on 2.8 14.

Author:  molly [ Tue Mar 17, 2015 5:35 pm ]
Post subject:  Re: Missing Python and Mathmap under Gimp 2.8

I am sure some one will come along with a version that will work for you PhotoMaster.

Author:  Graechan [ Tue Mar 17, 2015 8:23 pm ]
Post subject:  Re: Missing Python and Mathmap under Gimp 2.8

PhotoMaster here are some files that work in my 2-8-14 installs, please delete all current mathmap files you have installed,
then follow the directions in the INSTALL INSTRUCTIONS.txt files precisely
These files are for any gimp installs
MathMap-Win32-Install
MathMap-Win64-Install

Author:  PhotoMaster [ Tue Mar 17, 2015 10:27 pm ]
Post subject:  Re: Missing Python and Mathmap under Gimp 2.8

Thank You Graechan!! That worked!! Woo Hoo!!

Attachments:
MyPanoDiscDrosteNewMathMap.png
MyPanoDiscDrosteNewMathMap.png [ 1001.85 KiB | Viewed 1705 times ]

Author:  Graechan [ Wed Mar 18, 2015 12:25 am ]
Post subject:  Re: Missing Python and Mathmap under Gimp 2.8

PhotoMaster I'm Glad I could assist

Page 1 of 2 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/