Recent

Author Topic: SQLDB not run whith another controls  (Read 8322 times)

rastrahm

  • New Member
  • *
  • Posts: 22
SQLDB not run whith another controls
« on: February 13, 2006, 07:26:27 pm »
I need your help, I installed a debian sarge 3.1 in a dell optiplex G1 which postgres 7.0.1 and Mysql 4.0, and install lazarus 0.9.12 (the problem initialize in 0.9.10) and fpc 2.0.2, well, I place a pgconnect in a form, ok, and later I place a button in this form, and I do a doble-click over the button and the IDE Editor goto USES line, indicate the pgconnection library and display this message "The component editor of class TDefaultComponentEditor has created the error: Don't have find the metod, please repair the error look in screen"

Why is the problem? Is a config problem? What is?Why not use this library and the BD source?

Anonymous

  • Guest
RE: SQLDB not run whith another controls
« Reply #1 on: February 21, 2006, 06:39:31 pm »
The problem is in the codetools in the version 0.9.12, in 0.9.10 I compile the sqldb and codetools find the units and components, in 0.9.12 not find this, I edit the archive includelinks.xml and agree the lines for find this .pp archive and codetools not find this.

Why is the problem? and What archive I edit for resolbe this problem?

Anonymous

  • Guest
RE: SQLDB not run whith another controls
« Reply #2 on: February 22, 2006, 09:04:45 am »
Did you install the fpc-src ?

Anonymous

  • Guest
RE: SQLDB not run whith another controls
« Reply #3 on: February 24, 2006, 02:45:42 pm »
I install this packages:
- fpc-2.0.2
- fpcsrc-2.0.2
- fpc cross platafor
- fpc-doc
- lazarus 0.9.12

First transform this of rpm to deb packages through aliem

rastrahm

  • New Member
  • *
  • Posts: 22
SQLDB not run whith another controls
« Reply #4 on: April 09, 2006, 03:56:17 pm »
I run a lazarus from the console and this is the message:

prg:/usr/lib/lazarus# ./lazarus
TApplication.IconChanged - TODO: convert this message...no implementation in gtk  or win32
NOTA: No se ha encontrado el archivo de configuración de las CodeTools - usando valores por defecto
NOTE: help options config file not found - using defaults
TMainIDE.DoNewProject A
TMainIDE.DoNewEditorFile A NewFilename=
TPascalParserTool.BuildTree B OnlyIntf=False  project1.lpr
[TCustomFormEditor.CreateComponent] Class='TForm'
TPascalParserTool.BuildTree B OnlyIntf=False  project1.lpr
TMainIDE.DoNewEditorFile end unit1.pas
[TCustomFormEditor.CreateComponent] Class='TButton'
Parent is 'Form1:TForm1'
TMainIDE.OnPropHookPersistentAdded A Button1:TButton
TPascalParserTool.BuildTree B OnlyIntf=True  unit1.pas
TPascalParserTool.BuildTree B OnlyIntf=False  unit1.pas
[TEventsCodeTool.CompleteComponent] A Component="Form1:TForm1
[TEventsCodeTool.CompleteComponent]  CurComponent=Button1:TButton
[TEventsCodeTool.CompleteComponent] ADDING variable Button1:TButton
[TEventsCodeTool.CompleteComponent] invoke class completion
[TEventsCodeTool.CompleteComponent] END
TDesigner.InvokeComponentEditor A Button1:TButton
TDesigner.InvokeComponentEditor B TDefaultComponentEditor
### TMethodPropertyEditor.Edit A OldValue=
### TMethodPropertyEditor.Edit B FormMethodName=Button1Click
TPascalParserTool.BuildTree B OnlyIntf=True  unit1.pas
TPascalParserTool.BuildTree B OnlyIntf=True  /usr/lib/lazarus/lcl/buttons.pp
TPascalParserTool.BuildTree B OnlyIntf=True  /usr/lib/lazarus/lcl/dialogs.pp
TPascalParserTool.BuildTree B OnlyIntf=True  /usr/lib/lazarus/lcl/graphics.pp
TPascalParserTool.BuildTree B OnlyIntf=True  /usr/lib/lazarus/lcl/controls.pp
TPascalParserTool.BuildTree B OnlyIntf=True  /usr/lib/lazarus/lcl/forms.pp
TPascalParserTool.BuildTree B OnlyIntf=True  /usr/lib/lazarus/lcl/lclclasses.pp
TPascalParserTool.BuildTree B OnlyIntf=True  /usr/lib/lazarus/lcl/widgetset/wslc lclasses.pp
TPascalParserTool.BuildTree B OnlyIntf=True  /usr/lib/lazarus/lcl/lclproc.pas
TPascalParserTool.BuildTree B OnlyIntf=True  /usr/share/fpcsrc/rtl/unix/classes. pp
TPascalParserTool.BuildTree B OnlyIntf=True  /usr/share/fpcsrc/rtl/objpas/rtlcon sts.pp
TPascalParserTool.BuildTree B OnlyIntf=True  /usr/share/fpcsrc/rtl/objpas/typinf o.pp
TPascalParserTool.BuildTree B OnlyIntf=True  /usr/share/fpcsrc/rtl/objpas/types. pp
TPascalParserTool.BuildTree B OnlyIntf=True  /usr/share/fpcsrc/rtl/unix/sysutils .pp
TPascalParserTool.BuildTree B OnlyIntf=True  /usr/share/fpcsrc/rtl/objpas/objpas .pp
TPascalParserTool.BuildTree B OnlyIntf=True  /usr/share/fpcsrc/rtl/linux/system. pp
TPascalParserTool.BuildTree B OnlyIntf=False  unit1.pas
TPascalParserTool.BuildTree B OnlyIntf=True  /usr/lib/lazarus/lcl/lresources.pp
TPascalParserTool.BuildTree B OnlyIntf=False  unit1.pas
[TCustomFormEditor.CreateComponent] Class='TPQConnection'
Parent is 'Form1:TForm1'
TMainIDE.OnPropHookPersistentAdded A PQConnection1:TPQConnection
TPkgManager.AddUnitToProjectMainUsesSection B SQLDBLaz
TPascalParserTool.BuildTree B OnlyIntf=True  project1.lpr
TPascalParserTool.BuildTree B OnlyIntf=True  unit1.pas
TPascalParserTool.BuildTree B OnlyIntf=False  unit1.pas
[TEventsCodeTool.CompleteComponent] A Component="Form1:TForm1
[TEventsCodeTool.CompleteComponent]  CurComponent=Button1:TButton
[TEventsCodeTool.CompleteComponent]  CurComponent=PQConnection1:TPQConnection
[TEventsCodeTool.CompleteComponent] ADDING variable PQConnection1:TPQConnection
[TEventsCodeTool.CompleteComponent] invoke class completion
[TEventsCodeTool.CompleteComponent] END
[TCustomFormEditor.CreateComponent] Class='TButton'
Parent is 'Form1:TForm1'
TMainIDE.OnPropHookPersistentAdded A Button2:TButton
TPascalParserTool.BuildTree B OnlyIntf=True  unit1.pas
TPascalParserTool.BuildTree B OnlyIntf=False  unit1.pas
[TEventsCodeTool.CompleteComponent] A Component="Form1:TForm1
[TEventsCodeTool.CompleteComponent]  CurComponent=Button1:TButton
[TEventsCodeTool.CompleteComponent]  CurComponent=PQConnection1:TPQConnection
[TEventsCodeTool.CompleteComponent]  CurComponent=Button2:TButton
[TEventsCodeTool.CompleteComponent] ADDING variable Button2:TButton
[TEventsCodeTool.CompleteComponent] invoke class completion
[TEventsCodeTool.CompleteComponent] END
TDesigner.InvokeComponentEditor A Button2:TButton
TDesigner.InvokeComponentEditor B TDefaultComponentEditor
### TMethodPropertyEditor.Edit A OldValue=
### TMethodPropertyEditor.Edit B FormMethodName=Button2Click
TPascalParserTool.BuildTree B OnlyIntf=True  unit1.pas
### TCodeToolManager.HandleException: "unidad no encontrada: pqconnection" at Line=9 Col=3 in "u nit1.pas"
TDesigner.InvokeComponentEditor ERROR: No se ha podido encontrar el método. Por favor corrija el  error mostrado en la ventana de mensaje.
TMainIDE.DoCloseEditorFile A PageIndex=0
TCustomFormEditor.DeleteControl TForm1 TRUE
TCustomFormEditor.DeleteControl TButton FALSE
TCustomFormEditor.DeleteControl TPQConnection FALSE
TCustomFormEditor.DeleteControl TButton FALSE
TPascalParserTool.BuildTree B OnlyIntf=False  project1.lpr
TPascalParserTool.BuildTree B OnlyIntf=False  project1.lpr
TMainIDE.DoCloseEditorFile end
LAZARUS END - cleaning up ...
[TMainIDE.Destroy] A
[TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
[TMainIDE.Destroy] END
prg:/usr/lib/lazarus#

I don´t understan why the lazarus not run

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2582
SQLDB not run whith another controls
« Reply #5 on: April 10, 2006, 02:29:26 pm »
As far as I understand, it complains about the unit pqconnection not found.
Don't see a reason why it should crash on that.
Was there any dialog shown ?
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Anonymous

  • Guest
SQLDB not run whith another controls
« Reply #6 on: April 12, 2006, 03:27:40 pm »
Yes, the dialog spoke:
"The component editor of class TDefaultComponentEditor has created the error: Don't have find the metod, please repair the error look in screen"

Anonymous

  • Guest
SQLDB not run whith another controls
« Reply #7 on: April 15, 2006, 08:34:45 pm »
I reinstall the debian 3.1r0 and this present the problem, it is a problem of configuration the fpc.cfg file?

Anonymous

  • Guest
SQLDB not run whith another controls
« Reply #8 on: April 27, 2006, 02:45:12 pm »
The problem is out, I install Lazarus 0.9.14 and them is finish

 

TinyPortal © 2005-2018