Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2018-05

Package/New Package broken

6 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

John Landmesser

Hi,

Lazarus 1.9.0 r57942 FPC 3.0.0 x86_64-linux-gtk2

try Package/New Package

and you get an Error Dialog.

"PackageEditor_Neues Package1" is not a valid component name.

Reply by email

Cyrax
to John Landmesser
John Landmesser wrote 11 lines
Hi, Lazarus 1.9.0 r57942 FPC 3.0.0 x86_64-linux-gtk2 try Package/New Package and you get an Error Dialog. > "PackageEditor_Neues Package1" is not a valid component name.

Lazarus 1.9.0 r57946 FPC 3.1.1-r39004 x86_64-linux-gtk2

I can't reprocude this bug. Maybe you can try to do full clean build of the IDE and see if it fixes this?

Reply by email

John Landmesser
to Cyrax
Cyrax wrote 18 lines
On 16/05/18 10:44, John Landmesser via Lazarus wrote: > Hi, > > Lazarus 1.9.0 r57942 FPC 3.0.0 x86_64-linux-gtk2 > > try Package/New Package > > and you get an Error Dialog. > >> "PackageEditor_Neues Package1" is not a valid component name. > > Lazarus 1.9.0 r57946 FPC 3.1.1-r39004 x86_64-linux-gtk2 I can't reprocude this bug. Maybe you can try to do full clean build of the IDE and see if it fixes this?

No it occurs because of my german locale. Issue is gone with english and -> "NewPackage.lpk"

There are spaces in "PackageEditor_Neues Package1" and thats not possible for package names!

Too tired now to write the bug report :-(

Reply by email

Werner Pamler
to John Landmesser
John Landmesser wrote 8 lines
No it occurs because of my german locale. Issue is gone with english and -> "NewPackage.lpk" There are spaces in "PackageEditor_Neues Package1" and thats not possible for package names! Too tired now to write the bug report :-(

I cannot confirm the issue either (I am German, too). I do no see the space in the name. Are you sure that you did not enter it yourself?

Reply by email

Martok
to Werner Pamler
Werner Pamler wrote
I cannot confirm the issue either (I am German, too). I do no see the space in the name. Are you sure that you did not enter it yourself?

Happens for me too, no input required. This used to work at some point...

Lazarus-1.9-57954_fpc-3.1.1-39024M

Backtrace:

Show quoted text 13 lines
#0 0x0040f676 in fpc_raiseexception () #1 0x004899e4 in CLASSES$_$TCOMPONENT_$__$$_SETNAME$ANSISTRING () #2 0x0055f931 in SETNAME (this=0x2f1e68, VALUE=0xb79a07c 'PackageEditor_Neues Package') at include/control.inc:3492 #3 0x00b247ad in PACKAGEEDITOR$_$TPACKAGEEDITORFORM_$__$$_UPDATEALL$BOOLEAN () #4 0x00b23a70 in PACKAGEEDITOR$_$TPACKAGEEDITORFORM_$__$$_SETLAZPACKAGE$TLAZPACKAGE () #5 0x00b28328 in PACKAGEEDITOR$_$TPACKAGEEDITORS_$__$$_CREATEEDITOR$TLAZPACKAGE$BOOLEAN$$TPACKAGEEDITORFORM () #6 0x0892be18 in ?? () #7 0x007fbee4 in PKGMANAGER$_$TPKGMANAGER_$__$$_DONEWPACKAGE$$TMODALRESULT () #8 0x007f4a48 in PKGMANAGER$_$TPKGMANAGER_$__$$_MAINIDEITMPKGNEWPACKAGECLICK$TOBJECT () #9 0x00732325 in MENUITEMCLICK (this=0xb4d13e0, SENDER=0xb4ce2f8) at menuintf.pas:544 #10 0x00734df5 in MENUITEMCLICK (this=0xb4d13e0, SENDER=0xb4ce2f8) at menuintf.pas:1705 #11 0x00585f40 in CLICK (this=0xb4ce2f8) at include/menuitem.inc:83 #12 0x005865bf in DOCLICKED (this=0xb4ce2f8, MSG=0) at include/menuitem.inc:293
Regards, Martok

Reply by email

John Landmesser
to Martok

Fixed by Mattias:

2018-05-18 23:36 Mattias GaertnerBearbeitung durch => Mattias Gaertner

Martok wrote 21 lines
Am 19.05.2018 um 00:27 schrieb Werner Pamler via Lazarus: > I cannot confirm the issue either (I am German, too). I do no see the > space in the name. Are you sure that you did not enter it yourself? Happens for me too, no input required. This used to work at some point... Lazarus-1.9-57954_fpc-3.1.1-39024M Backtrace: > #0 0x0040f676 in fpc_raiseexception () > #1 0x004899e4 in CLASSES$_$TCOMPONENT_$__$$_SETNAME$ANSISTRING () > #2 0x0055f931 in SETNAME (this=0x2f1e68, VALUE=0xb79a07c 'PackageEditor_Neues Package') at include/control.inc:3492 > #3 0x00b247ad in PACKAGEEDITOR$_$TPACKAGEEDITORFORM_$__$$_UPDATEALL$BOOLEAN () > #4 0x00b23a70 in PACKAGEEDITOR$_$TPACKAGEEDITORFORM_$__$$_SETLAZPACKAGE$TLAZPACKAGE () > #5 0x00b28328 in PACKAGEEDITOR$_$TPACKAGEEDITORS_$__$$_CREATEEDITOR$TLAZPACKAGE$BOOLEAN$$TPACKAGEEDITORFORM () > #6 0x0892be18 in ?? () > #7 0x007fbee4 in PKGMANAGER$_$TPKGMANAGER_$__$$_DONEWPACKAGE$$TMODALRESULT () > #8 0x007f4a48 in PKGMANAGER$_$TPKGMANAGER_$__$$_MAINIDEITMPKGNEWPACKAGECLICK$TOBJECT () > #9 0x00732325 in MENUITEMCLICK (this=0xb4d13e0, SENDER=0xb4ce2f8) at menuintf.pas:544 > #10 0x00734df5 in MENUITEMCLICK (this=0xb4d13e0, SENDER=0xb4ce2f8) at menuintf.pas:1705 > #11 0x00585f40 in CLICK (this=0xb4ce2f8) at include/menuitem.inc:83 > #12 0x005865bf in DOCLICKED (this=0xb4ce2f8, MSG=0) at include/menuitem.inc:293

Reply by email