Codelite freezes when trying to open remote workspace

CodeLite installation/troubleshooting forum
josepva
CodeLite Curious
Posts: 1
Joined: Fri Nov 05, 2021 4:42 pm
Genuine User: Yes
IDE Question: C==
Contact:

Codelite freezes when trying to open remote workspace

Post by josepva »

Hello,

I am trying to open a remote workspace but codelite freezes with message "Please wait, connecting...". Here is my setup:

Local machine:
Ubuntu 20.04 with graphical interface
Codelite 15.0.6 installed on this machine
Remoty and SFTP plugins were installed

Remote machine:
Oracle Linux 8.40 no graphical interface installed
Codelite is not installed on this machine

Can explore remote files.png

As can be seen i can explore the remote workspace using SFTP.

Can browse local workspace.png

Also exploring the local workspace is no issue

Freezes when I click browse.png

But when I click the browse button on the remote workspace codelite freezes with the described message. What am I doing wrong?

Thanks in advance,

José Paulo

You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite freezes when trying to open remote workspace

Post by eranif »

  • Which version of CodeLite?
  • OS?
  • Have you tried entering the path without the file name and click the Browse button?
Make sure you have read the HOW TO POST thread
josepva
CodeLite Curious
Posts: 1
Joined: Fri Nov 05, 2021 4:42 pm
Genuine User: Yes
IDE Question: C==
Contact:

Re: Codelite freezes when trying to open remote workspace

Post by josepva »

Hello,

My local machine is Ubuntu 20.04 with codelite 15.0.6 installed. The remote machine is a Oracle Linux 8.4.

There are some different behaviors depending on what action is done after selecting the "Open Workspace..." menu.

  1. In the "Switch to workspace..." dialog if I write anything in the "Remote workspace" field, codelite crashes instantaneously;

  2. After clicking the "Browse" button beside the "Remote workspace" field a "Choose a file" dialog is opened.
    a. If I click the "Browse" button codelite freezes.
    b. If write the correct path for the remote workspace file in the "Path" field and then click ok. The "Switch to workspace..." dialog came back on top with the field "Remote workspace" field with the correct path and does matter what I write or do on the "Local workspace" field. Clicking ok allways gives me "Failed to load wokspace" error.

I don't know what am I doing wrong. I don't know if something is missing on my remote machine. I read on the forum that on the remote machine should be running a python script called "codelite-remote". Is it true. How can I run this on my remote machine?

Best regards,

José Paulo

Last edited by josepva on Mon Nov 08, 2021 9:56 pm, edited 1 time in total.
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite freezes when trying to open remote workspace

Post by eranif »

The codelite-remote is once the workspace is opened, it is not required for opening the workspace.
Make sure you have sshd daemon installed and that you are able to login with SSH keys
Other than that, it should just work

The crash when typing in the remote workspace path field, is fixed (in git master)

Make sure you have read the HOW TO POST thread
Post Reply