Author Topic: "Array out of bound: ayanamsha Line 29  (Read 775 times)

0 Members and 1 Guest are viewing this topic.

Jean

  • Administrator
  • Hero Member
  • *****
  • Posts: 735
    • View Profile
Re: "Array out of bound: ayanamsha Line 29
« Reply #15 on: October 24, 2022, 08:56:32 PM »
Think i have a solution, please download latest and try again.
Greetings from Groningen Netherlands <)))><.`.><(((>

AB

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: "Array out of bound: ayanamsha Line 29
« Reply #16 on: October 25, 2022, 05:27:14 PM »
It worked perfectly!  Thank you!

ABer

  • Administrator
  • Hero Member
  • *****
  • Posts: 692
    • View Profile
Re: "Array out of bound: ayanamsha Line 29
« Reply #17 on: October 26, 2022, 07:51:13 AM »
Hi Jean - persistence paid off! Thanks for fixing this bug. Ed

Jean

  • Administrator
  • Hero Member
  • *****
  • Posts: 735
    • View Profile
Re: "Array out of bound: ayanamsha Line 29
« Reply #18 on: October 26, 2022, 10:10:53 AM »
What exactly is going on is still a bit of a mystery. When a script is run, the time of the .ab and the .abc are compared and when the latter is older or does not yet exist, the script is compiled, an .abc is generated and run.
When an update is published, modified scripts are supposed to be younger than the now obsolete .abc on a user's system and so should be recompiled when attempting to run them but sometimes this does not happen, resulting in the user not seeing updates or bugfixes to such a script. Somehow the detection of the .abc being older than the .ab does not work.
A solution would be deleting every .abc once after an update, this would ensure all scripts getting compiled to their latest version but some scripts take some time to do that so it's not perfect and it's only needed for recently updated scripts.
What i do now is once after an update, make the time gap a little bigger by scanning all scripts and deleting every .abc that is 10 days or less older than it's corresponding .ab, forcing it to be recompiled.
I'm not sure it is the final solution but in this case it worked.
Greetings from Groningen Netherlands <)))><.`.><(((>