• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

FrameScript Script stops with error after years of faithful service. What has changed?

Community Beginner ,
Aug 22, 2023 Aug 22, 2023

Copy link to clipboard

Copied

Hi there,

first the facts - I´m using

  • FrameMaker 2019 (15.0.8.979)
  • ElmScript Version 7.0R1p25 (the german FrameScript)
  • Windows 10 Pro (22H2)

I have been using my trusty Script for years. It pulls texts from the text resource database for the machines we build (sql) into FrameMaker variables.

Since recently the script stops with the following error message:

Screenshot 2023-08-03 081738.png

 

 

 

 

 

The error is clear to understand, the question is "why can that variable suddenly not be found any longer?".

I appreciate any guesses about the reason of this behaviour. The only thing that has changed shortly before was a Windows update. Could that be the reason?

 

Best regards,

Lutz

Views

169

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Aug 23, 2023 Aug 23, 2023

I answer to myself, because I found the solution:

After newly installing Framemaker, this time as 32bit, all works as usual.

Apparently, something has changed in the background of Windows what did not let 64bit FramMaker accessing the 32bit database...

Votes

Translate

Translate
Community Expert ,
Aug 22, 2023 Aug 22, 2023

Copy link to clipboard

Copied

Maybe it's to hot for ordinary work... Try to restart Windows and then start FM again.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 22, 2023 Aug 22, 2023

Copy link to clipboard

Copied

It would be helpful to see a few lines around and including 119 in the script. My guess is that a Windows update did something to the database connection that FrameScript is establishing.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 22, 2023 Aug 22, 2023

Copy link to clipboard

Copied

Hello, thanks for the reply,

but I guess in this case the error would have been rather "Database connection could not be established" or something similar, but anyway, here is the relevant part of the script. Because it is a shortened script version for test purposes, the error is in line 53:

Screenshot 2023-08-23 073411_Skript.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Another aspect is the 32bit/64bit mess inside of Windows. Datasource and Database driver are 32bit, FrameMaker and ElmScript are 64bit. But as I said: It worked before for a long time.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 23, 2023 Aug 23, 2023

Copy link to clipboard

Copied

I answer to myself, because I found the solution:

After newly installing Framemaker, this time as 32bit, all works as usual.

Apparently, something has changed in the background of Windows what did not let 64bit FramMaker accessing the 32bit database...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 23, 2023 Aug 23, 2023

Copy link to clipboard

Copied

LATEST

Very good that this worked!I remember that I had a similar problem some years ago. Now and then a database connection got lost and an error message popped up. As far as I remember I had to recreate the database connection in Windows, and then the FrameScript script worked again.

Keep a copy of FM 2019, as long as you need this script! FM 2022 is only 64 bit.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines