Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-02

Lazarus 1.6 EditorMacroScript error on startup

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bo Berglund

I have retrieved 1.6 from SVN and built it using make bigide. When I strat for the first time a dialog pops up saying:

Error in EditorMacroScript
The package EditorMacroScript (pascalscript macros) has detected a problem and was deactivatyed.
The package filed its selftest with the message:
"Failed getstr2 [Exp: "456" / Got: "abc"]"

I have seen this before but thought it would be fixed in the release version...
It does not matter much because it will be shown only once on first start, however it is pretty strange.

Bo Berglund Developer in Sweden

Reply by email

Martin Frb
to Bo Berglund
Bo Berglund wrote 8 lines
I have retrieved 1.6 from SVN and built it using make bigide. When I strat for the first time a dialog pops up saying: Error in EditorMacroScript The package EditorMacroScript (pascalscript macros) has detected a problem and was deactivatyed. The package filed its selftest with the message: "Failed getstr2 [Exp: "456" / Got: "abc"]"

If you clear the error (options, editor macro, test again), does the error happen again?

What platform/OS, what cpu? Which optimization settings? Pascal script has to emulate function calls, so it builds (or attempts to build) the stack for that call. That stack differs between OS and CPU.

I have seen this before but thought it would be fixed in the release version... It does not matter much because it will be shown only once on first start, however it is pretty strange.

Once failed Editor Macro deactivates pascal script. That is why it does not warn again.

Reply by email