Recent

Author Topic: Lazarus Release 2.2.4  (Read 11044 times)

Mimmo

  • New Member
  • *
  • Posts: 18
Re: Lazarus Release 2.2.4
« Reply #15 on: October 03, 2022, 08:51:13 am »
Thanks a lot for your work!

Lulu

  • Full Member
  • ***
  • Posts: 170
Re: Lazarus Release 2.2.4
« Reply #16 on: October 17, 2022, 09:10:55 pm »
Hi all, thanks you for this new release !
I notice a minor bug about TFrames that was already present in previous version (2.2.2).
When we put a frame on a form, the unit of the frame is not automatically inserted in the uses section by the IDE, that results in compile error. We have to do by hand.

 Lazarus 2.2.4 (rev lazarus_2_2_4) FPC 3.2.2 x86_64-win64-win32/win64

Attached a project with a main form in Unit1, a TFrame in unit frame_2. To reproduce the bug:
     - go to the Unit1 tab
     - put a TFrame on the form -> choose frame_2
     - compile.
wishing you a nice life

PascalDragon

  • Hero Member
  • *****
  • Posts: 4744
  • Compiler Developer
Re: Lazarus Release 2.2.4
« Reply #17 on: October 18, 2022, 07:22:15 am »
I notice a minor bug about TFrames that was already present in previous version (2.2.2).
When we put a frame on a form, the unit of the frame is not automatically inserted in the uses section by the IDE, that results in compile error. We have to do by hand.

Has the bug been reported on the bug tracker?

Lulu

  • Full Member
  • ***
  • Posts: 170
Re: Lazarus Release 2.2.4
« Reply #18 on: October 18, 2022, 09:07:01 am »
@PascalDragon: no, I tried to do it but I can't create an account on GitLab, my email is rejected...
wishing you a nice life

PascalDragon

  • Hero Member
  • *****
  • Posts: 4744
  • Compiler Developer
Re: Lazarus Release 2.2.4
« Reply #19 on: October 19, 2022, 07:35:26 am »
@PascalDragon: no, I tried to do it but I can't create an account on GitLab, my email is rejected...

Then you should talk to GitLab itself about that.

Lurgainn

  • Newbie
  • Posts: 2
Re: Lazarus Release 2.2.4 - troubles after update
« Reply #20 on: November 24, 2022, 06:51:46 pm »
Hello,
I used version 2.2.2 of Lazarus-IDE without any problem under Xubuntu 22.10.
Today I updated to 2.2.4 using the official deb files from sourceforge.net like I always do, and the update terminated without any error.

Now, when I start Lazarus (/usr/bin/startlazarus), the splashscreen says that it's "Lazarus IDE 2.2.2", the dialog "Configure  Lazarus IDE" show the error "/usr/share/lazarus/2.2.2/" "Error: directory not found", and if I manually change to "/usr/share/lazarus/2.2.4/", the dialog show the warning "Warning: wrong version in ide/version.inc: 2.2.4".
If I ignore the warning and press "Start IDE", I get the warning "Without a proper Lazarus directory you will get a lot of warnings.", but if I ignore the warning, the IDE start without any problem, but the version info is still "2.2.2" in the window title and in the about dialog.

Did I do something wrong while updating? Or has anyone got the same problem?

Thanks for any help that anyone can give me.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 8421
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release 2.2.4 - troubles after update
« Reply #21 on: November 24, 2022, 07:52:47 pm »
Did I do something wrong while updating? Or has anyone got the same problem?

It is flaw in the upgrade code.

You probably have package installed, and therefore did rebuild your IDE (it happens as soon as you install a package).
This rebuild version is still cached and used (i.e. you still running a 2.2.2).
The newly installed 2.2.4 on the other hand has not yet those packages compiled in.

So all you need to do (after you changed that path, and ignored the warning), is from the "tools" menu: "rebuild lazarus ..."

After that it should be fine (the packages will then be part of your 2.2.4)

Lurgainn

  • Newbie
  • Posts: 2
Re: Lazarus Release 2.2.4 - troubles after update
« Reply #22 on: November 25, 2022, 12:37:01 am »
So all you need to do (after you changed that path, and ignored the warning), is from the "tools" menu: "rebuild lazarus ..."

Thanks so much! Your tip solved the problem.

 

TinyPortal © 2005-2018