Script parameters is void

You found an error in the program ? Report it here
Post Reply
mrobama
Posts: 85
Joined: 2009-04-03 12:34:34

Script parameters is void

Post by mrobama »

I installed 4.2.0.2 on Win 8.1 64bit pro
When I try to execute a script, in the window the script parameter area is empty. Maybe a rendering problem, when I focus the area I can read "Double click on a parameter to change it".

With 4.1 on Win XP 64bit the area is not empty.

Image
antp
Site Admin
Posts: 9732
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

There is no script parameter for IMDb, so it explains why that is empty here. That feature didn't yet exist in the other version you had before, I suppose.

However below that there should be a "script limitations" block ("Limiti script") like what you circled on the old version screenshot...
Nothing changes when you resize the window, I suppose?
If you try to maximize it, close it and then reopen it maybe?
mrobama
Posts: 85
Joined: 2009-04-03 12:34:34

Post by mrobama »

The parameters I need to change are identified as "Fields.Excluded=" in scripts.ini. That is, I need to uncheck some parameters, as movie duration, because it overwrite the real value (the one I got from file).

I can't selected these parameters for every ifs/script I select. Resizing the window and reopening the app doesn't solve the problem.

At the moment, the only work around I've found is manually copying Fields.Excluded= from 4.1 scripts.ini (this is the only field I manually copied, I noticed 4.2 scripts.ini is different from 4.1). In this way Fields.Excluded is recognized and the import from scripts works as I want, but I still can't modify these parameters/fields from gui

> However below that there should be a "script limitations" block ("Limiti script") like what you circled on the old version screenshot...

No, there isn't another block after "script limitations". Here another screenshot:

Image
mrobama
Posts: 85
Joined: 2009-04-03 12:34:34

Post by mrobama »

I think something went wrong during the update from 4.1 to 4.2.0.2 (but I never received error/warning message). I think so because on another pc with 4.2.0.2 on another Win 8.1 Pro ita 64bit I don't have this error (I did a fresh install on this PC). I'll investigate further this evening or tomorrow.
mrobama
Posts: 85
Joined: 2009-04-03 12:34:34

Post by mrobama »

Ok, I fixed it. It was an error in prefs.xml. But I never edited the file, so something in the GUI corrupts prefs.xml

I uploaded both xml here, you can test on your own app and replicate the problem: http://www.adrive.com/public/X8Ujaa/prefs.zip
antp
Site Admin
Posts: 9732
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

mrobama wrote: > However below that there should be a "script limitations" block ("Limiti script") like what you circled on the old version screenshot...

No, there isn't another block after "script limitations". Here another screenshot:
Well what I meant is that normally there should be one, as indeed I saw it was missing on your screenshot ;) (as I said, it is normal that the parameters block is empty in this case, it is a new thing)
Thanks for the config file, I wonder how it can cause that, maybe soulsnake will have an idea of what could have happened.
If you wish to keep your old XML config file, it is probably easy to fix: the problem is on the line containing

Code: Select all

DockpanelLimitations Rev="2000" Visible="0"
visible is set to 0 instead of 1 for an unknown reason... (normally the visibility of that panel can't be changed by the user)
mrobama
Posts: 85
Joined: 2009-04-03 12:34:34

Post by mrobama »

Ok, solved, thank you for your help. I'm sure I've not edited that file, so I can't say why Visible="0".

By the way: I love AMC!
Post Reply