Page 1 of 1

Script file has invalid version number

Posted: January 9th, 2023, 4:31 pm
by pierrelabreche
Whenever executing a script, PWP displays the message "Script file has invalid version number"

Re: Script file has invalid version number

Posted: January 9th, 2023, 6:04 pm
by jsachs
It works here as far as I can tell ... please email me a copy of a script file that gives the error message and describe how it was created.

Re: Script file has invalid version number

Posted: January 9th, 2023, 8:08 pm
by pierrelabreche
script_test.jpg
script_test.jpg (3.44 KiB) Viewed 789 times
Because a script file cannot be attached to a bulletin board topic, its contents is reproduced below:
script 1.0

PWP_Version ″Picture Window Pro 8.0.343″ saved ″9-janvier-2023 18:49:56″

script_directory ″″
original_script_pathname ″C:\Users\pierr\Downloads\script_test.jpg.script″
associated_image_pathname ″C:\Users\pierr\Downloads\script_test.jpg″
associated_original_pathname ″″ -1
top_level_index 1

color_management enabled 1 on_mismatch 0 on_batch_mismatch 1 on_multiple_mismatch 1 acs_profile ″sRGB Color Space Profile.icm″ gray_acs_profile ″Gamma 2.2.icm″ ar_profile ″″ gray_ar_profile ″″ wcs_profile ″sRGB Color Space Profile.icm″ gray_wcs_profile ″Gamma 2.2.icm″ monitor_curves_file ″″ monitor_curves_enabled 0

image index 1 caption ″File New″ comment ″″ saved_as_pathname ″″ saved_on_date ″″ parent -1 bypass -1 same_size 0 size_specific 0 breakpoint 0 n_inputs 1 n_masks 0 command ‴file_new 0 type 3 nx 100 ny 100 units 0 dpi 100 color ffffff‴
end_image

image index 2 caption ″Color Curves″ comment ″″ saved_as_pathname ″C:\Users\pierr\Downloads\script_test.jpg″ saved_on_date ″09-janv.-2023 23:49:51″ parent 1 bypass 0 same_size 1 size_specific 0 breakpoint 0 n_inputs 0 n_masks 1 command ‴color_curves 0 curve1 2 2 0 0 255 158 curve2 2 2 0 0 255 255 curve3 2 2 0 0 255 255 colorspace 2 component 0 b_curve1 2 2 0 128 255 128 b_curve2 2 2 0 0 255 255 b_curve3 2 2 0 0 255 255 b_colorspace 0 b_component 2 which_curve 0 mask_histogram 0 amount 1 -1 2 1 ″Amount: ″ ″Mask″ display 2 sync_scroll 1 auto_preview 1‴
end_image

end
A screen capture of the error message follows.

Re: Script file has invalid version number

Posted: January 9th, 2023, 8:20 pm
by jsachs
I think the problem may be related to using a locale which uses commas instead of decimal points.