Discussion:
[Lazarus] Package/New Package broken
John Landmesser via Lazarus
2018-05-16 07:44:20 UTC
Permalink
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.
--
John Landmesser via Lazarus
2018-05-18 18:05:16 UTC
Permalink
Post by John Landmesser via Lazarus
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 :-(

--
Werner Pamler via Lazarus
2018-05-18 22:27:41 UTC
Permalink
Post by John Landmesser via Lazarus
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?

--
John Landmesser via Lazarus
2018-05-19 15:22:08 UTC
Permalink
Fixed by Mattias:

2018-05-18 23:36 Mattias GaertnerBearbeitung durch => Mattias Gaertner
Post by 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
Post by Werner Pamler via Lazarus
#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
--

Loading...