OFDB not working anymore with 4.2.2 [FIXED]

If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
Post Reply
pah
Posts: 8
Joined: 2014-11-16 14:50:16

OFDB not working anymore with 4.2.2 [FIXED]

Post by pah »

Hello,

because we had to upgrade the AMC-Version now for using the imdb-script the script for OFDB doesn't work now with 4.2.2 :(

Can someone please fix this too like it has been done already for the really also very important imdb-script? ;)

Best regards,
pah
Last edited by pah on 2018-05-08 17:39:49, edited 1 time in total.
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Re: OFDB not working anymore with 4.2.2

Post by antp »

Hi,
The problem is that ofdb does not support TLS 1.2 like all other HTTPS seem to do (and some even require, hence the upgrade to AMC 4.2.2), they just have the nearly obsolete TLS 1.0 and the obsolete SSLv2/v3.
This could probably be fixed by adding to AMC an option to force one or the other version of TLS when connecting (or I could search if the version can be chosen automatically), but in the meantime the only solution is to keep AMC 4.2.1 in parallel for ofdb.
However don't know if it will be worth doing much about that: as normally TLS 1.0 will be deprecated in the next months, maybe they will upgrade the site at some point, as I expect that Chrome & Firefox will start displaying warnings or errors about that.
pah
Posts: 8
Joined: 2014-11-16 14:50:16

Re: OFDB not working anymore with 4.2.2

Post by pah »

Hi!

Thanx for reply!

Indeed I use ofdb and imdb for my AMC. But I use it "my way" - most of the content from ofdb (description in german) and additionals from imdb (producer, music, etc). But also not the weblink for example an so on. So I import first all from ofdb and select just the other fields to fill from imdb content in a 2nd step. I know this will never be automatic, but that's OK.

So now I only can do my first step with 4.2.1 and the second with 4.2.2. - that's not very practicable. I hope ofdb will come soon with an update too. Meanwhile I had to resign the second step. This is not the first time not both scripts are working well.

Best regards,
pah
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Re: OFDB not working anymore with 4.2.2

Post by antp »

I'll try to take a look at that problem, not sure if I'll have much time in the next days, currently we have unusually good weather in Belgium ;) But in worse case it should be doable next week.
pah
Posts: 8
Joined: 2014-11-16 14:50:16

Re: OFDB not working anymore with 4.2.2

Post by pah »

Hi!

No urgency! Next week or in 2 weeks will be early enought!

Free time has priority! Have a good time! :-)

Best regards,
pah
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Re: OFDB not working anymore with 4.2.2

Post by antp »

I found how to solve the problem, at least it seems to work with OFDB and the few sites that weren't working with 4.2.1 version.
I published an updated beta version that you can try ;)
pah
Posts: 8
Joined: 2014-11-16 14:50:16

Re: OFDB not working anymore with 4.2.2

Post by pah »

Hello!

Hope you are doing well!

I only found the update for IMDB for version 4.2.2. from 29.4. and yes this 4.011 is now working better with the last AMC-Version (before some 404-errors occurred but without loss of information anyway). Many thanks! :up:

But is the new script-version for OFDB really published? I can't find it. :/

Best regards,
pah
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Re: OFDB not working anymore with 4.2.2

Post by antp »

The old OFDb script is still working, isn't it? The problem was in AMC itself, not in the script
(I did a test with one movie and it got the info)
pah
Posts: 8
Joined: 2014-11-16 14:50:16

Re: OFDB not working anymore with 4.2.2

Post by pah »

Hi!

Now I tried the update 4.2.1.3 (SSLFIX1) and unfortunately no script is working anymore now! :/

stops about here with error:

Code: Select all

uses
//  Debug,
  StringUtils1, StringUtils7552;
script error "unit is not found at ..." what can be the problem now?

Best regards,
pah
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Re: OFDB not working anymore with 4.2.2

Post by antp »

It happens when you delete the .pas files that the script tries to load (in this case, StringUtils1.pas or StringUtils7552.pas, from the Scripts folder)
These files are included with the program but can also be found on http://update.antp.be/amc/scripts/

But why do you try that old 4.2.1.3 version which was just a test? (I'll delete it, I forgot to do so)
That version didn't work with OFDb.
There is the beta 4.2.2.1 that should be used instead.
davezn
Posts: 32
Joined: 2013-12-12 14:55:59
Location: RSA

Re: OFDB not working anymore with 4.2.2

Post by davezn »

anyone had any success in creating a MUSIG script in English??
:??:
Regards
Davezn
fulvio53s03
Posts: 744
Joined: 2007-04-28 05:46:43
Location: Italy

Re: OFDB not working anymore with 4.2.2

Post by fulvio53s03 »

davezn wrote: 2018-05-08 10:22:31 ... MUSIG script in English?? ....
Have You seen Discogs and Allmusic scripts? (I think that MUSIG is an error to say MUSIC).
Don't you like them?
Which other site would You like to have a script?
:)
pah
Posts: 8
Joined: 2014-11-16 14:50:16

Re: OFDB not working anymore with 4.2.2

Post by pah »

antp wrote: 2018-05-04 07:21:12 It happens when you delete the .pas files that the script tries to load (in this case, StringUtils1.pas or StringUtils7552.pas, from the Scripts folder)
These files are included with the program but can also be found on http://update.antp.be/amc/scripts/

But why do you try that old 4.2.1.3 version which was just a test? (I'll delete it, I forgot to do so)
That version didn't work with OFDb.
There is the beta 4.2.2.1 that should be used instead.
Oh yeah, 4.2.2.1 works perfect! :up:

Thank you very much!

pah
UPollaehne
Posts: 13
Joined: 2003-02-07 22:48:02

Re: OFDB not working anymore with 4.2.2 [FIXED]

Post by UPollaehne »

I have uploaded a new version (1.0.19, to https://ks3c.antp.be/upload.php) where I removed the UTF-8 encoding of the film title for the search since this always failed with ANT 4.2.2 in case of Umlauts.
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Re: OFDB not working anymore with 4.2.2 [FIXED]

Post by antp »

Thanks, it has been put with the other scripts available
Post Reply