Recent

Author Topic: Error TDefaultComponentEditor  (Read 8985 times)

lainz

  • Guest
Error TDefaultComponentEditor
« on: October 07, 2010, 11:27:19 pm »
When i add one component (button, label, etc..) and double click to add "onclik" or some other event Lazarus show an error message "Error TDefaultComponentEditor . Unit not found"
in code is selected the last added unit like "StdCtrls".

The program compiles but i can't add functions to the events.

I'm using SVN 0.9.29 2010-10-06 FPC 2.4.3 SVN 27585
« Last Edit: October 07, 2010, 11:44:49 pm by lainz »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 5786
    • wiki
Re: Error TDefaultComponentEditor
« Reply #1 on: October 08, 2010, 12:04:08 am »
check your enviroments options.

Is the path to your lazarus dir correct?
and to your fpc source?

And yes, it will compile, even if they are wrong. But the ide will not work (as yours does not)

lainz

  • Guest
Re: Error TDefaultComponentEditor
« Reply #2 on: October 08, 2010, 02:45:54 am »
check your enviroments options.

Is the path to your lazarus dir correct?
and to your fpc source?

And yes, it will compile, even if they are wrong. But the ide will not work (as yours does not)

Yes is correct: the installation default folder settings.

Using the 3rd option in the "Environment" menu (Escanear de nuevo el directorio de fuentes de FPC) the ide now is working.

lainz

  • Guest
Re: Error TDefaultComponentEditor
« Reply #3 on: October 16, 2010, 04:20:52 pm »
The problem reappeared with Lazarus SVN 27701 2010-10-14 "Error: Unit not found".
And now using "..scan fpc source directory.." doesn't works.

lainz

  • Guest
Re: Error TDefaultComponentEditor
« Reply #4 on: October 16, 2010, 07:42:29 pm »
Sorry for multipost but lazarus 2010-10-16 now working
- delete old windows prefetch data
- Deleted all lazarus configurations in AppData
- Installed the newest svn (10-16 Daily Snapshots)

I hope this error does not reappear.

chrgra

  • Jr. Member
  • **
  • Posts: 69
Re: Error TDefaultComponentEditor
« Reply #5 on: October 19, 2010, 12:04:28 pm »
Ian,

What do you mean with

'delete old windows prefetch data'?

regards chris

lainz

  • Guest
Re: Error TDefaultComponentEditor
« Reply #6 on: October 19, 2010, 03:11:37 pm »
Erase or delete files with "lazarus" in his filenames in the Windows prefetch Folder.
http://windows.microsoft.com/en-US/windows7/What-is-the-prefetch-folder

But i think the problem is the lastest bugged SVN: installing a newer SVN the problem was fixed, installing other SVN tomorrow may "create" the problem again.