Post Reply 

Installing GURM

Feb 25, 2012, 20:56
Post: #1
Installing GURM
I hope I am in the right place, I do not know if there is a new plug-in that is better GURM if so please advise otherwise I need help getting GURM to work.
Windows 7 Home Premium
GIMP 2.6.12 in win32bit resources point to both directories, plug-ins are in
C:\Program Files (x86)\gimp-2.0\lib\gimp\2.0\plug-ins and brushes and scripts etc. are in
C:\Program Files (x86)\gimp-2.0\share\gimp\2.0\brushes or scripts etc. the swap folders for gimp-2.6 are in C:\users\Joan and Bobby\.gimp2.6\
Python 2.6.5 win 32, with pygtk-all-in-one-2.24.2.win32-py2.6, pycairo-1.8.6.win32-py2.6, pygobject-2.20.0.win32-py2.6, pygtk-2.16.0+glade.win32-py2.6
gurm_v07
Python does not see Gurm it does not show up in the Python-Fu, console, browse. Other Py programs are working. I have tried all the scripts and the two files in every configuration I could think of; see below. I have read so many forums and none of them have worked. I have spent about 3 full days on this and you can imagine what my wife thinks. Desperately seeking help.
GURMINI = C:\users\Joan and Bobby\.gimp2.6\plug-ins
gimpPath = C:\users\Joan and Bobby\.gimp2.6\brushes
userPath = C:\Program Files (x86)\gimp-2.0\Tools\Brushes with the Tools]Brushes added
also tried UserPath = C:\users\Joan and Bobby\.gimp2.6\brushes
GURMINI = C:\Program Files (x86)\gimp-2.0\lib\gimp\2.0\plug-ins
gimpPath = C:\Program Files (x86)\gimp-2.0\share\gimp\2.0\brushes
userPath = C:\Program Files (x86)\gimp-2.0\Tools\Brushes
Find all posts by this user
Quote this message in a reply
Feb 25, 2012, 22:58
Post: #2
RE: Installing GURM
From a command prompt, start
Code:
gimp-console --verbose
and see if you get any messages.

The installation instructions in the Gimp Registry tell you to edit the file, and Python source code is very sensitive to extra spaces and tabs, so you may have introduced a syntax error when editing the file. You can have a basic syntax check this way: in a command prompt:
Code:
python gurm.py

It will of course fail, but if the message is that it can't find gimp-fu, it means it went as far as trying to import modules so the syntax is right. Otherwise you may have a message about "inconsistent indenting". IIRC the Windows version of Python comes with IDLE which is a syntax-aware python editor that can help a bit to fix the code.

PS: Just because I suspect you are using GURM as a way to alleviate problems raised by a common Gimp profile, let me state that despite (or because?) 20+ years of marriage I'll never share my Windows (or Linux) profile with my wife. I can live with her taste for windows drapes but not her Firefox or Gimp preferences, "Common bed, but separate profiles" is the secret of married bliss Smile

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Feb 26, 2012, 02:48
Post: #3
RE: Installing GURM
You got great jokes. Married 30+ myself. Yes it seems to be a syntax error. I will work on that. Got PSPI to work, gave me some clues. Thanks
Find all posts by this user
Quote this message in a reply
Feb 26, 2012, 04:41 (This post was last modified: Feb 26, 2012 04:43 by REConley.)
Post: #4
RE: Installing GURM
I have been using IDLE, it comes up as the default editor. Get the following message from python-fu console;
GIMP 2.6.12 Python Console
Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)]
>>> python gurm.py
File "<input>", line 1
python gurm.py
^
SyntaxError: invalid syntax


These are the first three lines of gurm.py
#!/usr/bin/env python

GURMINI = "C:\Program Files (x86)\gimp-2.0\lib\gimp\2.0\plug-ins\gurm.ini"


This is the beginning of the gurm.ini
[Brush Manager]
useManager = yes
gimpPath = C:\Program Files (x86)\GIMP-2.0\lib\gimp\2.0\Brushes
userPath = C:\Program Files (x86)\gimp-2.0\Tools\Brushes
extensions = .gbr,.vbr,.gih,.abr,
installedOptions =

[Gradient Manager]
useManager = no
gimpPath = C:\Documents and Settings\<Your windows user>\<your gimp version>\gradients
userPath = <Your Path>
extensions = .ggr,.svg,
Find all posts by this user
Quote this message in a reply
Feb 26, 2012, 09:35
Post: #5
RE: Installing GURM
"python gurm.py" is mean to be run in a Windows/Bash command prompt, not inside python/IDLE... It calls merely calls the python interpreter to execute the python file.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Feb 26, 2012, 15:52 (This post was last modified: Feb 26, 2012 15:54 by REConley.)
Post: #6
RE: Installing GURM
I decided to remove Gimp completely including directories and start over. I was using an upgraded Gimp. Gurm works great, no errors and is an impressive tool. Going to make use of some of those empty swap files now. Thanks ofnuts freaky poster for your time and help.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Why isn't GAP installing in Gimp? manimal42 6 3,079 Apr 9, 2014 00:15
Last Post: aikiwaza
  help installing GimpHandb.tbz mikelovett 1 548 Sep 27, 2012 05:21
Last Post: ofnuts
  Need help installing Virtual Photographer in GIMP Knight22179 1 1,227 Feb 25, 2012 18:11
Last Post: Knight22179
  Trouble installing MathMap, GAP, Gimpfix foundry.. Barry 0 1,143 Mar 3, 2011 12:19
Last Post: Barry

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS