Recent

Author Topic: Error in sparta_DockedFormEditor  (Read 1435 times)

mangakissa

  • Hero Member
  • *****
  • Posts: 1131
Error in sparta_DockedFormEditor
« on: July 15, 2020, 09:23:34 am »
When compiling this package to Lazarus 2.0.10 an error occurs in file sparta_mainIDE on line 1035:

Code: Pascal  [Select][+][-]
  1. if Sender = nil then // but not for Sender = nil :P
  2.     LPageCtrl := SourceEditorWindows[LastActiveSourceEditorWindow].FPageCtrlList[LastActiveSourceEditor]  <-------- sparta_mainide.pas(1036,67) Error: Internal error 200510032
  3.   else
  4.     LPageCtrl := AbsoluteFindModulePageControl(LSourceEditor);  
  5.  
I think it's a problem in FPC 3.2. I didn't get it in FPC 3.04
Lazarus 2.06 (64b) / FPC 3.0.4 / Windows 10
stucked on Delphi 10.3.1

BeanzMaster

  • Sr. Member
  • ****
  • Posts: 268
Re: Error in sparta_DockedFormEditor
« Reply #1 on: July 15, 2020, 10:38:27 am »

mangakissa

  • Hero Member
  • *****
  • Posts: 1131
Re: Error in sparta_DockedFormEditor
« Reply #2 on: July 15, 2020, 11:30:42 am »
Following the steps of @PascalDragon didn't work. Also downloaded the trunk and took the files to my lazarus 2.0.10 installation map. But by compiling I get the same error.

But my error is not the same as the other topic.
Lazarus 2.06 (64b) / FPC 3.0.4 / Windows 10
stucked on Delphi 10.3.1

PascalDragon

  • Hero Member
  • *****
  • Posts: 5446
  • Compiler Developer
Re: Error in sparta_DockedFormEditor
« Reply #3 on: July 15, 2020, 11:44:39 am »
Hi, take a look at this topic : https://forum.lazarus.freepascal.org/index.php/topic,50528.0.html

This is a different problem.

When compiling this package to Lazarus 2.0.10 an error occurs in file sparta_mainIDE on line 1035:

Code: Pascal  [Select][+][-]
  1. if Sender = nil then // but not for Sender = nil :P
  2.     LPageCtrl := SourceEditorWindows[LastActiveSourceEditorWindow].FPageCtrlList[LastActiveSourceEditor]  <-------- sparta_mainide.pas(1036,67) Error: Internal error 200510032
  3.   else
  4.     LPageCtrl := AbsoluteFindModulePageControl(LSourceEditor);  
  5.  
I think it's a problem in FPC 3.2. I didn't get it in FPC 3.04

Are you sure that the source is correct? For me (2.0.10 as well) the line you quoted is at 1311.

mangakissa

  • Hero Member
  • *****
  • Posts: 1131
Re: Error in sparta_DockedFormEditor
« Reply #4 on: July 15, 2020, 11:52:21 am »
As far as I know I downloaded the latest release of 2.0.10.
I shall look on another pc of the problem can be find.

To be coninued.....
Lazarus 2.06 (64b) / FPC 3.0.4 / Windows 10
stucked on Delphi 10.3.1

mangakissa

  • Hero Member
  • *****
  • Posts: 1131
Re: Error in sparta_DockedFormEditor
« Reply #5 on: July 15, 2020, 12:40:05 pm »
Okay. Removed all unnessesary lazarus installations. Even Lazarus 2.0.10. Downloaded and installed the 2.0.10 version of Windows. Installed the docked packages, removed the generics by @pascaldragon comments and installed sparta dockform.

Now everything is working. And also de IDE tells it's version 2.0.10 and not 2.1.0.

Thanks to all.
Lazarus 2.06 (64b) / FPC 3.0.4 / Windows 10
stucked on Delphi 10.3.1

 

TinyPortal © 2005-2018