Recent

Author Topic: Online Package Manager  (Read 903208 times)

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12142
  • FPC developer.
Re: Online Package Manager
« Reply #2385 on: March 22, 2025, 10:34:44 pm »
Code: [Select]
I tried to rebuild lazarus, and suddenly rxnew fails with

[quote]
C:\repo\lazarus\config\onlinepackagemanager\packages\Rx\rxdb\rxlookup.pas(1929,6) Error: (5000) Identifier not found "MouseEntered"
C:\repo\lazarus\config\onlinepackagemanager\packages\Rx\rxdb\rxlookup.pas(1929,30) Error: (5038) Identifier idents no member "MouseEntered"

Any ideas? (I'm using FPC trunk as of today on win32 )
« Last Edit: March 22, 2025, 10:37:08 pm by marcov »

korba812

  • Sr. Member
  • ****
  • Posts: 464
Re: Online Package Manager
« Reply #2386 on: March 22, 2025, 10:48:18 pm »
Probably the package in OPM does not contain the latest patches:
https://sourceforge.net/p/lazarus-ccr/svn/9613/

wp

  • Hero Member
  • *****
  • Posts: 12753
Re: Online Package Manager
« Reply #2387 on: March 22, 2025, 11:57:19 pm »
Cannot reproduce with up-to-date Laz/main + FPC/main (64bit) on Windows. Trying to verify also with 32-bit I noticed that I cannot run Lazarus in this combination (Access violation when the IDE starts), even without RX. Going back in the commit history to 61bf79c0ace37a74fa7ef47ed95577184175f9dd (committed on March 19), this issue is gone, and I can install RX also in the 32-bit IDE.

Probably the package in OPM does not contain the latest patches:
https://sourceforge.net/p/lazarus-ccr/svn/9613/
No, these changes are included, the package was updated only a few weeks ago
« Last Edit: March 23, 2025, 12:10:54 am by wp »

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12142
  • FPC developer.
Re: Online Package Manager
« Reply #2388 on: March 23, 2025, 12:08:25 am »
No, these changes are included, the package was updated only a few weeks ago

How can I force it to update? If with the old lazarus' (compiled 2025-02-10) package manager it says up to date. Pressing Refresh doesn't change anything.

wp

  • Hero Member
  • *****
  • Posts: 12753
Re: Online Package Manager
« Reply #2389 on: March 23, 2025, 12:22:46 am »
Just install it again to get the current version.

(I noticed the version number mismatch also on my system, and it seems to be that I just had forgotten to update the Rxnew version number in the OPM package list. Should be fixed now.)

TRon

  • Hero Member
  • *****
  • Posts: 4260
Re: Online Package Manager
« Reply #2390 on: March 23, 2025, 07:34:33 am »
Another user reporting slow connection from/with OPM in this thread.

...
But, I uninstalled Lazarus 3.8 because it was so laggy when open and download package via Online Package Manager.

To download a package with size +/- 6.4MB, estimated time is about 20 mins.

No problem with internet connection.
...
Today is tomorrow's yesterday.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12142
  • FPC developer.
Re: Online Package Manager
« Reply #2391 on: March 23, 2025, 11:57:26 am »
Now lazarus recompiled, but doesn't start. I don't assume this is related to the packages though:

Code: [Select]
SetPrimaryConfigPath NewValue="c:\repo\lazarus\config"
Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] PrimaryConfigPath="c:\repo\lazarus\config"
Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] SecondaryConfigPath="C:\repo\lazarus"
Hint: (lazarus) [TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
Hint: (lazarus) [TMainIDE.Destroy] END
[FORMS.PP] ExceptionOccurred
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $0054A6A3  CHANGELINEENDINGS,  line 251 of lazstringutils.pas
  $0054A84C  LINEBREAKSTOSYSTEMLINEBREAKS,  line 296 of lazstringutils.pas
  $0080B37F  REGISTERCODEMACRO,  line 714 of srceditorintf.pas
  $01484275  CREATESTANDARDCODEMACROS,  line 807 of codetemplatesdlg.pas
  $00456ACF  TMAINIDE__SETUPCODEMACROS,  line 2334 of main.pp
  $00453F48  TMAINIDE__CREATE,  line 1579 of main.pp
  $00403A72  main,  line 144 of lazarus.pp
TApplication.HandleException: EAccessViolation
Access violation
  Stack trace:
  $0054A6A3  CHANGELINEENDINGS,  line 251 of lazstringutils.pas
  $0054A84C  LINEBREAKSTOSYSTEMLINEBREAKS,  line 296 of lazstringutils.pas
  $0080B37F  REGISTERCODEMACRO,  line 714 of srceditorintf.pas
  $01484275  CREATESTANDARDCODEMACROS,  line 807 of codetemplatesdlg.pas
  $00456ACF  TMAINIDE__SETUPCODEMACROS,  line 2334 of main.pp
  $00453F48  TMAINIDE__CREATE,  line 1579 of main.pp
  $00403A72  main,  line 144 of lazarus.pp

wp

  • Hero Member
  • *****
  • Posts: 12753
Re: Online Package Manager
« Reply #2392 on: March 23, 2025, 12:51:36 pm »
Yes, I had the same issue. I had to go back in FPC commit history by a few days (did not seek the exact guilty commit, though); it worked with 61bf79c0ace37a74fa7ef47ed95577184175f9dd of March 19)

[EDIT]
Found the guilt commit by bisection (8c5a48da2bb48162c53380d92d3cc192ee3271da). Filed a bug report: https://gitlab.com/freepascal.org/fpc/source/-/issues/41205
« Last Edit: March 23, 2025, 08:14:19 pm by wp »

 

TinyPortal © 2005-2018