Recent

Author Topic: Online Package Manager  (Read 336344 times)

GetMem

  • Hero Member
  • *****
  • Posts: 3251
Re: Online Package Manager
« Reply #1410 on: September 12, 2018, 11:47:18 am »
Great package manager!  :) 

Under Cocoa: the buttons at the bottom have some display issues.
Either some buttons are displayed overlapping the list of packages, or the buttons do not show at all.
Moving the mouse over the area where the buttons are supposed to be, makes them (mostly) visible.
(see attached screenshot - using Lazarus 1.9.0 r58960M FPC 3.0.4 x86_64-darwin-cocoa (alpha))


This doesn't prevent me from using it (love it!), as it's just a cosmetic issue. Just thought I should report it.
Thank you Hansaplast. VST(virtualstringtree) which is used to display the package tree, has some issues under cocoa. It's a known bug, hopefully it will be fixed soon. Thanks again for the feedback.

Hansaplast

  • Sr. Member
  • ****
  • Posts: 481
  • Tweaking4All.com
    • Tweaking4All
Re: Online Package Manager
« Reply #1411 on: September 12, 2018, 11:52:42 am »
Great package manager!  :) 

Under Cocoa: the buttons at the bottom have some display issues.
Thank you Hansaplast. VST(virtualstringtree) which is used to display the package tree, has some issues under cocoa. It's a known bug, hopefully it will be fixed soon.


Thanks GetMem! 👍🏻

tk

  • Sr. Member
  • ****
  • Posts: 358
    • tkweb
Re: Online Package Manager
« Reply #1412 on: September 17, 2018, 07:31:26 pm »
Who maintains the package list (suspecting http://packages.lazarus-ide.org/packagelist.json) where the path to package json info file and other package info is stored?
Is it possible to change the info stored there for component authors without asking somewhere like I am doing now here?
(maybe I knew before but forgot it...)

I need to change the link for the update json file and I would also like to change some additional info stored there.

I please the maintainer of this file to send me PM or otherwise give me info how to proceed.

Thanks
Lazarus 1.7 with FPC 3.1.1.

http://www.tkweb.eu/

GetMem

  • Hero Member
  • *****
  • Posts: 3251
Re: Online Package Manager
« Reply #1413 on: September 17, 2018, 08:22:26 pm »
Hi tk,

You can only change information inside the json located at your side. If I remember correctly, you're the maintainer of KControl, so the data is here: https://bitbucket.org/tkweb/kcontrols/raw/ed0be8a985eb4030158356155668ac135e8b782b/laz_opm_update.json. You can read more details on external json at the following page: http://wiki.freepascal.org/Online_Package_Manager#Create_JSON_for_updates

Any other changes must be done by me, but that's not a problem I can do it in no time. Just let me know what exactly are you plan to change. Please leave a comment here or send me a PM. Thank you.

wadman

  • New member
  • *
  • Posts: 27
    • wadman's home
Re: Online Package Manager
« Reply #1414 on: October 03, 2018, 03:40:12 pm »
Hi, GetMem!


Please, update https://github.com/wadman/wthread

GetMem

  • Hero Member
  • *****
  • Posts: 3251
Re: Online Package Manager
« Reply #1415 on: October 03, 2018, 05:13:02 pm »
@wadman
Quote
Please, update https://github.com/wadman/wthread
Done. Thanks for the new version.

anderbelluno

  • New member
  • *
  • Posts: 39
Re: Online Package Manager
« Reply #1416 on: October 12, 2018, 07:46:41 am »
Hello sir.
We decided to swap our repository for sourceforge.
I would like to ask, if possible proceed with the update by the link.

https://svn.code.sf.net/p/rest-dataware-components/dataware/trunk

Unfortunately we are not able to maintain two repositories, so we decided to keep only one.
If you can not use SourceForge, please let me know, I will keep GitHub for a short time.

Thank you very much.

GetMem

  • Hero Member
  • *****
  • Posts: 3251
Re: Online Package Manager
« Reply #1417 on: October 12, 2018, 08:02:02 am »
Hi anderbelluno,

Quote
Unfortunately we are not able to maintain two repositories, so we decided to keep only one.
If you can not use SourceForge, please let me know, I will keep GitHub for a short time.
I have no problem with sourceforge, however I cannot access the link you provided. (https://svn.code.sf.net/p/rest-dataware-components/dataware/trunk)
Did you release a new version too? Should I update in OPM or just change the homepage link?

anderbelluno

  • New member
  • *
  • Posts: 39
Re: Online Package Manager
« Reply #1418 on: October 12, 2018, 08:30:45 am »
This link I sent is the SVN link.
This is the home page
https://sourceforge.net/projects/rest-dataware-componentes/

This link is from the trunk, where we have our commits
https://sourceforge.net/p/rest-dataware-componentes/dataware/HEAD/tree/trunk/

When you can, yes, it has update.

Thank you.
« Last Edit: October 12, 2018, 08:33:21 am by anderbelluno »

GetMem

  • Hero Member
  • *****
  • Posts: 3251
Re: Online Package Manager
« Reply #1419 on: October 12, 2018, 10:37:49 am »
Quote
When you can, yes, it has update.
Done. Thanks for the new version.

PS: I also updated the links.


att2

  • New member
  • *
  • Posts: 39
Re: Online Package Manager
« Reply #1420 on: October 16, 2018, 02:46:45 pm »
Hello,
I have the following hardware: Odroid-XU4 (a raspi clone), together with an emmc-card that comes with mate :

Code: Pascal  [Select]
  1. odroid@odroid:~$ uname -a
  2. Linux odroid 4.14.37-135 #1 SMP PREEMPT Sun Apr 29 23:34:43 -03 2018 armv7l armv7l armv7l GNU/Linux
  3. odroid@odroid:~$ lsb_release -a
  4. No LSB modules are available.
  5. Distributor ID: Ubuntu
  6. Description:    Ubuntu 18.04 LTS
  7. Release:        18.04
  8. Codename:       bionic
  9.  

I am using fpcupdeluxe 1.6.2n to install Lazarus "stable" 1.8.4 and FPC "stable" 3.0.4.
The IDE works.
HOWEVER, the first thing I do is I start to add the onlinepackagemanager. It does compile, but it makes problems: its window is always empty.
The Onlinepackagemanager says "getting data, plz wait", "getting json", etc.etc. then comes up with an EMPTY window instead of with the 147 packages.
I started Lazarus from a terminal and that terminal gives me errors:

----------------------long error lists, sorry
Quote
TLazPackageLinks.AddOnlineLink: PkgFilename=, PkgName=zeosdbo, PkgVersion=7.2
TLazPackageLinks.AddOnlineLink: PkgFilename=, PkgName=zeosdbo, PkgVersion=7.2
TLazPackageLinks.AddOnlineLink: PkgFilename=, PkgName=zmsql, PkgVersion=0.1.20.1
TLazPackageLinks.AddOnlineLink: PkgFilename=, PkgName=zreport, PkgVersion=2.0.11
TLazPackageLinks.AddOnlineLink: PkgFilename=, PkgName=zreport, PkgVersion=2.0.11
.....(snip)
(lazarus:6831): Gdk-CRITICAL **: 14:34:01.219: IA__gdk_draw_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(lazarus:6831): GLib-GObject-CRITICAL **: 14:34:01.220: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
TApplication.HandleException Access violation
  Stack trace:
  $B6A53E1A
  $002623A0  TDEVICECONTEXTMEMMANAGER__NEWDEVICECONTEXT,  line 766 of ./gtk2/gtk2def.pp
  $000F7544  TGTK2WIDGETSET__NEWDC,  line 5459 of ./gtk2/gtk2widgetset.inc
  $00108968  TGTK2WIDGETSET__SAVEDC,  line 7481 of ./gtk2/gtk2winapi.inc
  $000FE230  TGTK2WIDGETSET__DRAWTEXT,  line 1492 of ./gtk2/gtk2winapi.inc
  $001A3334  DRAWTEXT,  line 215 of ./include/winapi.inc
  $00CBA090  TVIRTUALTREECOLUMNS__DRAWBUTTONTEXT,  line 7565 of ./vst/opkman_VirtualTrees.pas
  $00CBD780  TVIRTUALTREECOLUMNS__PAINTHEADER,  line 8911 of ./vst/opkman_VirtualTrees.pas
  $00CDDE4C  TBASEVIRTUALTREE__PAINT,  line 22347 of ./vst/opkman_VirtualTrees.pas
  $0019B790  TCUSTOMCONTROL__PAINTWINDOW,  line 132 of ./include/customcontrol.inc
  $00183BA0  TWINCONTROL__PAINTHANDLER,  line 4820 of ./include/wincontrol.inc
  $00187D48  TWINCONTROL__WMPAINT,  line 6773 of ./include/wincontrol.inc
  $0019B6BC  TCUSTOMCONTROL__WMPAINT,  line 112 of ./include/customcontrol.inc
  $00CCFB68  TBASEVIRTUALTREE__WMPAINT,  line 16499 of ./vst/opkman_VirtualTrees.pas
  $000438F4
TApplication.HandleException Access violation
  Stack trace:
  $B6A53E1A
  $002623A0  TDEVICECONTEXTMEMMANAGER__NEWDEVICECONTEXT,  line 766 of ./gtk2/gtk2def.pp
  $000F7544  TGTK2WIDGETSET__NEWDC,  line 5459 of ./gtk2/gtk2widgetset.inc
  $00108968  TGTK2WIDGETSET__SAVEDC,  line 7481 of ./gtk2/gtk2winapi.inc
  $000FE230  TGTK2WIDGETSET__DRAWTEXT,  line 1492 of ./gtk2/gtk2winapi.inc
  $001A3334  DRAWTEXT,  line 215 of ./include/winapi.inc
  $00CBA090  TVIRTUALTREECOLUMNS__DRAWBUTTONTEXT,  line 7565 of ./vst/opkman_VirtualTrees.pas
  $00CBD780  TVIRTUALTREECOLUMNS__PAINTHEADER,  line 8911 of ./vst/opkman_VirtualTrees.pas
  $00CDDE4C  TBASEVIRTUALTREE__PAINT,  line 22347 of ./vst/opkman_VirtualTrees.pas
  $0019B790  TCUSTOMCONTROL__PAINTWINDOW,  line 132 of ./include/customcontrol.inc
  $00183BA0  TWINCONTROL__PAINTHANDLER,  line 4820 of ./include/wincontrol.inc
  $00187D48  TWINCONTROL__WMPAINT,  line 6773 of ./include/wincontrol.inc
  $0019B6BC  TCUSTOMCONTROL__WMPAINT,  line 112 of ./include/customcontrol.inc
  $00CCFB68  TBASEVIRTUALTREE__WMPAINT,  line 16499 of ./vst/opkman_VirtualTrees.pas
  $000438F4
^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[ATApplication.HandleException Access violation
  Stack trace:
  $B6A53E1A
  $002623A0  TDEVICECONTEXTMEMMANAGER__NEWDEVICECONTEXT,  line 766 of ./gtk2/gtk2def.pp
  $000F7544  TGTK2WIDGETSET__NEWDC,  line 5459 of ./gtk2/gtk2widgetset.inc
  $00108968  TGTK2WIDGETSET__SAVEDC,  line 7481 of ./gtk2/gtk2winapi.inc
  $000FE230  TGTK2WIDGETSET__DRAWTEXT,  line 1492 of ./gtk2/gtk2winapi.inc
  $001A3334  DRAWTEXT,  line 215 of ./include/winapi.inc
  $00CBA090  TVIRTUALTREECOLUMNS__DRAWBUTTONTEXT,  line 7565 of ./vst/opkman_VirtualTrees.pas
  $00CBD780  TVIRTUALTREECOLUMNS__PAINTHEADER,  line 8911 of ./vst/opkman_VirtualTrees.pas
  $00CDDE4C  TBASEVIRTUALTREE__PAINT,  line 22347 of ./vst/opkman_VirtualTrees.pas
  $0019B790  TCUSTOMCONTROL__PAINTWINDOW,  line 132 of ./include/customcontrol.inc
  $00183BA0  TWINCONTROL__PAINTHANDLER,  line 4820 of ./include/wincontrol.inc
  $00187D48  TWINCONTROL__WMPAINT,  line 6773 of ./include/wincontrol.inc
  $0019B6BC  TCUSTOMCONTROL__WMPAINT,  line 112 of ./include/customcontrol.inc
  $00CCFB68  TBASEVIRTUALTREE__WMPAINT,  line 16499 of ./vst/opkman_VirtualTrees.pas
  $000438F4
TApplication.HandleException Access violation
  Stack trace:
  $B6A53E1A
  $002623A0  TDEVICECONTEXTMEMMANAGER__NEWDEVICECONTEXT,  line 766 of ./gtk2/gtk2def.pp
  $000F7544  TGTK2WIDGETSET__NEWDC,  line 5459 of ./gtk2/gtk2widgetset.inc
  $00108968  TGTK2WIDGETSET__SAVEDC,  line 7481 of ./gtk2/gtk2winapi.inc
  $000FE230  TGTK2WIDGETSET__DRAWTEXT,  line 1492 of ./gtk2/gtk2winapi.inc
  $001A3334  DRAWTEXT,  line 215 of ./include/winapi.inc
  $00CBA090  TVIRTUALTREECOLUMNS__DRAWBUTTONTEXT,  line 7565 of ./vst/opkman_VirtualTrees.pas
  $00CBD780  TVIRTUALTREECOLUMNS__PAINTHEADER,  line 8911 of ./vst/opkman_VirtualTrees.pas
  $00CDDE4C  TBASEVIRTUALTREE__PAINT,  line 22347 of ./vst/opkman_VirtualTrees.pas
  $0019B790  TCUSTOMCONTROL__PAINTWINDOW,  line 132 of ./include/customcontrol.inc
  $00183BA0  TWINCONTROL__PAINTHANDLER,  line 4820 of ./include/wincontrol.inc
  $00187D48  TWINCONTROL__WMPAINT,  line 6773 of ./include/wincontrol.inc
  $0019B6BC  TCUSTOMCONTROL__WMPAINT,  line 112 of ./include/customcontrol.inc
  $00CCFB68  TBASEVIRTUALTREE__WMPAINT,  line 16499 of ./vst/opkman_VirtualTrees.pas
  $000438F4
TApplication.HandleException Access violation
  Stack trace:
  $B6A53E1A
  $002623A0  TDEVICECONTEXTMEMMANAGER__NEWDEVICECONTEXT,  line 766 of ./gtk2/gtk2def.pp
  $000F7544  TGTK2WIDGETSET__NEWDC,  line 5459 of ./gtk2/gtk2widgetset.inc
  $00108968  TGTK2WIDGETSET__SAVEDC,  line 7481 of ./gtk2/gtk2winapi.inc
  $000FE230  TGTK2WIDGETSET__DRAWTEXT,  line 1492 of ./gtk2/gtk2winapi.inc
  $001A3334  DRAWTEXT,  line 215 of ./include/winapi.inc
  $00CBA090  TVIRTUALTREECOLUMNS__DRAWBUTTONTEXT,  line 7565 of ./vst/opkman_VirtualTrees.pas
  $00CBD780  TVIRTUALTREECOLUMNS__PAINTHEADER,  line 8911 of ./vst/opkman_VirtualTrees.pas
  $00CDDE4C  TBASEVIRTUALTREE__PAINT,  line 22347 of ./vst/opkman_VirtualTrees.pas
  $0019B790  TCUSTOMCONTROL__PAINTWINDOW,  line 132 of ./include/customcontrol.inc
  $00183BA0  TWINCONTROL__PAINTHANDLER,  line 4820 of ./include/wincontrol.inc
  $00187D48  TWINCONTROL__WMPAINT,  line 6773 of ./include/wincontrol.inc
  $0019B6BC  TCUSTOMCONTROL__WMPAINT,  line 112 of ./include/customcontrol.inc
  $00CCFB68  TBASEVIRTUALTREE__WMPAINT,  line 16499 of ./vst/opkman_VirtualTrees.pas
  $000438F4
TApplication.HandleException Access violation
  Stack trace:
  $B6A53E1A
  $002623A0  TDEVICECONTEXTMEMMANAGER__NEWDEVICECONTEXT,  line 766 of ./gtk2/gtk2def.pp
  $000F7544  TGTK2WIDGETSET__NEWDC,  line 5459 of ./gtk2/gtk2widgetset.inc
  $00108968  TGTK2WIDGETSET__SAVEDC,  line 7481 of ./gtk2/gtk2winapi.inc
  $000FE230  TGTK2WIDGETSET__DRAWTEXT,  line 1492 of ./gtk2/gtk2winapi.inc
  $001A3334  DRAWTEXT,  line 215 of ./include/winapi.inc
  $00CBA090  TVIRTUALTREECOLUMNS__DRAWBUTTONTEXT,  line 7565 of ./vst/opkman_VirtualTrees.pas
  $00CBD780  TVIRTUALTREECOLUMNS__PAINTHEADER,  line 8911 of ./vst/opkman_VirtualTrees.pas
  $00CDDE4C  TBASEVIRTUALTREE__PAINT,  line 22347 of ./vst/opkman_VirtualTrees.pas
  $0019B790  TCUSTOMCONTROL__PAINTWINDOW,  line 132 of ./include/customcontrol.inc
  $00183BA0  TWINCONTROL__PAINTHANDLER,  line 4820 of ./include/wincontrol.inc
  $00187D48  TWINCONTROL__WMPAINT,  line 6773 of ./include/wincontrol.inc
  $0019B6BC  TCUSTOMCONTROL__WMPAINT,  line 112 of ./include/customcontrol.inc
  $00CCFB68  TBASEVIRTUALTREE__WMPAINT,  line 16499 of ./vst/opkman_VirtualTrees.pas
  $000438F4
TApplication.HandleException Access violation
  Stack trace:
  $B6A53E1A
  $002623A0  TDEVICECONTEXTMEMMANAGER__NEWDEVICECONTEXT,  line 766 of ./gtk2/gtk2def.pp
  $000F7544  TGTK2WIDGETSET__NEWDC,  line 5459 of ./gtk2/gtk2widgetset.inc
  $00108968  TGTK2WIDGETSET__SAVEDC,  line 7481 of ./gtk2/gtk2winapi.inc
  $000FE230  TGTK2WIDGETSET__DRAWTEXT,  line 1492 of ./gtk2/gtk2winapi.inc
  $001A3334  DRAWTEXT,  line 215 of ./include/winapi.inc
  $00CBA090  TVIRTUALTREECOLUMNS__DRAWBUTTONTEXT,  line 7565 of ./vst/opkman_VirtualTrees.pas
  $00CBD780  TVIRTUALTREECOLUMNS__PAINTHEADER,  line 8911 of ./vst/opkman_VirtualTrees.pas
  $00CDDE4C  TBASEVIRTUALTREE__PAINT,  line 22347 of ./vst/opkman_VirtualTrees.pas
  $0019B790  TCUSTOMCONTROL__PAINTWINDOW,  line 132 of ./include/customcontrol.inc
  $00183BA0  TWINCONTROL__PAINTHANDLER,  line 4820 of ./include/wincontrol.inc
  $00187D48  TWINCONTROL__WMPAINT,  line 6773 of ./include/wincontrol.inc
  $0019B6BC  TCUSTOMCONTROL__WMPAINT,  line 112 of ./include/customcontrol.inc
  $00CCFB68  TBASEVIRTUALTREE__WMPAINT,  line 16499 of ./vst/opkman_VirtualTrees.pas
  $000438F4
TLazPackageLinks.AddOnlineLink: PkgFilename=, PkgName=Abbrevia, PkgVersion=5.0
TLazPackageLinks.AddOnlineLink: PkgFilename=, PkgName=acs, PkgVersion=3.0
TLazPackageLinks.AddOnlineLink: PkgFilename=https://github.com/Alexey-T/ATBinHex-Lazarus/archive/master.zip, PkgName=ATBinHex-Lazarus-master, PkgVersion=1.0

--------------long error list end

What to do about these errors? Why is the onlinepackagemanager-window empty ?

att2

  • New member
  • *
  • Posts: 39
Re: Online Package Manager
« Reply #1421 on: October 16, 2018, 04:54:10 pm »
And here is a screenshot of the empty onlinepackage manager window, despite it was downloading something...


GetMem

  • Hero Member
  • *****
  • Posts: 3251
Re: Online Package Manager
« Reply #1422 on: October 16, 2018, 10:28:02 pm »
Hi att2,

Quote
I am using fpcupdeluxe 1.6.2n to install Lazarus "stable" 1.8.4 and FPC "stable" 3.0.4.
The IDE works.
HOWEVER, the first thing I do is I start to add the onlinepackagemanager. It does compile, but it makes problems: its window is always empty.
The Onlinepackagemanager says "getting data, plz wait", "getting json", etc.etc. then comes up with an EMPTY window instead of with the 147 packages.
I started Lazarus from a terminal and that terminal gives me errors:
What to do about these errors?
It looks like VTV(Virtual Tree View) is misbehaving on arm. OPM depends on VTV because the package structure is displayed in a virtual tree. Unfortunately I don't have a device with arm proc. to debug, so my hands are tied.
Until the bug is fixed, just install the packages manually. You can find the zip files here: https://packages.lazarus-ide.org/


mercurhyo

  • Jr. Member
  • **
  • Posts: 76
Re: Online Package Manager
« Reply #1423 on: October 17, 2018, 01:03:57 pm »
any clue to repair BGRA "FULL" installation? thx
following link is a video capture about what happens (2mins 55secs)
https://drive.google.com/open?id=1wqHDzC0z3Bb5FtnVW4aviClODp_txlVf
« Last Edit: October 17, 2018, 01:08:34 pm by mercurhyo »
DEO MERCHVRIO - Linux Mint 18, Windows 7 - Laz1.8 - RAD Studio Architect XE7
god of financial gain, commerce, eloquence (and thus poetry), messages, communication (including divination), travelers, boundaries, luck, trickery and thieves; he also serves as the guide of souls to the underworld

GetMem

  • Hero Member
  • *****
  • Posts: 3251
Re: Online Package Manager
« Reply #1424 on: October 17, 2018, 01:36:46 pm »
@mercurhyo
Quote
any clue to repair BGRA "FULL" installation? thx
following link is a video capture about what happens (2mins 55secs)
https://drive.google.com/open?id=1wqHDzC0z3Bb5FtnVW4aviClODp_txlVf
Apparently some files are missing(wrong version/bitness) from package BGRAControlsFX. Please try the following:
1. Reinstall package BGRAControlsFX from OPM
2. When OPM offers you to rebuild the IDE, click "No", then go to Lazarus Menu-->Tools-->Configure "Build Lazarus"... and check "Clean All" then Build the IDE from there

Hopefully it will fix the problem.