Page 1 of 1
IOHandler value is not valid help with this message
Posted: 2016-09-14 03:31:14
by Robertg_s
Hi all
I have been using this product for some time and today I am now getting a message "IOHandler value is not valid" with the IMDB script. I am unable to determine why this is coming up now all of a sudden. Does anyone know what the problem could be? If you require more information I will do my best to get it for you.
Other than that I think is the best product I have found for keeping track of my movies which now is 3,268 movies and still growing.
Could it be I have reached the limit? Although I can add more I am still getting the error above.
Posted: 2016-09-14 16:27:46
by Mamdouh
Me also , I have this issue today while I'm using imdb script.
I have 400 movies in AMC and it didn't import the movie poster ( I think it's the main issue cause this message)
Please experts, help to solve this!
Posted: 2016-09-14 17:40:43
by antp
Do you have latest version of the IMDB script? (3.86 - it is displayed in the bottom panel of the scripts window)
If so, maybe it is due to a combination of some options used ; can you make a screenshot of the options used?
Poster seems to work for me though... (tested with large & small image)
Posted: 2016-09-14 17:52:07
by Mamdouh
When I am using the script , it imported all the data from imdb.com but the message appeared and no picture is imported.
Yes I'm using the last version 3.86 but I don't understand what you mean with "combination of some options used" could you clarify it for me?
Posted: 2016-09-14 21:00:23
by Mamdouh
Could you upload the version of imdb.ifs you have to try , as it doesn't import the movie poster and show "IOHandler value is not valid" error message.
Posted: 2016-09-14 23:37:14
by deadeye
I have seen this message when my script was trying to download via HTTPS instead of HTTP. Maybe this has something to do with it?
Posted: 2016-09-15 00:23:45
by Robertg_s
I too have updated my scripts for IMDb to 3.86 and still getting the IOHandler value is not valid. I changed no options since it worked under the previous version. Yet I too get no poster. I did notice when using the new version the Picture option is not automatically checked. I did try with it checked and it still does not import the poster. I can find the poster and do my own copy and paste, but I wouldn't mind getting the poster at the same time as the rest of the information I used to get.
I am open to any suggestions for making this work again.
Posted: 2016-09-15 01:53:55
by deadeye
Indeed, when it's trying to download the picture, the URL evaluates to this:
'
https://images-na.ssl-images-amazon.com/images/.....................'
Changing to:
'
http://images.amazon.com/images/...........' seems to work
in both the ImportSmallPicture and ImportLargePicture functions, just before:
GetPicture(Value);
I inserted this:
Value := StringReplace(Value, 'https://images-na.ssl-images-', '
http://images.');
Needs testing and there may be a better way.

Posted: 2016-09-15 03:00:59
by Robertg_s
Deadeye I just want to how am I suppose to change the script as you said you did or do I just wait and do my copy and paste until I know its been corrected.
Or can you send me a copy of the modified script you are using. If you do, how do I go about adding that to the other scripts that AMC uses?
Posted: 2016-09-15 16:11:39
by Mamdouh
Thanks "
deadeye" it's worked with me
"
Robertg_s" you can do the following:
1- Open the imdb script editor.
(Get Information>>From Internet Using Script>>choose IMDB>>Editor)
2- Search on "***** functions to import the different pictures kinds, depending of the option selected by user *****" using the search tool.
3- Find the line where "GetPicture(Value);" is , and insert the line "Value := StringReplace(Value, 'https://images-na.ssl-images-', '
http://images.'); " before it.
For both "Import small picture from IMDB movie main page" and " Import large image from link on IMDB movie main page"
4- Run the script and it will work fine.
Hope it's clear for you!
Thanks again "
Robertg_s"
Posted: 2016-09-15 16:24:12
by Robertg_s
Thanks Deadeye.
I managed to do that. It works now without getting the error message, the picture did not appear to great for the one I needed but it is so good not getting the error anymore. Thought I broke it
So I just googled it found a picture that work and did my copy/paste for a more vivid picture. Will try again shortly with another movie.
Thanks again for your help. I learned a few new things during this which is always good to know.
Have a great day.
Posted: 2016-09-15 16:47:30
by antp
https is supported only recently in AMC (maybe only in current beta), that may be why I do not have problems with it.
Or maybe it only occurs on some movies (I did not test a lot different ones)
Posted: 2016-09-18 17:03:56
by JuanRa_007
It is right, AntB!! With AMC 4.2.1 [BETA] the images are added without problems.
IOHandler value is not valid
Posted: 2016-09-18 17:48:43
by davezn
Hi Deadeye,
Your script edit worked for me.
Thanks
Davezn
in both the ImportSmallPicture and ImportLargePicture functions, just before:
GetPicture(Value);
I inserted this:
Value := StringReplace(Value, 'https://images-na.ssl-images-', '
http://images.');

Re: IOHandler value is not valid
Posted: 2016-09-18 19:55:58
by kalimagdora
Thank you very much, now it's working

Posted: 2016-09-19 21:11:32
by mrobama
Thank you, it works, maybe someone should update imdb script so other user can update easily without looking here
Posted: 2016-09-20 19:02:11
by antp
indeed; I updated it on the server