It is currently Sun Jul 21, 2024 12:19 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 18 posts ] 
Author Message
 Post subject: MareroQ
PostPosted: Wed Sep 07, 2011 11:47 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
How did you get the lineborder filter to work in Windows XP?

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: MareroQ
PostPosted: Wed Sep 07, 2011 12:11 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Have you read my answer to http://registry.gimp.org/node/24784#comment-12784 ?
Maybe it is also important version of Python (as in the recipe - my 2.6.6) ?

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: MareroQ
PostPosted: Wed Sep 07, 2011 12:43 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
MareroQ wrote:
Have you read my answer to http://registry.gimp.org/node/24784#comment-12784 ?
Maybe it is also important version of Python (as in the recipe - my 2.6.6) ?


At the registry forum you asked me-
Did you install pygtk-2.16.0 + glade.win32-py2.6.exe?

If i install these do i need to re-install gimp again?
Also i have pygtk installed. Does it have to be version 2.16.0?

What if i just install GTK+ with Glade will that work?
http://ftp.gnome.org/pub/GNOME/binaries ... lade3/3.6/


No it doesn't.

I downloaded the pygtk + glade for windows and installed it...testing now
Didn't work...i think i may have to re-install Gimp to have the new version of pYGTK work for this.
I really do not think i want to go through all that trouble for 1 filter.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: MareroQ
PostPosted: Wed Sep 07, 2011 1:23 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
To me - Glade installation is not required (but useful).
What is needed is http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.16/pygtk-2.16.0+glade.win32-py2.6.exe
It should work without re-installing GIMP.
Do other plugins with the required glade.win (for example: Index print) works for you?

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: MareroQ
PostPosted: Wed Sep 07, 2011 1:55 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
I haven't installed index print.Maybe i will try that next.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: MareroQ
PostPosted: Wed Sep 07, 2011 2:17 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
I packed a minimal set of Python 2.6.6 (works with LineBorder2 and Indexprint) for Gimp 2.6.11 - for testing I can send by e-mail (13Mb).

PS. Yet another question - for those plugins do not work motives, why?


Attachments:
LB2.png
LB2.png [ 474.29 KiB | Viewed 2839 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: MareroQ
PostPosted: Wed Sep 07, 2011 2:45 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
You can send it to wacmaster@hotmail.com
Do you mean themes?
I believe the themes for this plugin are not controlled by gtkrc files but glade files instead.
If you download the windows GTK + glade interface builder you may be able to get it to work through that setup.
http://ftp.gnome.org/pub/GNOME/binaries ... h-GTK+.exe
If i can get the filter to work for me i will try and set it up and tell you how i did it.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: MareroQ
PostPosted: Wed Sep 07, 2011 3:39 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
In the case of Themes for glade.win - each piece of information is priceless - when the plugin is already running ..
ps. The test can clarify whether it is valid Python version => 2.6.6

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: MareroQ
PostPosted: Thu Sep 08, 2011 11:24 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
Still no luck MareroQ sorry.

Here is what i did.
First i copied the Python26 directory and saved the original to my desktop just in case.
I unzipped the contents you sent me to the copied C:\python26 directory.
I started up Gimp and the same dialog popped up on Gimp startup
Image

Lineborder still does not work however.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: MareroQ
PostPosted: Thu Sep 08, 2011 12:28 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
We now know that more is not important version of the Python (I also Gimp 2.7.3 JamesH has Python 2.6.5 - and LineBorder2 works)
However, the lack of something - in the weekend I'll try to install on another computer, and I compare the files (if only the Gimp would be easy, but it may be a problem in the system ...)

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: MareroQ
PostPosted: Thu Sep 08, 2011 2:50 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
I know.
All it would take is one missing path or dependency and poof.
Windows does not make it easy to troubleshoot problems like these either.

I have Glade installed, and it works so i know windows sees it.
I have python modules installed needed for lineborder to work.

Funny thing is, the compiled lineborder.py file looks for encoders in Python25/LIB/encoders.
So i tried opening it in Python25 and the command window opened it but no dialog.

It's like Gimp runs it, but doesn't build the UI.The only reason i can think of is the Glade libraries are not being understood still.

I can even run the lineborder filter in Gimp and Gimp will act like i have opened and used the filter.
It will actually show in the redo and undo under edit and filter menu shows "reshow lineborder"

It's very strange indeed.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: MareroQ
PostPosted: Fri Sep 09, 2011 11:14 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
No other idea: can you try pygtk-all-in-one-2.24.0.win32-py2.6.msi ? (unless already previously installed...)

Why ?
1. I installed Gimp 2.7.3 (Partha) in XP 32bit - LineBorder does not work.
2. I deleted C:\Program Files\Gimp-2.7.3\python
3. I installed Python 2.7.2 in C:\Python27 and copy to C:\Program Files\Gimp-2.7.3\python - LineBorder does not work.
4. I installed pygtk-all-in-one-2.24.0.win32-py2.7.msi in C:\Python27 and again copy to C:\Program Files\Gimp-2.7.3\python: - LineBorder works !


Python 2.7.2 Windows Installer
http://www.python.org/getit/
pygtk-all-in-one-2.24.0.win32-py2.7.msi
http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.24/

In README:

If you have used some or all of the separate PyGTK, PyGObject, PyGooCanvas,
PyGtkSourceView2, PyRsvg and PyCairo packages before, please ensure they are
uninstalled before you begin with the PyGTK All-in-one installer.

The all-in-one installer does not check for their presence and will happily
overwrite files that belong to the separate packages. If you forget to check
for this you risk the following scenario:

- install Python
- install PyCairo, PyGTK and PyGObject
- install PyGTK All-in-one
- uninstall PyCairo, PyGTK and PyGObject
- you now have a *broken* pygtk all-in-one installation

This would also be a good time to remove the GTK+ runtime you've used with the
separate PyG* packages and to clean your PATH environment variable.

Note that the PyCairo, PyGObject, PyGTK, PyGoocanvas, PyGtkSourceView2 and PyRsvg
.exe installers (like any other .exe installer generated by distutils) sometimes
leave things behind when you uninstall them.

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: MareroQ
PostPosted: Fri Sep 09, 2011 11:38 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
hrmmm...i have tried the all in one installers before with no luck.So i switched back to the 3 individual ones.
I think i'll just forgo the install of Lineborder for now until they get a bit better more compact plugin. :)

Thanks for all your help though MareroQ.
It is greatly appreciated.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: MareroQ
PostPosted: Fri Sep 09, 2011 5:20 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Too bad. I like every experiment (of course with the backup).
In another topic - Themes.
If you are using several versions of Gimp in one system (eg 2.6.11.i 2.7.3) and this requires multiple versions of Python - and on gtk + (responsible for the Themes ..)
A great solution (for 2.7) is Partha solution - but for one version of Gimp - but you can always go back to the GTK Theme Selector
(difficult example -LineBorder2-problem solves it ..)


Attachments:
Ts.png
Ts.png [ 38.94 KiB | Viewed 1428 times ]
LB.png
LB.png [ 26.75 KiB | Viewed 1428 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: MareroQ
PostPosted: Fri Sep 09, 2011 6:08 pm  (#15) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Also glad: http://www.gimpchat.com/viewtopic.php?f=9&t=2513&start=20#p32479
Because we want to learn - why?

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: MareroQ
PostPosted: Fri Sep 09, 2011 11:45 pm  (#16) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
Yes, now i want to know why it works there and not in Gimp-2.6.11 :)
More testing to do.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: MareroQ
PostPosted: Thu Sep 22, 2011 10:27 am  (#17) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
According to me about lack glade.pyd file (and maybe others ...)
Can you try to localize:
c:\Program Files\ Gimp-2.7.?\python\Lib\site-packages\gtk-2.0\gtk\glade.pyd ?


Attachments:
glade.zip [7.26 KiB]
Downloaded 79 times

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: MareroQ
PostPosted: Thu Sep 22, 2011 5:46 pm  (#18) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
That was it Marero! :)
works great now.
How do i get 2.6.11 to work now?

Got it!
If you place the glade.pyd file in the C:\Program Files\GIMP-2.0\lib\gimp\2.0\python directory folder it starts.


Thanks again.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
Post new topic Reply to topic  [ 18 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts MareroQ

20

No new posts Attachment(s) Homage to MareroQ

3

No new posts Attachment(s) MareroQ's new Halloween animation filter

7

No new posts Attachment(s) Official release: MareroQ & Pocholo "Cosmos" plugin

125

No new posts I took MareroQ's advice and hide all al lthe "z" title operations

2



* Login  



Powered by phpBB3 © phpBB Group