PR# 19839 Installation and account problems

Problem Report Summary
Submitter: albertobuffetti
Category: EiffelStudio
Priority: Medium
Date: 2022/03/04
Class: Installation
Severity: Critical
Number: 19839
Release: 21.11
Confidential: No
Status: Analyzed
Responsible: jvelilla
Environment: mac
Synopsis: Installation and account problems

Description
Hello, I can’t enter the account (with Username: albertobuffetti and email. albertobuffetti@mac.com) I used to send you my previous report #19837
and can’t examine the report status.

I would like to install your IDE, but I’m not able to proceed any more.

I created a new account with the same previous info in order to submit this again.
Now I can enter the report site but I can't see the previous report.
Thank you very much.


Alberto Buffetti


On 02/26/2022 I received this email from you:

Thank you for registering at eiffel.com.

To complete your registration, please click on this link to activate your account:

https://support.eiffel.com/activation?code=ufzO7cI&email=albertobuffetti%40mac.com

Once there, please enter the following information and then click the Activate Account, button.

Your e-mail: albertobuffetti@mac.com

Your activation code: ufzO7cI

Thank you for joining us.

Eiffel Software.This email is generated automatically, and the address is not monitored for responses. If you need to contact us further, please go through the support site.

-------------------




Il giorno 26 feb 2022, alle ore 10:13, Alberto Buffetti <support.bot@eiffel.com> ha scritto:

[EiffelStudio #19837] No EiffelStudio.app installed in Application/MacPort.:

Submitter: albertobuffetti
Class: Installation
Severity: Critical
Category: EiffelStudio
Release: 21.11
Environment: mac

Description:
I'm using a MacBookPro 16-inch 2019 - macOS Monterey 12.2.1 - Xcode 13.2.1 with Command Line Tools 13.2 - X11 XQuartz 2.8.1 (xorg-server 1.20.11) - MacPorts version 2.7.1
On Terminal window: 
sudo port install pkgconfig
sudo port install bzip2
sudo port install xorg-libXtst
sudo port install gtk3
sudo port install adwaita-icon-theme
I extracted Eiffel_21.11 from Eiffel_21.11_rev_106046-macosx-x86-64.tar.bz2 in /Users/alberto using Finder
and I set in Terminal
export ISE_EIFFEL=/Users/alberto/Eiffel_X.Y
export ISE_PLATFORM=macosx-x86-64
export PATH=$PATH:$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin
No EiffelStudio.app installed in Application/MacPort.
I don't know how to launch EiffelStudio application.

I tried also to copy the Eiffel_21.11 directory in /usr/local using Finder and changing the ISE_ parameter accordingly with same results.


Additional information available at:
https://support.eiffel.com/report_detail/19837

Add a new interaction to problem report at:
https://support.eiffel.com/report_detail/19837/interaction_form
To Reproduce

										
Problem Report Interactions
From:albertobuffetti    Date:2022/04/05    Status: Analyzed    Download   
I tried to Freeze and it seems to work!

In Image1 the Eiffel Compilation Output window after Project>Freeze command.

In Image2 the External Compilation Output with some messages: I don’t know if they are errors/warnings.

Then I tried to run the application with the Run command.
In Image3 you can see the Debugger Output:

In Image4 you can see the Terminal window with output messages from the application:
I tried to run the application two times.

And finally in Image5 you can see the Eiffel mail window with the HEIR class displayed:

Do you see something wrong with these outputs?
Perhaps I can keep on working with the Tutorial..

Many Thanks and regards
Alberto

Attachment: 2022-04-01_Image1 Freeze Outputs Grande.jpeg     Size:337373
From:alexk_es    Date:2022/03/30    Status: Analyzed    Download   
Did you try to Freeze? (Project | Freeze...)

From:albertobuffetti    Date:2022/03/20    Status: Open    Download   
1) I updated XCODE app to the 13.3 version and installed the suggested Command Tools.

I use the MacOS Terminal app with the default configuration, so the default shell is 'zsh'.
Here is the contents of my .zprofile profile file in /Users/alberto, where I added the export
command for every Eiffel environment variable:

# MacPorts Installer addition on 2021-09-05_at_19:26:19: adding an appropriate PATH variable for use with MacPorts.
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
# Finished adapting your PATH environment variable for use with MacPorts.

# --- Adding appropriate variables for use with Eiffel in /Users/alberto/Eiffel_21.11.
export ISE_EIFFEL=/Users/alberto/Eiffel_21.11
export ISE_PLATFORM=macosx-x86-64
export PATH=$PATH:$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin
# --- Finished adapting variables for use with Eiffel in /Users/alberto/Eiffel_21.11.


2) As suggested in Eiffel MacOS Setup and Installation instructions, in the 
Starting EiffelStudio section:

 ---->	'Now every
....
Output truncated, Click download to get the full message

From:jvelilla    Date:2022/03/17    Status: Open    Download   
Hi Alberto

I can see in the image the following issue:  `Dynamic session lookup supported but failed ...`

Can you try to run the following commands?

 sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
 launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist

as suggested here https://trac.macports.org/ticket/53378

>1) I can launch EStudio ONLY from the MacOS Terminal window using 'ec -gui' command and this starts the EStudio window ...

What happens if you run from the terminal window `estudio`?
Did you add the environment variables to your .bash_profile file? 

>2) ...
Check https://www.lifewire.com/add-files-folder-and-apps-to-finder-toolbar-2260869



From:albertobuffetti    Date:2022/03/14    Status: Open    Download   
Hi, I'm sorry to bother you again :(
1) I can launch EStudio ONLY from the MacOS Terminal window using 'ec -gui' command and this starts the EStudio window. Then I press the 'Add Project' button, I browse to 'simple.ecf' file (with the 'compile' option and open it. It is compiled with no errors.
When I try to RUN the project, it appears a warning popup panel saying "You must compile a project first". Now I'm stuck again. Please see the attached screen image.

2) There is no EStudio app in /Applications/MacPorts folder and I can't find any Eiffel .app file in my system, so I can't launch the EStudio application as a normal app. Any idea or solution?

Thank you very much.
Best regards

Alberto Buffetti

    

Attachment: Eiffel screen 2022-03-14.jpeg     Size:1826464
From:jvelilla    Date:2022/03/08    Status: Analyzed    Download   
Hi Alberto
>"ec" can not be opened because the developer can not be verified
>"ecdbgd" can not be opened because the developer can not be verified
>I forced the permission for them.
Yes, at the moment you need to do that, I follow this https://support.apple.com/guide/mac-help/open-a-mac-app-from-an-unidentified-developer-mh40616/mac.

>Question: How can I make the export instructions in the Terminal window, without the need to reintroduce them every time?
Ok, this is simple,  just copy them in the .bash_profile file, I've updated the documentation describing how to do that.
https://www.eiffel.org/doc/eiffelstudio/Mac_OS_X

>Question: Could you suggest a way to launch the EiffelStudio gui window directly from the MacOs Finder, as a 'normal' application?
Check the following tutorial https://www.lifewire.com/add-files-folder-and-apps-to-finder-toolbar-2260869

Hope this help
Javier

From:albertobuffetti    Date:2022/03/07    Status: Analyzed    Download   
Hi, i inserted the following in a Terminal window:
alberto@Rudolph ~ % export ISE_EIFFEL=/Users/alberto/Eiffel_21.11   
alberto@Rudolph ~ % export ISE_PLATFORM=macosx-x86-64
alberto@Rudolph ~ % export PATH=$PATH:$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin
alberto@Rudolph ~ % ec -gui
--- and the system printed:
dbus[33484]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!

I had popup error messages from MacOs:  
"ec" can not be opened because the developer can not be verified
"ecdbgd" can not be opened because the developer can not be verified
I forced the permission for them.

I obtained the Studio main window and a dialog inviting to register the product. I received a mail with new "Trial" EiffelStudio license CUC6EJGSAVCSKVKD.
Then I tried to follow the EiffelStudio Tutorials so I copied the examples\studio\tour in Users\alberto\Eiffel 2022 and to open the simple.ecf file.
I obtained the compilation me
....
Output truncated, Click download to get the full message

Attachment: Eiffel_Screen_2022-03-07.jpeg     Size:2173112
From:albertobuffetti    Date:2022/03/04    Download   

											
											
											
From:jfiat_es    Date:2022/03/04    Status: Analyzed    Download   
Hi Alberto,

1) I can not find your report concerning Macos anymore myself.
I will double check with the support system team.
And the report #19837 is clearly something else, and from another user.

> I can’t enter the account I used to ...
Can you give me more information about that account ?  username, email address ?

Did you change anything on that previous account ?
Try renaming the username, or change the email , or else ?

2) On the original issue related to macosx:

For manual installation on Mac,

export ISE_EIFFEL=/Users/alberto/Eiffel_X.Y
export ISE_PLATFORM=macosx-x86-64
export PATH=$PATH:$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin

I guess "Eiffel_X.Y" is really Eiffel_21.11 .. or the directory name where you extracted the archive.

To launch EiffelStudio from the command line, either use
$ estudio
or
$ ec -gui

on specific Eiffel project:
$ estudio path-to-project.ecf
or
$ ec -config path-to-project.ecf -gui

Let me know if this is not working for you.

Best regar
....
Output truncated, Click download to get the full message