It is currently Thu Nov 05, 2026 3:50 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 93 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
 Post subject: Re: Silhouette (Issabella's tutorial) Script
PostPosted: Fri Sep 16, 2016 9:38 am  (#81) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
really strange,
I try to patch that statement (I have an idea) and post the patched .scm to test

_________________
"Where am I ?"


Top
 Post subject: Re: Silhouette (Issabella's tutorial) Script
PostPosted: Fri Sep 16, 2016 9:40 am  (#82) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
added one statement to set the layer active
can you try this version?
Attachment:
Silhouette2.scm [9.45 KiB]
Downloaded 114 times

_________________
"Where am I ?"


Top
 Post subject: Re: Silhouette (Issabella's tutorial) Script
PostPosted: Fri Sep 16, 2016 9:52 am  (#83) 
Offline
GimpChat Member
User avatar

Joined: Oct 06, 2010
Posts: 4050
Image

dinasset wrote:
added one statement to set the layer active
can you try this version?
Attachment:
Silhouette2.scm

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Silhouette (Issabella's tutorial) Script
PostPosted: Fri Sep 16, 2016 9:55 am  (#84) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14835
Location: roma, italy
sorry, I have no other idea at the moment, thanks for testing

edit: and my problem is also that the original version runs well for me, so I cannot compare with hypothetical new patches I can think about...

_________________
"Where am I ?"


Last edited by dinasset on Fri Sep 16, 2016 9:58 am, edited 1 time in total.

Top
 Post subject: Re: Silhouette (Issabella's tutorial) Script
PostPosted: Fri Sep 16, 2016 9:57 am  (#85) 
Offline
GimpChat Member
User avatar

Joined: Oct 06, 2010
Posts: 4050
No problem. Thanks for trying.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Silhouette (Issabella's tutorial) Script
PostPosted: Fri Sep 16, 2016 10:32 am  (#86) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16244
dinasset wrote:
sorry, I have no other idea at the moment, thanks for testing

edit: and my problem is also that the original version runs well for me, so I cannot compare with hypothetical new patches I can think about...

Mahvin have you tried running the filter in the scripts folder by itself? Remove all other scripts and try it. Maybe one is conflicting somehow. Worth a try.

_________________
Image


Top
 Post subject: Re: Silhouette (Issabella's tutorial) Script
PostPosted: Fri Sep 16, 2016 10:54 am  (#87) 
Offline
GimpChat Member
User avatar

Joined: Oct 06, 2010
Posts: 4050
Rod wrote:
dinasset wrote:
sorry, I have no other idea at the moment, thanks for testing

edit: and my problem is also that the original version runs well for me, so I cannot compare with hypothetical new patches I can think about...

Mahvin have you tried running the filter in the scripts folder by itself? Remove all other scripts and try it. Maybe one is conflicting somehow. Worth a try.


I just tried that Rod, and same thing happens. It's just odd. Gonna try on my old laptop and see what it does.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Silhouette (Issabella's tutorial) Script
PostPosted: Fri Sep 16, 2016 2:57 pm  (#88) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2648
Location: Poland
Hi Mahvin.

What version LayerFX.py do you use?
Probably layerFX.2.8.
Not working properly - gives the same error:
Error while executing script-fu-silhouette-color:
Error: (<unknown> Procedure execution of gimp-image-select-item failed on invalid input arguments:
Procedure 'gimp-image-select-item' has been called with value '-1' for argument 'item' (#3, type GimpItemID).
This value is out of range.


Try to change on layerfx.py


Attachments:
layerfx.png
layerfx.png [ 22.95 KiB | Viewed 3697 times ]

_________________
Image
Top
 Post subject: Re: Silhouette (Issabella's tutorial) Script
PostPosted: Fri Sep 16, 2016 3:34 pm  (#89) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16244
MareroQ wrote:
Hi Mahvin.

What version LayerFX.py do you use?
Probably layerFX.2.8.
Not working properly - gives the same error:
Error while executing script-fu-silhouette-color:
Error: (<unknown> Procedure execution of gimp-image-select-item failed on invalid input arguments:
Procedure 'gimp-image-select-item' has been called with value '-1' for argument 'item' (#3, type GimpItemID).
This value is out of range.


Try to change on layerfx.py

Good thinking MareroQ i had some problems with adding that version to some scripts before.

_________________
Image


Top
 Post subject: Re: Silhouette (Issabella's tutorial) Script
PostPosted: Fri Sep 16, 2016 3:38 pm  (#90) 
Offline
GimpChat Member
User avatar

Joined: Apr 09, 2016
Posts: 580
Location: Sheffield UK
Tried Silhouette script2 - same error notice
Changed FX as suggested - same error notice
?

_________________
Image


Top
 Post subject: Re: Silhouette (Issabella's tutorial) Script
PostPosted: Fri Sep 16, 2016 7:59 pm  (#91) 
Offline
GimpChat Member
User avatar

Joined: Oct 06, 2010
Posts: 4050
Interesting thought. Let me check that out.

MIND BLOWN!

That was it! Silhouette script is now working properly. I dumped the faulty LayerFX 2.8 py plugin and presto!

<builds a small altar for MareroQ and burns incense while eating beef jerky as an act of sacrifice> :jumpclap :hi5 :tyspin :yes

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Silhouette (Issabella's tutorial) Script
PostPosted: Fri Sep 16, 2016 11:07 pm  (#92) 
Offline
GimpChat Member

Joined: Aug 10, 2016
Posts: 29
Same as mahvin, dumped the faulty layerfx and now Silhouette is working. :)


Top
 Post subject: Re: Silhouette (Issabella's tutorial) Script
PostPosted: Sat Sep 17, 2016 1:15 am  (#93) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16244
Yeah that module just doesn't like being called through scheme. Something to do with the layer groups. When the PDB calls an layer as a item. The layer stack is never correct. Kudos MareroQ for figuring this one out!

_________________
Image


Top
Post new topic Reply to topic  [ 93 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group