![]() |
Script-Fu in GIMP 3 website - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP) +--- Thread: Script-Fu in GIMP 3 website (/Thread-Script-Fu-in-GIMP-3-website) Pages:
1
2
|
RE: Script-Fu in GIMP 3 website - crogonint - 05-04-2025 Yeeeep. That gave me more information on the Error Console all right! Activate Warning > global-aa-set-up : type : boolean : #t Activate Warning > Parasite not found: global-aa-waiting Activate Warning > Parasite not found: global-aa-waiting Activate Warning > global-aa-status : type : boolean : #t Activate Warning > global-aa-save-every-minutes : type : number : 5 Activate Warning > global-aa-max-saves : type : number : 12 Activate Warning > global-aa-path-set-in-dialog : type : string : F:\Images Activate Warning > global-aa-dir-name : type : string : \GIMP_Autosave Activate Warning > autosave-settings: list: (save-every-minutes . 5) (max-saves . 12) (dialog-save-path . F:\Images) (dir-name . \GIMP_Autosave) Activate Warning > Image is untitled Activate Warning > dialog-save-path : F:\Images Activate Warning > dir-name : \GIMP_Autosave Activate Warning > image ID : 2 Path root: F:\Images\GIMP_Autosave\Untitled Activate Warning > dialog-save-path : F:\Images Activate Warning > GUI Save Path: F:\Images Activate Warning > dir-name : \GIMP_Autosave Activate Warning > GUI Folder : \GIMP_Autosave Activate Warning > Autosave path: F:\Images\GIMP_Autosave\Untitled_2\ Activate Warning > Constructing autosave filename: F:\Images\GIMP_Autosave\Untitled_2\autosave_1.xcf Activate Warning > Image base name: Untitled Activate Warning > Autosave path: F:\Images\GIMP_Autosave\Untitled_2\ Activate Warning > Autosave filename: F:\Images\GIMP_Autosave\Untitled_2\autosave_1.xcf Activate Warning > Creating directory: F:\Images\GIMP_Autosave\Untitled_2\ Activate Warning > Initial path parts: list: Images GIMP_Autosave Untitled_2 "" Activate Warning > Creating directory: /Images/GIMP_Autosave Activate Warning > Creating directory: /Images/GIMP_Autosave/Untitled_2 Activate Warning > Creating directory: /Images/GIMP_Autosave/Untitled_2/ Activate Warning > Saving image to: F:\Images\GIMP_Autosave\Untitled_2\autosave_1.xcf GIMP Error Execution error for procedure 'gimp-xcf-save': Error creating 'F:\Images\GIMP_Autosave\Untitled_2\autosave_1.xcf': Error opening file “F:\Images\GIMP_Autosave\Untitled_2\autosave_1.xcf”: No such file or directory GIMP Error Execution error for 'Activate': Error: Procedure execution of gimp-xcf-save failed: Error creating 'F:\Images\GIMP_Autosave\Untitled_2\autosave_1.xcf': Error opening file “F:\Images\GIMP_Autosave\Untitled_2\autosave_1.xcf”: No such file or directory (05-04-2025, 08:33 PM)crogonint Wrote: Activate Warning I see 2 directory paths that look like Windows, and two that look like Linux, is that the problem?? (I'm not at all sure which one is actually attempting to create a directory, if any of them.) Also: I manually created GIMP_Autosave, so that's permanently on my hard drive, now. Activate Warning > Creating directory: /Images/GIMP_Autosave I'm not at all sure if THIS looking like a Linux directory is why I had to create it manually. RE: Script-Fu in GIMP 3 website - crogonint - 05-06-2025 I've discovered the issue! ..or rather Schumami guessed at it correctly. As soon as I move the save folder out of my user directory (in Windows, C:/Users/User_Name/ it cannot create the directory! So since I immediately knew that I wanted to put my Autosave folder on my non-Windows drive, under F:/Images/GIMP_Autosave it simply never worked from the start. RE: Script-Fu in GIMP 3 website - crogonint - 05-07-2025 Also, just to note, I never did figure out how to get my settings to be persistent in the Setup. So.. since you showed how to adjust the scripts, I changed the default settings to my preferred ones. ![]() (Excepting the default of using the User directory as the root, of course, since it doesn't work if I move it outside of the User directory. So, my defaults now are: 5 minutes 12 saves /Users/User_Name/ GIMP_Autosave (I also changed the default folder name to GIMP_Autosave, in the script, where it says "folder-name-is-invalid".) RE: Script-Fu in GIMP 3 website - pixelmixer - 05-08-2025 (05-07-2025, 12:41 AM)crogonint Wrote: Also, just to note, I never did figure out how to get my settings to be persistent in the Setup. So.. since you showed how to adjust the scripts, I changed the default settings to my preferred ones. Great! It's odd that the settings don't persist, the script puts parasite data into the global space to record the settings. You should be able to see those in parasiterc in your .config dir For example: # GIMP parasiterc # # This file will be entirely rewritten each time you exit. (parasite "global-aa-dir-name" 1 9 "\57Autosave") (parasite "global-aa-save-every-minutes" 1 2 "\61\60") (parasite "global-toggle-eraser-scale" 1 1 "\61") (parasite "global-aa-max-saves" 1 1 "\63") (parasite "global-aa-path-set-in-dialog" 1 10 "\57home\57mark") (parasite "global-aa-set-up" 1 2 "\43t") (parasite "global-prev-paint-mode" 1 2 "\62\70") # end of parasiterc |