It is currently Mon Apr 29, 2024 2:02 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 41 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: Error: ( : 1) atom->string: needs 1 argument(s)
PostPosted: Thu May 17, 2018 7:10 pm  (#31) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
I'll go one further. Gimp 2.10-RC1 is more forgiving with poorly coded scripts. They tightened it up with the final release, so it won't run un-compliant scripts.

That's my un-qualified opinion anyway.


Top
 Post subject: Re: Error: ( : 1) atom->string: needs 1 argument(s)
PostPosted: Fri May 18, 2018 5:13 am  (#32) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1333
Quote:
They tightened it up with the final release, so it won't run un-compliant scripts.

I just checked gimp/plug-ins/script-fu/tinyscheme/ on github. It looks like there has been no drastic work done on TinyScheme.
https://github.com/GNOME/gimp/tree/mast ... tinyscheme
Somebody just ran a spell-checker over a lot of Gimp files and fixed typos in comments.
That should have no effect.


Top
 Post subject: Re: Error: ( : 1) atom->string: needs 1 argument(s)
PostPosted: Sat May 19, 2018 7:11 am  (#33) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1333
I was able to fix my scrip-fu console.

Image


What I did was delete the script-fu file in username/.config/GIMP/2.10/plug-ins/
It is <helpfully> carried-on by the Gimp 2.10 install and conflicts with the script-fu installed by Gimp 2.10 in /usr/lib/gimp/2.0/plug-ins/script-fu.
Just re-naming it wasn't enough. I had to delete it. :bigthup


Top
 Post subject: Re: Error: ( : 1) atom->string: needs 1 argument(s)
PostPosted: Sat May 19, 2018 7:50 am  (#34) 
Offline
GimpChat Member
User avatar

Joined: Sep 27, 2016
Posts: 345
Location: Germany, BW
Indeed ... that worked for me, too ! :jumpclap
Thanks for finding that.
Now we need a replacement for script-fu scrolling interface, don't we?

_________________
Regards
nelo

(Gimp 2.10 on Linux Mint MATE 20.1)


Top
 Post subject: Re: Error: ( : 1) atom->string: needs 1 argument(s)
PostPosted: Sat May 19, 2018 3:13 pm  (#35) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
Awesome find Tas_mania! Works great here too....

As for scrolling, I just hold down the Ctrl key while moving the window up with the mouse.


Top
 Post subject: Re: Error: ( : 1) atom->string: needs 1 argument(s)
PostPosted: Sun May 20, 2018 2:54 am  (#36) 
Offline
GimpChat Member
User avatar

Joined: Sep 27, 2016
Posts: 345
Location: Germany, BW
racer-x wrote:

As for scrolling, I just hold down the Ctrl key while moving the window up with the mouse.


What a trick! So easy.
Works on Linux Mint using Ctrl+Alt
Thanks a lot for posting :bigthup

_________________
Regards
nelo

(Gimp 2.10 on Linux Mint MATE 20.1)


Top
 Post subject: Re: Error: ( : 1) atom->string: needs 1 argument(s)
PostPosted: Sun May 20, 2018 6:52 am  (#37) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
Actually, I was wrong about the key. I just need to hold down the Alt key and move the settings window with the mouse on my Linux Mint 18.3 and Gimp 2.10.1 AppImage.


Top
 Post subject: Re: Error: ( : 1) atom->string: needs 1 argument(s)
PostPosted: Sun May 20, 2018 8:14 pm  (#38) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1333
The script I was testing worked perfectly after deleting the old script-fu.

I logged it as a bug here:
https://bugzilla.gnome.org/show_bug.cgi?id=796263
That was an experience. Gimp bugzilla uses ancient software :(

I'm sure Gimp 2.10 imports plugins and scripts from old Gimp versions into the .config folder.
We'll see what happens........


Top
 Post subject: Re: Error: ( : 1) atom->string: needs 1 argument(s)
PostPosted: Mon May 21, 2018 3:21 am  (#39) 
Offline
GimpChat Member
User avatar

Joined: Sep 27, 2016
Posts: 345
Location: Germany, BW
Quote:
Michael Natterer 2018-05-20 13:10:37 UTC

Why would you have an older script-fu, or any other plug-in shipped
with GIMP in ~/.config/GIMP/2.10/plug-ins/ ?


In principle he's right. It doesn't come with GIMP natively. But we use it, because we need scrolling script-fu windows sometimes. And I wonder why the devs don't integrate scrolling when it's easily done by a simple plugin. I think there was even a feature request years ago ( can't find it at the moment).

_________________
Regards
nelo

(Gimp 2.10 on Linux Mint MATE 20.1)


Top
 Post subject: Re: Error: ( : 1) atom->string: needs 1 argument(s)
PostPosted: Mon May 21, 2018 4:47 am  (#40) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1333
"It doesn't come with GIMP natively".
Now I remember we needed it to scroll windows. No wonder you are using the keyboard again.

Maybe 3 of us had Gimp 2.9, then we installed Gimp 2.10 and the new Gimp picked-up our plugins from the 2.9 folder (which was also in /.config)

Either that or we copy and pasted our scripts and plugins into Gimp 2.10 from previous Gimps.
That means we caused the problem :( and my bug report was a waste of time.

Either way we found out what makes "Error: ( : 1) atom->string: needs 1 argument(s)" and it's here for others.


Top
 Post subject: Re: Error: ( : 1) atom->string: needs 1 argument(s)
PostPosted: Tue May 22, 2018 5:26 pm  (#41) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4739
nelo wrote:
Quote:
Michael Natterer 2018-05-20 13:10:37 UTC

Why would you have an older script-fu, or any other plug-in shipped
with GIMP in ~/.config/GIMP/2.10/plug-ins/ ?


In principle he's right. It doesn't come with GIMP natively. But we use it, because we need scrolling script-fu windows sometimes. And I wonder why the devs don't integrate scrolling when it's easily done by a simple plugin. I think there was even a feature request years ago ( can't find it at the moment).


The scrolling window is an awful cop-out. If the script requires one, it has too many parameters or it should have a more intelligent interface (where parts appear only when needed, etc...).

_________________
Image


Top
Post new topic Reply to topic  [ 41 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Columbine String Art.

6

No new posts Attachment(s) String Art Plug-in

24

No new posts Attachment(s) String Trussed Dalia

5

No new posts Attachment(s) Free – Selection Tool – Stopping the String

4

No new posts Attachment(s) GEGL calls GMIC, REMBG, AIs or any bash string with our bash plugin

86



* Login  



Powered by phpBB3 © phpBB Group