Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-11-01 Thread Martin Frb via lazarus
On 01/11/2019 22:25, Bo Berglund via lazarus wrote: I just installed Lazarus 2.0.6 from sources and when I started it on Raspbian Buster I did get the dialog again. I assume your change is in 2.0.6? Help/About reports revision 62151. No, the change was a bigger change, which will only be in 2.

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-11-01 Thread Bo Berglund via lazarus
On Tue, 17 Sep 2019 22:27:13 +0200, Martin Frb via lazarus wrote: >Can you please retest with >Revision: 61896 >Date: 17 September 2019 22:21:38 >EditorMacroScript: Use "internal" (none-native) calling for object methods > >Making sure you remove your editormacroscript.xml file, or re-request >t

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-09-17 Thread Martin Frb via lazarus
Can you please retest with Revision: 61896 Date: 17 September 2019 22:21:38 EditorMacroScript: Use "internal" (none-native) calling for object methods Making sure you remove your editormacroscript.xml file, or re-request the self-test from the options page, please. On 19/08/2019 07:08, Bo Ber

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-18 Thread Bo Berglund via lazarus
On Mon, 19 Aug 2019 00:46:18 +0200, Martin Frb via lazarus wrote: >Also on either system. After the error happens once, that is stored in >the config. Unless you remove your config each time that you install, >you should never see the error again. >To verify that, you can (after the error) chec

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-18 Thread Martin Frb via lazarus
On 18/08/2019 23:58, Bo Berglund via lazarus wrote: On Sun, 18 Aug 2019 22:51:31 +0200, Martin Frb via lazarus wrote: On 18/08/2019 21:19, Bo Berglund via lazarus wrote: Parameter type not implemented! So on arm that explains the error. It does not implement passing a set as param (must be

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-18 Thread Bo Berglund via lazarus
On Sun, 18 Aug 2019 22:51:31 +0200, Martin Frb via lazarus wrote: >On 18/08/2019 21:19, Bo Berglund via lazarus wrote: >> >> Parameter type not implemented! >> >So on arm that explains the error. >It does not implement passing a set as param (must be set, since string >worked in other tests). D

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-18 Thread Martin Frb via lazarus
On 18/08/2019 21:19, Bo Berglund via lazarus wrote: Parameter type not implemented! So on arm that explains the error. It does not implement passing a set as param (must be set, since string worked in other tests). I have to see, if there are any options. Otherwise I will disable it for arm

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-18 Thread Bo Berglund via lazarus
On Sun, 18 Aug 2019 14:21:30 +0200, Martin Frb via lazarus wrote: >If you want to go on trying to see if we can find anything, then please >open >   components\macroscript\emscriptclasses.pas >around line 555 >replace TEmsSynWrapper.EMS_SearchReplace >with: > >function TEmsSynWrapper.EMS_SearchR

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-18 Thread Martin Frb via lazarus
On 18/08/2019 11:17, Bo Berglund via lazarus wrote: So this Lazarus installer successfully deposits a working Lazarus *without* the initial message about disabling the pascal scripting. And Lazarus options seems to be exactly like the 2.0.4 I installed previously. So the message I previously saw

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-18 Thread Bo Berglund via lazarus
On Sat, 17 Aug 2019 16:43:38 +0200, Martin Frb via lazarus wrote: >I attached a ready to go replacement file. >Make a copy of your original >   components/macroscript/emsselftest.pas >and then put the attached file into it. > >Tools > Option > editor macro script : "Test again" >    (this deletes

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-18 Thread Bo Berglund via lazarus
On Sun, 18 Aug 2019 01:27:12 +0200, Martin Frb via lazarus wrote: >I build an installer for 2.0.5 (which does include the extra verbosity) >/ 64 bit only > >https://sourceforge.net/projects/lazarus-snapshots/files/test/ >lazarus-2.0.5-61719-fpc-3.0.4-20190817-win64.exe > Downloaded and installe

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-17 Thread Martin Frb via lazarus
On 17/08/2019 21:52, Bo Berglund via lazarus wrote: It will probably only happen wenever I get Lazarus 2.0.6 on board then... I build an installer for 2.0.5 (which does include the extra verbosity) / 64 bit only https://sourceforge.net/projects/lazarus-snapshots/files/test/ lazarus-2.0.5-617

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-17 Thread Martin Frb via lazarus
On 17/08/2019 22:32, Martin Frb via lazarus wrote: ( editormacroscript.xml is in your primary config path. You can find where that is from the menu: View > IDE Internals > About IDE ) I found it and it contains basically nothing: Which means no error... Just to be sure: editormacroscript

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-17 Thread Martin Frb via lazarus
On 17/08/2019 21:52, Bo Berglund via lazarus wrote: On Sat, 17 Aug 2019 18:43:01 +0200, Martin Frb via lazarus wrote: That means, that this install of Lazarus has either not yet encountered the error, or that the "editormacroscript.xml" was deleted/reset (i.e. error removed from content). Cou

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-17 Thread Bo Berglund via lazarus
On Sat, 17 Aug 2019 18:43:01 +0200, Martin Frb via lazarus wrote: >On 17/08/2019 18:23, Bo Berglund via lazarus wrote: >> On Sat, 17 Aug 2019 16:43:38 +0200, Martin Frb via lazarus >> wrote: >> >>> I attached a ready to go replacement file. >>> Make a copy of your original >>>   components/macr

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-17 Thread Martin Frb via lazarus
On 17/08/2019 18:23, Bo Berglund via lazarus wrote: On Sat, 17 Aug 2019 16:43:38 +0200, Martin Frb via lazarus wrote: I attached a ready to go replacement file. Make a copy of your original   components/macroscript/emsselftest.pas and then put the attached file into it. Done! Tools > Optio

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-17 Thread Bo Berglund via lazarus
On Sat, 17 Aug 2019 16:43:38 +0200, Martin Frb via lazarus wrote: >I attached a ready to go replacement file. >Make a copy of your original >   components/macroscript/emsselftest.pas >and then put the attached file into it. Done! >Tools > Option > editor macro script : "Test again" This button

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-17 Thread Martin Frb via lazarus
On 17/08/2019 15:31, Bo Berglund via lazarus wrote: On Sat, 17 Aug 2019 14:12:02 +0200, Martin Frb via lazarus wrote: On 17/08/2019 14:00, Martin Frb via lazarus wrote: Could you apply the following patch please: https://github.com/User4martin/lazarus/commit/5fa7fac42bb55d23b9654984be1e2e1c08

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-17 Thread Bo Berglund via lazarus
On Sat, 17 Aug 2019 14:12:02 +0200, Martin Frb via lazarus wrote: >On 17/08/2019 14:00, Martin Frb via lazarus wrote: >> >> Could you apply the following patch please: >> https://github.com/User4martin/lazarus/commit/5fa7fac42bb55d23b9654984be1e2e1c08049709 > >Or the patch/commit from latest tru

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-17 Thread Martin Frb via lazarus
On 17/08/2019 14:00, Martin Frb via lazarus wrote: Could you apply the following patch please: https://github.com/User4martin/lazarus/commit/5fa7fac42bb55d23b9654984be1e2e1c08049709 Or the patch/commit from latest trunk. Added the verbose to all tests -- __

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-17 Thread Martin Frb via lazarus
On 17/08/2019 13:31, Bo Berglund via lazarus wrote: On Sat, 17 Aug 2019 11:41:01 +0200, Martin Frb via lazarus wrote: I did not get what issue happens on win64? What is missing? I still do not know what error you get on win7/64 bit Exactly the same as on RPi as I described on my first po

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-17 Thread Bo Berglund via lazarus
On Sat, 17 Aug 2019 11:41:01 +0200, Martin Frb via lazarus wrote: >>> I did not get what issue happens on win64? What is missing? >I still do not know what error you get on win7/64 bit Exactly the same as on RPi as I described on my first post in this thread back in July 9: Error in Ed

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-17 Thread Martin Frb via lazarus
On 17/08/2019 10:03, Bo Berglund via lazarus wrote: On Fri, 16 Aug 2019 23:57:51 +0200, Martin Frb via lazarus wrote: On 16/08/2019 23:34, Bo Berglund via lazarus wrote: Given I used the "official" installer it should contain "everything" needed for all enabled functions and yet it does not.

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-17 Thread Bo Berglund via lazarus
On Fri, 16 Aug 2019 23:57:51 +0200, Martin Frb via lazarus wrote: >On 16/08/2019 23:34, Bo Berglund via lazarus wrote: >> On Fri, 16 Aug 2019 23:02:57 +0200, Martin Frb via lazarus >> wrote: >> >>> That is on a new install. Not on an update, correct? >> It is a new x64 install on Windows 7-x64 u

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-16 Thread Martin Frb via lazarus
On 16/08/2019 23:34, Bo Berglund via lazarus wrote: On Fri, 16 Aug 2019 23:02:57 +0200, Martin Frb via lazarus wrote: That is on a new install. Not on an update, correct? It is a new x64 install on Windows 7-x64 using the official installer downloaded via the link in the release message. I in

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-16 Thread Bo Berglund via lazarus
On Fri, 16 Aug 2019 23:02:57 +0200, Martin Frb via lazarus wrote: > >That is on a new install. Not on an update, correct? It is a new x64 install on Windows 7-x64 using the official installer downloaded via the link in the release message. I installed a secondary installation so I can keep the o

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-16 Thread Martin Frb via lazarus
On 16/08/2019 21:07, Bo Berglund via lazarus wrote: Back to this issue again after installing the latest Lazarus 2.0.4 just released. It does the same thing... Is there really nothing one can do to stop it from happening? Yes, I know it just happend once on a new install, but still... That

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-08-16 Thread Bo Berglund via lazarus
On Tue, 9 Jul 2019 19:39:23 +0200, Martin Frb via lazarus wrote: >On 09/07/2019 19:03, Bo Berglund via lazarus wrote: >> I have just installed fpc 3.0.4 + Lazarus 2.0.2 from svn sources on a >> pristine Raspberry Pi4B with 4GB RAM. >> >> But now (again) on a first ever start of the newly installe

Re: [Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-07-09 Thread Martin Frb via lazarus
On 09/07/2019 19:03, Bo Berglund via lazarus wrote: I have just installed fpc 3.0.4 + Lazarus 2.0.2 from svn sources on a pristine Raspberry Pi4B with 4GB RAM. But now (again) on a first ever start of the newly installed Lazarus I am greeted by a pop-up dialog: Error in EditorMacroScript

[Lazarus] Lazarus 2.0.2 EditorMacroScript error on first startup RPi4B

2019-07-09 Thread Bo Berglund via lazarus
I have just installed fpc 3.0.4 + Lazarus 2.0.2 from svn sources on a pristine Raspberry Pi4B with 4GB RAM. All of the commands my script performs finished OK and the IDE is installed without errors. But now (again) on a first ever start of the newly installed Lazarus I am greeted by a pop-up dial