Recent

Author Topic: Online Package Manager  (Read 934653 times)

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12523
  • 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: 482
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: 13207
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: 12523
  • 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: 13207
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: 4377
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: 12523
  • 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: 13207
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 »

d.ioannidis

  • Full Member
  • ***
  • Posts: 233
    • Nephelae
Re: Online Package Manager
« Reply #2393 on: April 22, 2025, 11:03:25 am »
Hi,

  libusb/hidapi bindings new version v0.5.1 ( https://github.com/dioannidis/HIDAPI.pas ) .

  Changes in this release :
  • Fixed dynamically load different hidapi versions libraries
  • Minor fixes.

  You can always download the release zip from from https://github.com/dioannidis/HIDAPI.pas/releases/tag/v0.5.1 page.

regards,
« Last Edit: April 22, 2025, 11:05:16 am by d.ioannidis »

wp

  • Hero Member
  • *****
  • Posts: 13207
Re: Online Package Manager
« Reply #2394 on: April 22, 2025, 11:25:29 am »
Hi,

  libusb/hidapi bindings new version v0.5.1 ( https://github.com/dioannidis/HIDAPI.pas ) .

  Changes in this release :
  • Fixed dynamically load different hidapi versions libraries
  • Minor fixes.

  You can always download the release zip from from https://github.com/dioannidis/HIDAPI.pas/releases/tag/v0.5.1 page.

regards,
Please request an OPM update by mail to opm@lazarus-ide.org because I do not want all update requests to be scattered over many places.

d.ioannidis

  • Full Member
  • ***
  • Posts: 233
    • Nephelae
Re: Online Package Manager
« Reply #2395 on: April 22, 2025, 11:34:26 am »
Hi,


< snip >

Please request an OPM update by mail to opm@lazarus-ide.org because I do not want all update requests to be scattered over many places.

OK . Update request mail sended .

regards,

wp

  • Hero Member
  • *****
  • Posts: 13207
Re: Online Package Manager
« Reply #2396 on: August 01, 2025, 11:03:15 am »
Removed the packages JPLib and JPPack from OPM (orphaned).

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 1329
  • Professional amateur ;-P
Re: Online Package Manager
« Reply #2397 on: August 01, 2025, 04:48:18 pm »
Hey WP,

Removed the packages JPLib and JPPack from OPM (orphaned).

I'm glad you're the one that took @GetMem's mantle of maintaining OPM !!

I was a bit out of it for a moment and did not know who took it. Now I know!!

Thanks for the dedication!!

Cheers,
Gus
Lazarus 4.99(main) FPC 3.3.1(main) Ubuntu 25.04 64b Dark Theme
http://github.com/gcarreno

regs

  • Jr. Member
  • **
  • Posts: 94
Re: Online Package Manager
« Reply #2398 on: August 05, 2025, 11:35:16 am »
Getting an error with Trunk in Windows 11. Old 2.0.6 and 3.0 are working. 4.2 is also working. Linux Trunk is working.
Code: [Select]
Cannot download package list. Error message:
"Invalid protocol version in response:

Any specific libraries are required to be installed?
« Last Edit: August 05, 2025, 11:57:21 am by regs »

wp

  • Hero Member
  • *****
  • Posts: 13207
Re: Online Package Manager
« Reply #2399 on: August 05, 2025, 07:56:25 pm »
No error with trunk on Windows 11 for me here. The OPM files are on the same server which is sometimes attacked by AI bots - maybe you just opened OPM during such a time?

 

TinyPortal © 2005-2018