Sign in Join

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

Mailing lists / lazarus / 2009-09

package with LazIDEIntf and propedits probleme

13 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

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

wile64

Hi,

I have a install package error when an unit use "LazIDEIntf, propedits" into, if I comment this install is good. (Compilation is ok !!!)

With console, I see Lazarus search my unit here
"/home/laurent/lazsvn/ide/lzvgifanimator.pas"

[console]
PPU Loading
/home/laurent/devlaz/lzcomponant/Lazarus-fr/lzvisual/libs/lzvgifanimator.ppu PPU Source: lzvgifanimator.pas not found
Recompiling lzvgifanimator, checksum changed for PropEdits {impl} lzvgifanimator.pas(79,12) Fatal: Can't find unit lzvgifanimator used by LZVRegister
GetMsgLineFilename Filename "/home/laurent/lazsvn/ide/lzvgifanimator.pas" not found.
TExternalToolList.Run Exception: lzvgifanimator.pas(79,12) Fatal: Can't find unit lzvgifanimator used by LZVRegister
[/console]

When I comment "LazIDEIntf, propedits" Lazarus search unit on good place !!!

You know this probleme ?

Lazarus svn and fpc 2.2.5

Laurent. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20090919/7be11bf5/attachment.html>

Reply by email

wile64
to wile64

Hi,

I have a install package error when an unit use "LazIDEIntf, propedits" into, if I comment this install is good. (Compilation is ok !!!)

With console, I see Lazarus search my unit here
"/home/laurent/lazsvn/ide/lzvgifanimator.pas"

[console]
PPU Loading
/home/laurent/devlaz/lzcomponant/Lazarus-fr/lzvisual/libs/lzvgifanimator.ppu PPU Source: lzvgifanimator.pas not found
Recompiling lzvgifanimator, checksum changed for PropEdits {impl} lzvgifanimator.pas(79,12) Fatal: Can't find unit lzvgifanimator used by LZVRegister
GetMsgLineFilename Filename "/home/laurent/lazsvn/ide/lzvgifanimator.pas" not found.
TExternalToolList.Run Exception: lzvgifanimator.pas(79,12) Fatal: Can't find unit lzvgifanimator used by LZVRegister
[/console]

When I comment "LazIDEIntf, propedits" Lazarus search unit on good place !!!

You know this probleme ?

Lazarus svn and fpc 2.2.5

Laurent. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20090920/b4b21807/attachment.html>

Reply by email

Mattias Gaertner
to wile64: I have a install package error when an unit use "LazIDEIntf, propedits" into, if I…
Show quoted text 26 lines
Hi, I have a install package error when an unit use "LazIDEIntf, propedits" into, if I comment this install is good. (Compilation is ok !!!) With console, I see Lazarus search my unit here "/home/laurent/lazsvn/ide/lzvgifanimator.pas" [console] PPU Loading /home/laurent/devlaz/lzcomponant/Lazarus-fr/lzvisual/libs/lzvgifanimator.ppu PPU Source: lzvgifanimator.pas not found Recompiling lzvgifanimator, checksum changed for PropEdits {impl} lzvgifanimator.pas(79,12) Fatal: Can't find unit lzvgifanimator used by LZVRegister GetMsgLineFilename Filename "/home/laurent/lazsvn/ide/lzvgifanimator.pas" not found. TExternalToolList.Run Exception: lzvgifanimator.pas(79,12) Fatal: Can't find unit lzvgifanimator used by LZVRegister [/console] When I comment "LazIDEIntf, propedits" Lazarus search unit on good place !!! You know this probleme ?

Checksum changed often means you have some old ppu files somewhere. Either they exist twice or they were not updated.

Mattias

Reply by email

wile64
to Mattias Gaertner

2009/9/20 Mattias Gaertner

Show quoted text 38 lines
On Sat, 19 Sep 2009 23:52:55 +0200 wile64 wrote: > Hi, > > I have a install package error when an unit use "LazIDEIntf, > propedits" into, if I comment this install is good. (Compilation is > ok !!!) > > With console, I see Lazarus search my unit here > "/home/laurent/lazsvn/ide/lzvgifanimator.pas" > > [console] > PPU Loading > /home/laurent/devlaz/lzcomponant/Lazarus-fr/lzvisual/libs/lzvgifanimator.ppu > PPU Source: lzvgifanimator.pas not found > Recompiling lzvgifanimator, checksum changed for PropEdits {impl} > lzvgifanimator.pas(79,12) Fatal: Can't find unit lzvgifanimator used > by LZVRegister > GetMsgLineFilename Filename > "/home/laurent/lazsvn/ide/lzvgifanimator.pas" not found. > TExternalToolList.Run Exception: lzvgifanimator.pas(79,12) Fatal: > Can't find unit lzvgifanimator used by LZVRegister > [/console] > > When I comment "LazIDEIntf, propedits" Lazarus search unit on good > place !!! > > You know this probleme ? Checksum changed often means you have some old ppu files somewhere. Either they exist twice or they were not updated. Mattias

I have delete all in
/home/laurent/devlaz/lzcomponant/Lazarus-fr/lzvisual/libs/lzvgifanimator.ppu but same.

Next I try do delete all in lazarus units

Laurent. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20090921/0beaa6c3/attachment.html>

Reply by email

Vincent Snijders
to wile64
wile64 wrote 13 lines
Checksum changed often means you have some old ppu files somewhere. Either they exist twice or they were not updated. Mattias I have delete all in /home/laurent/devlaz/lzcomponant/Lazarus-fr/lzvisual/libs/lzvgifanimator.ppu but same. Next I try do delete all in lazarus units

You can try to compile with -vut, then the compiler tells you which ppu it uses and where it looked for them. Maybe you see something strange.

Vincent

Reply by email

wile64
to Vincent Snijders

Don't work, don't work, don't work !!!

After full test, I am desperate to make it work :( I have some another message like "objectinspector.pp(41,18) Fatal: Can't find unit ObjectInspector used by EnvironmentOpts"

If someone can test with the package manager, create a package and then add a new component (no matter the ancestor) and add "uses LazIDEIntf, propedits;" into unit
*And try to install package.*

Thx

2009/9/21 Vincent Snijders

Show quoted text 29 lines
wile64 schreef: > > Checksum changed often means you have some old ppu files somewhere. > Either they exist twice or they were not updated. > > > Mattias > > > I have delete all in > /home/laurent/devlaz/lzcomponant/Lazarus-fr/lzvisual/libs/lzvgifanimator.ppu > but same. > > Next I try do delete all in lazarus units > You can try to compile with -vut, then the compiler tells you which ppu it uses and where it looked for them. Maybe you see something strange. Vincent -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Laurent. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20090930/4a021657/attachment.html>

Reply by email

Mattias Gaertner
to wile64
Show quoted text 10 lines
Don't work, don't work, don't work !!! After full test, I am desperate to make it work :( I have some another message like "objectinspector.pp(41,18) Fatal: Can't find unit ObjectInspector used by EnvironmentOpts" If someone can test with the package manager, create a package and then add a new component (no matter the ancestor) and add "uses LazIDEIntf, propedits;" into unit *And try to install package.*

Create new package.
Save it.
Add new comonent.
Add new requirement "IDEIntf".
Add uses LazIDEIntf, propedits.
Install package.
Works here.

Mattias

Reply by email

waldo kitty
to Mattias Gaertner
Mattias Gaertner wrote 15 lines
On Wed, 30 Sep 2009 17:56:17 +0200 wile64 wrote: > Don't work, don't work, don't work !!! > > After full test, I am desperate to make it work :( > I have some another message like "objectinspector.pp(41,18) Fatal: > Can't find unit ObjectInspector used by EnvironmentOpts" > > If someone can test with the package manager, create a package and > then add a new component (no matter the ancestor) and add "uses > LazIDEIntf, propedits;" into unit > *And try to install package.* Works here.

why can one not do the following (which is ((would seem to be)) more intuitive)???

Create new package.
Add new comonent.
Add new requirement "IDEIntf".
Add uses LazIDEIntf, propedits.
Save it.
Install package.

in other words, why must saving something be the second step before adding or completing the basic steps??

i think i have run into similar while trying to convert delphi stuffs... one procedure says to create a new program, save it, open the existing delphi stuffs, do some sort of conversion, then do delphi unit consersion stuffs and then save... must saving be part of the conversion and before the building and/or compiling???

Reply by email

Mattias Gaertner
to waldo kitty
Show quoted text 29 lines
Mattias Gaertner wrote: > On Wed, 30 Sep 2009 17:56:17 +0200 > wile64 wrote: > >> Don't work, don't work, don't work !!! >> >> After full test, I am desperate to make it work :( >> I have some another message like "objectinspector.pp(41,18) Fatal: >> Can't find unit ObjectInspector used by EnvironmentOpts" >> >> If someone can test with the package manager, create a package and >> then add a new component (no matter the ancestor) and add "uses >> LazIDEIntf, propedits;" into unit >> *And try to install package.* > > Works here. why can one not do the following (which is ((would seem to be)) more intuitive)??? Create new package. Add new comonent. Add new requirement "IDEIntf". Add uses LazIDEIntf, propedits. Save it. Install package. in other words, why must saving something be the second step before adding or completing the basic steps??

Packages have stronger checkings than projects. They always need to be in a well defined state. That means they need a filename.

I changed it. Now the IDE asks immediately on creating a new package to save it.

Show quoted text 5 lines
i think i have run into similar while trying to convert delphi stuffs... one procedure says to create a new program, save it, open the existing delphi stuffs, do some sort of conversion, then do delphi unit consersion stuffs and then save... must saving be part of the conversion and before the building and/or compiling???

There are many ways to convert a Delphi project. There is no single best way. I recommend to save often.

Mattias

Reply by email

wile64
to Mattias Gaertner: On Wed, 30 Sep 2009 17:56:17 +0200 Create new package. Save it. Add new comonent. Add new…

2009/10/1 Mattias Gaertner

Show quoted text 22 lines
On Wed, 30 Sep 2009 17:56:17 +0200 wile64 wrote: > Don't work, don't work, don't work !!! > > After full test, I am desperate to make it work :( > I have some another message like "objectinspector.pp(41,18) Fatal: > Can't find unit ObjectInspector used by EnvironmentOpts" > > If someone can test with the package manager, create a package and > then add a new component (no matter the ancestor) and add "uses > LazIDEIntf, propedits;" into unit > *And try to install package.* Create new package. Save it. Add new comonent. Add new requirement "IDEIntf". Add uses LazIDEIntf, propedits. Install package. Works here.

Thx for reply,

But I'm stupid boy :'(
Just add << Add new requirement "IDEIntf".>> and work

Sorry for your lost time :(

Laurent. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20091003/642b00b2/attachment.html>

Reply by email

Vincent Snijders
to wile64
wile64 wrote 34 lines
2009/10/1 Mattias Gaertner < <mailto:>> On Wed, 30 Sep 2009 17:56:17 +0200 wile64 < <mailto:>> wrote: > Don't work, don't work, don't work !!! > > After full test, I am desperate to make it work :( > I have some another message like "objectinspector.pp(41,18) Fatal: > Can't find unit ObjectInspector used by EnvironmentOpts" > > If someone can test with the package manager, create a package and > then add a new component (no matter the ancestor) and add "uses > LazIDEIntf, propedits;" into unit > *And try to install package.* Create new package. Save it. Add new comonent. Add new requirement "IDEIntf". Add uses LazIDEIntf, propedits. Install package. Works here. Thx for reply, But I'm stupid boy :'( Just add << Add new requirement "IDEIntf".>> and work Sorry for your lost time :(

Maybe we should have a quick fix: add missing requirement. :-)

Vincent

Reply by email

wile64
to Vincent Snijders

2009/10/4 Vincent Snijders

Show quoted text 42 lines
wile64 schreef: > > > 2009/10/1 Mattias Gaertner < <mailto: > >> > > On Wed, 30 Sep 2009 17:56:17 +0200 > wile64 < <mailto:>> wrote: > > > Don't work, don't work, don't work !!! > > > > After full test, I am desperate to make it work :( > > I have some another message like "objectinspector.pp(41,18) Fatal: > > Can't find unit ObjectInspector used by EnvironmentOpts" > > > > If someone can test with the package manager, create a package and > > then add a new component (no matter the ancestor) and add "uses > > LazIDEIntf, propedits;" into unit > > *And try to install package.* > > Create new package. > Save it. > Add new comonent. > Add new requirement "IDEIntf". > Add uses LazIDEIntf, propedits. > Install package. > Works here. > > > Thx for reply, > > But I'm stupid boy :'( > Just add << Add new requirement "IDEIntf".>> and work > > Sorry for your lost time :( > Maybe we should have a quick fix: add missing requirement. :-) Vincent

My head is required but remember in my bed :)

Laurent. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20091005/1ace56a6/attachment.html>

Reply by email

Mattias Gärtner
to wile64

Zitat von wile64 :

Show quoted text 41 lines
2009/10/4 Vincent Snijders > wile64 schreef: > >> >> >> 2009/10/1 Mattias Gaertner < <mailto: >> >> >> >> On Wed, 30 Sep 2009 17:56:17 +0200 >> wile64 < <mailto:>> wrote: >> >> > Don't work, don't work, don't work !!! >> > >> > After full test, I am desperate to make it work :( >> > I have some another message like "objectinspector.pp(41,18) Fatal: >> > Can't find unit ObjectInspector used by EnvironmentOpts" >> > >> > If someone can test with the package manager, create a package and >> > then add a new component (no matter the ancestor) and add "uses >> > LazIDEIntf, propedits;" into unit >> > *And try to install package.* >> >> Create new package. >> Save it. >> Add new comonent. >> Add new requirement "IDEIntf". >> Add uses LazIDEIntf, propedits. >> Install package. >> Works here. >> >> >> Thx for reply, >> >> But I'm stupid boy :'( >> Just add << Add new requirement "IDEIntf".>> and work >> >> Sorry for your lost time :( >> > > Maybe we should have a quick fix: add missing requirement. :-)

I added it.
It searches the unit in all packages.

It is only a start. Our wiki lists more than 16 other reasons for "can't find unit".

My head is required but remember in my bed :)

Mattias

Reply by email