Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Studio Installation and Setup.
  • Page:
  • 1
  • 2

TOPIC:

Error with version 5.30 on one project 9 years 6 months ago #7144

  • MacWomble
  • MacWomble's Avatar Topic Author
  • Visitor
  • Visitor
Hallo,
I can't load my project with version 5.30. The Error I get is

TMainIDE.DoFixupComponentReferences UNRESOLVED BEFORE loading 0 Root=fraVorgang:TfraVorgang RefRoot=dtmVorgang Refs="dsVorgang dsAdressen dsDokumente"


fraVorgang is a Frame, dtm...=Datamodule ds...=Datasource

Reinstalling version 5.20 makes my project loadable again.
I can't find any information about this error on the web.

My second project is running. I don't use frames and datamodules there.

Please Log in or Create an account to join the conversation.

Error with version 5.30 on one project 9 years 6 months ago #7191

  • Tony_O_Gallos
  • Tony_O_Gallos's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Ελεύθερο λογισμικό ή θάνατος
  • Posts: 84
  • Thank you received: 23
Hi MacWomble,

please have a look at the changeslog.txt file, a lot of units have changed of name between 5.20 and 5.30.
It is possible you include some of these units.
I had such a problem when lazcontrols has been renamed as bs_Controls.
You can check/modify your *.pas/*.lpr (do a backup before ;) )
Hoping this will help you :)

Please Log in or Create an account to join the conversation.

Error with version 5.30 on one project 9 years 6 months ago #7194

  • MacWomble
  • MacWomble's Avatar Topic Author
  • Visitor
  • Visitor
OK, found and replaced lazcontrols in *.lpr and *.lpi, but got same error again.

I can't find any other renamed package :-(

Please Log in or Create an account to join the conversation.

Error with version 5.30 on one project 9 years 6 months ago #7205

  • Tony_O_Gallos
  • Tony_O_Gallos's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Ελεύθερο λογισμικό ή θάνατος
  • Posts: 84
  • Thank you received: 23
Maybe it is a visual package not linked in your IDE.
Try to start your Typhon without loading the project, go in Add/Rmove Packages and check if one of the "available" ones is not supposed to be used by your project.
The error message can be found in :\typhon\ide\main.pp only, and it is linked to the loading of your project in the IDE.
If the component has to be loaded graphically, but the package not linked in the IDE, it crashes ;)

Reinstalling version 5.20 makes my project loadable again.

To avoid to reinstall CT everytime you need to change of version, I wrote this little tuto ;)

Please Log in or Create an account to join the conversation.

Error with version 5.30 on one project 9 years 6 months ago #7207

  • MacWomble
  • MacWomble's Avatar Topic Author
  • Visitor
  • Visitor
Thanx for your help, but I can't solve my problem. The only used and changed package is lazcontrols.

After replacing lazcontrols and reopening the project in 5.20 the projectmanager starts and shows me the error (bs_controls missing)

In 5.30 the projectmanager won't start as it should be (before replacing lazcontrols ) . So this is an error in my opinion.
The IDE should should give a good error-message and not the death of itself. I'm not psychic :unsure:

Please Log in or Create an account to join the conversation.

Error with version 5.30 on one project 9 years 6 months ago #7208

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
can you post here as zip attach
the *.lpi and *.lpr files of your project and the lfm file of form with the loading problem,
to solve the problem, if we can ?

If the error is "bs_controls missing", just add bs_controls pkg in you project

and please give us more info :)
-your OS ?
-your Typhon platform
etc
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Error with version 5.30 on one project 9 years 6 months ago #7210

  • MacWomble
  • MacWomble's Avatar Topic Author
  • Visitor
  • Visitor
Hello again ;-)

I work with Linux Mint 17.1 64Bit and CT 5.30 64Bit BigIDE.

in the attachment you will find the files. You can reproduce my problem on loading fra_adressen.pas and just pressing F12.

File Attachment:

File Name: sternas_ctr.tar.gz
File Size:4 KB


1. all works well with CT5.20
2. CT5.30 didn't inform about the missing LazControls (maybe the above problem is first active, so that CT has no chance...
3. use the above files and CT will close without any message (only on terminal when startet from there)

Hope you could find the mistake

Please Log in or Create an account to join the conversation.

Last edit: by MacWomble. Reason: added some information

Error with version 5.30 on one project 9 years 6 months ago #7211

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
on Win64 all are OK, the fra_adressen.pas loaded ok
and your project files are Ok

please give me time to check on Linux Mint 17.1 64Bit

oh, KDE or MATE or which desktop ?
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Error with version 5.30 on one project 9 years 6 months ago #7212

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir, we have the same problem with you
on Linux Mint 17.1 64Bit
we will check and report here
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Error with version 5.30 on one project 9 years 6 months ago #7219

  • MacWomble
  • MacWomble's Avatar Topic Author
  • Visitor
  • Visitor
Why didn't I get this error-message?

Please Log in or Create an account to join the conversation.

Error with version 5.30 on one project 9 years 6 months ago #7222

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
I don't know Sir
we try to solve this
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Error with version 5.30 on one project 9 years 6 months ago #7233

  • Tony_O_Gallos
  • Tony_O_Gallos's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Ελεύθερο λογισμικό ή θάνατος
  • Posts: 84
  • Thank you received: 23
Sternas,
your crash on Mint is due to the fact you don't use Embedded Designer.
I did the test on Windows, same crash without Embedded Designer, loaded ok when activated.

Please Log in or Create an account to join the conversation.

Error with version 5.30 on one project 9 years 6 months ago #7239

  • MacWomble
  • MacWomble's Avatar Topic Author
  • Visitor
  • Visitor
I can see the error message like Sterna did when I disable the embedded designer.
When embedded designer is enabled CT closes without any hint.

Mint 17.1 64Bit Cinnamon BigIDE

Please Log in or Create an account to join the conversation.

Last edit: by MacWomble.

Error with version 5.30 on one project 9 years 6 months ago #7299

  • MacWomble
  • MacWomble's Avatar Topic Author
  • Visitor
  • Visitor
no new findings?

Please Log in or Create an account to join the conversation.

Error with version 5.30 on one project 9 years 6 months ago #7302

  • Tony_O_Gallos
  • Tony_O_Gallos's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Ελεύθερο λογισμικό ή θάνατος
  • Posts: 84
  • Thank you received: 23
Hi,
the only things I found when I was checking your files were some incompatibilities
- between packages names (normally solved)
- maybe some packages not linked in IDE
- some problems of resizing components during display in the IDE

it seems it is related to the modifications in Embedded Designer/Glassdocking.
On my config (Typhon32 Win 8.1 64bit docked windows without Embedded Designer), it crashes.
TControl.InvalidatePreferredSize loop detected _Designer_fraAdressen:TFrameDesignerForm Bounds=l=440,t=197,r=65770,b=61507.
(Same as on the screenshots of Sternas, ok with Embedded, crashing without)
[A problem between Integer and PtrInt somewhere maybe ?]

This error comes from c:\codetyphon\typhon\lcl\include\control.inc, in procedure TControl.InvalidatePreferredSize;
Warning: Spoiler!


To avoid this:
I started Typhon normally and reactivate Embedded Designer.
Then I restarted Typhon to take account of the change, loading the project, now F12 displays correctly the form.

Obviously it is a problem of resizing of the frame.
I set back my IDE for Embedded Designer and restarted it.
Ok with F12, it appears -> Need to be in Embedded Designer
Due to the nature of the "Autosize" of the components on the screen, it depends on which OS you are running.
On some OS it is not always taken properly.
Width = ClientWidth, Height = ClientHeight, Constraints...

It seems the problem is already know since we can find in c:\codetyphon\typhon\ide\ct_emb_formeditor.pas
Warning: Spoiler!


Try to open it on another OS ;)

Please Log in or Create an account to join the conversation.

Error with version 5.30 on one project 9 years 6 months ago #7304

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
The problem is in LCL library
we try to fix-it
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Error with version 5.30 on one project 9 years 4 months ago #7562

  • Kendall Sears
  • Kendall Sears's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
Is there any more info on a fix for this? I have an important project that is stalled due to this.

Pending a fix, where in the LCL is the problem suspected to be? Maybe I can fix it myself to get back on track.

Kendall

Please Log in or Create an account to join the conversation.

Error with version 5.30 on one project 9 years 4 months ago #7563

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
please test this fra_adressen.lfm file
PilotLogic Architect and Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Error with version 5.30 on one project 9 years 4 months ago #7565

  • Kendall Sears
  • Kendall Sears's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
Loaded the included lfm and the first thing it did was complain:

Error: Unable to read the project info file
"/home/krsears/Desktop/fra_adressen.lfm".
In 'stream:' (line 46 pos 20): Whitespace is not allowed here

When I removed the whitespace, I got the following:

Error: The project has no main source file.

Please Log in or Create an account to join the conversation.

Error with version 5.30 on one project 9 years 4 months ago #7776

  • MacWomble
  • MacWomble's Avatar Topic Author
  • Visitor
  • Visitor
Sorry, I was in vacation.

I installed the new Version 5.40 of CT and the problem has gone.
I did not test the file you sent, because the project has grown much since my problem.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2