Welcome, Guest
Username: Password: Remember me
CodeTyphon MacOS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Not possible to launch Typhon IDE after adding package 4 years 4 months ago #14851

  • Premysl Beran
  • Premysl Beran's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 52
  • Thank you received: 0
Dear Typhon team,

Recently I upgrade to OSX Catalina. I updated all Xcode and MacPorts. I updated and recompiled CT7.1. All went very well. No errors occurred and Typhon IDE was opened and working well. I was able to create a simple test application with some buttons etc.

But as I recompiled whole CT I missed some of the packages, so I went to list of installed and non-installed packages and I add two of them. I re-build the IDE, all went without error. But now I'm not able to launch the executable. Only splash-screen appears and then nothing. When I lunched it from the terminal, I've got the following output.

Thanks for any suggestions or help.

With best regards

Premek

$bin64 % ./typhonstart
is a file
TTyphonManager.Run starting /usr/local/codetyphon/typhon/bin64/typhon.app/Contents/MacOS/typhon ...

when I run only typhon.app then

$bin64 % open typhon.app
LSOpenURLsWithRole() failed with error -10810 for the file /usr/local/codetyphon/typhon/bin64/typhon.app.

or directly the executables
$bin64 % ./typhon
[FORMS.PP] ExceptionOccurred
Sender=EResNotFound
Exception=Resource "windows7_button" not found
Stack trace:
$000000010B48D090
$000000010B48D2ED
$000000010C4BEAE5
$000000010C4BF426
$000000010C4C038A
$000000010C4C0B32
TApplication.HandleException: EResNotFound
Resource "windows7_button" not found
Stack trace:
$000000010B48D090
$000000010B48D2ED
$000000010C4BEAE5
$000000010C4BF426
$000000010C4C038A
$000000010C4C0B32
Exception at 000000010B48D090: EResNotFound:
Resource "windows7_button" not found.

$bin64 % ./typhonstart
is a file
TTyphonManager.Run starting /usr/local/codetyphon/typhon/bin64/typhon.app/Contents/MacOS/typhon ...
[FORMS.PP] ExceptionOccurred
Sender=EResNotFound
Exception=Resource "windows7_button" not found
Stack trace:
$000000010ACD6090
$000000010ACD62ED
$000000010BD07AE5
$000000010BD08426
$000000010BD0938A
$000000010BD09B32
TApplication.HandleException: EResNotFound
Resource "windows7_button" not found
Stack trace:
$000000010ACD6090
$000000010ACD62ED
$000000010BD07AE5
$000000010BD08426
$000000010BD0938A
$000000010BD09B32
Exception at 000000010ACD6090: EResNotFound:
Resource "windows7_button" not found.

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

Not possible to launch Typhon IDE after adding package 4 years 4 months ago #14853

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
Which 2 packages do you add to Typhon IDE ?

Just open CTCenter and click
Typhon-IDE => "Remove and Build Big-IDE" the last one
PilotLogic Core Programmer

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

Not possible to launch Typhon IDE after adding package 4 years 4 months ago #14854

  • Premysl Beran
  • Premysl Beran's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 52
  • Thank you received: 0
I added TChart and DMath, which are not there from the beginning. But I think that in some of my projects I also use Synapse and some of the components from the LuiControl package (oneInstance).

And yes, I did remove all and then built compiler and big-IDE. In the as-build one IDE I was able to create an easy application and compile and run it. All worked fine. When I added the packages to the IDE and re-compile the IDE, it didn't started afterwards even the re-compiletion went without any error.

Premek

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

Not possible to launch Typhon IDE after adding package 4 years 4 months ago #14855

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
Some CT pkgs don't support MacOs.
pl_DMath is a simple Library don't have register components, so not need to install to IDE,
just add it to your project to work.
PilotLogic Core Programmer

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

Not possible to launch Typhon IDE after adding package 4 years 4 months ago #14857

  • Premysl Beran
  • Premysl Beran's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 52
  • Thank you received: 0
OK for the DMath. But TChart has registered components and I used it already in the previous OSX without any troubles. So it should be fine with OSX. Without this component, I'm lost.

I started cleaned big-IDE. I didn't add nothing and tried to re-compile "Normal IDE" and the after re-compilation still not able to launch the IDE. So something is wrong. :-(

Is there something what should I test to help find the trouble?

Premek

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

Not possible to launch Typhon IDE after adding package 4 years 4 months ago #14858

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
Give me 15 minutes to rebuild (Daily) LAB CT to MacOS for tests...
PilotLogic Core Programmer

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

Last edit: by Matis A..

Not possible to launch Typhon IDE after adding package 4 years 4 months ago #14859

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
On MacOS you can build Typhon IDE for Cocoa and for GTK2 platforms
1) Cocoa as IDE platform has some problems, one of them is the maximum number of pkgs you can installed to Typhon IDE.
2) GTK2 as IDE platform don't has this problem.

So, you can try GTK2 Typhon-IDE and build app for Cocoa platform.
for sample we add to GTK2 Typhon-IDE lz_taChart pkg, rebuild the IDE and run a test from CodeOcean samples
for Cocoa platform.





Yes it's GTK2 Typhon-IDE => build Cocoa platform application on MacOS 10.15.5

PilotLogic Core Programmer
Attachments:

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

Last edit: by Matis A..

Not possible to launch Typhon IDE after adding package 4 years 4 months ago #14860

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
It's a good practice to "backup" a "good" Typhon IDE before Rebuild IDE
On MacOs just zip typhon executable and
unzip the good old IDE, if something go wrong with the new IDE

PilotLogic Core Programmer
Attachments:

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

Last edit: by Matis A..

Not possible to launch Typhon IDE after adding package 4 years 4 months ago #14861

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
We build Typhon-IDE for Cocoa platform on MacOS 10.15.5 (4-Cores / 8 Gbyte RAM / 120 Gbyte SSD)
we add lz_taChart pkg to IDE,
we rebuild the IDE and
run the same test above from CodeOcean samples
for Cocoa platform without problem





...
PilotLogic Core Programmer
Attachments:

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

Last edit: by Matis A..

Not possible to launch Typhon IDE after adding package 4 years 4 months ago #14864

  • Premysl Beran
  • Premysl Beran's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 52
  • Thank you received: 0
Hello Matis,

Thanks for all the test and suggestions. After installation of big-IDE (cocoa), I removed some of the packages and added only TChart and it works! Then I tried one by one to add some others and I realised that the trouble is caused by the package Synapse. When I add this one the IDE will not launch after the re-compilation.

But as you suggested, there are no registered components so probably it will be possible to use it just by adding to the project. I use Synapse for downloading updates and checking for new versions. I hope that it will work.

To use GTK2 for IDE is probably also an option. I used it before the cocoa was not usable.

Thanks again for your very nice job.

Premek

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

Last edit: by Premysl Beran.

Not possible to launch Typhon IDE after adding package 4 years 4 months ago #14865

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
Have fun Sir
PilotLogic Core Programmer

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

Not possible to launch Typhon IDE after adding package 4 years 4 months ago #14868

  • Premysl Beran
  • Premysl Beran's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 52
  • Thank you received: 0
Hello Matis,

Some more info. It seems that Synapse causes the whole problem. I was able to open my project. I see all the forms and when I compile no errors, but the executable not able to launch. The error is the same as for recompiled IDE. But now I got also the system info of the app crash (see below). I believe that libcrypto is used by Synapse.

Do anybody has suggestion what to use instead of Synapse for downloading files from net. It is a great package.

With best regards

Premek

Application Specific Information:
/usr/lib/libcrypto.dylib
abort() called
Invalid dylib load. Clients should not load the unversioned libcrypto dylib as it does not have a stable ABI.

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff681fb33a __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff682b7e60 pthread_kill + 430
2 libsystem_c.dylib 0x00007fff68182808 abort + 120
3 libcrypto.dylib 0x00007fff65cad7e4 __report_load + 415

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

Not possible to launch Typhon IDE after adding package 4 years 4 months ago #14869

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
FPC
TfpHTTPClient component in fphttpclient.pp (used and from CTCenter)

or
pl_LNet pkg
PilotLogic Core Programmer

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

Last edit: by Matis A..
  • Page:
  • 1