Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem installing desktop client on macOS/Ubuntu #12

Open
jvillasr opened this issue Nov 10, 2021 · 3 comments
Open

Problem installing desktop client on macOS/Ubuntu #12

jvillasr opened this issue Nov 10, 2021 · 3 comments

Comments

@jvillasr
Copy link

I haven't been able to install Phoebe desktop client on a mac. I was able to install it on Ubuntu but I can't connect to a server, and I have the same problem with the web client.

Let me start with the mac issue. I'm running macOS Catalina v10.15.7 on a 64-bit machine. I've downloaded phoebe-darwin-x64.tar.gz from phoebe2-ui 1.0.1. My problem seems to be similar to issue#5, I get the following error:


Crashed Thread: 8 Chrome_IOThread

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [63553]

full log: log.txt

The python package is working for me, but I need the desktop client to help students that are just starting with Phoebe. The web client could help me in the mean time but the auto connect feature keeps trying to connect to server.

On my linux machine I'm running ubuntu 20.04, so I downloaded and ran phoebe_1.0.1_amd64.deb. The installation was successful, but when I open Phoebe, I click on "install PHOEBE server locally" which then changes to "launch PHOEBE server locally", which doesn't do anything when I click on it. If I try to do phoebe-server --port 5555, the command phoebe-server is not found. Apologies if I'm missing some obvious steps.

@kecnry
Copy link
Member

kecnry commented Nov 10, 2021

The UI issue might take some debugging and attempts to reproduce, but for now I wanted to reply to hopefully get you up and running with the web UI in the meantime.

The public server must have crashed and I didn't realize it, I just restarted it, so you should be able to access that now.

If you'd like to use your own local server (to not be dependent on internet, another crash, or the limited/throttled capabilities of the public server), then you need the python package (not the deb file which is just the UI) installed locally. At that point you can run phoebe-server --port 5555 and then connect to your local server in the web UI by clicking on the "server.phoebe-project.org" in the lower left corner if it automatically connected, clicking the "+" button, and entering "localhost:5555". If you already had the python package installed on the machine that was giving you the phoebe-server not found error, let me know and we can try to fix that as well.

@jvillasr
Copy link
Author

Hi Kyle, thanks for your reply. I can confirm that the web UI is now working with both the public and the local server. I think this will be enough for me at the moment, many thanks.

The python package was not installed on my linux machine where I was getting the 'phoebe-server not found' error, but aren't the desktop UI and the python package independent from each other?

@kecnry
Copy link
Member

kecnry commented Nov 11, 2021

That's good to hear!

Yes, they are separate, but the server itself is with the python package (as that is where phoebe itself is running and the server allows that to communicate with the UI). The UI then communicates with a server (whether local, on your own server, or the public one we provide) which is running phoebe. If you have any suggestions for clarifying this in the docs/website, please do let me know and I'd be happy to update those!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants