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

Error launching Gui - External user #92

Open
afonanar opened this issue Apr 25, 2023 · 11 comments
Open

Error launching Gui - External user #92

afonanar opened this issue Apr 25, 2023 · 11 comments

Comments

@afonanar
Copy link

Hello,
we were trying to install and launch as an external user.
The installation following the instructions seems to have worked well but we got the following error when trying to launch the gui with the command: python int-brain-lab\iblapps\atlaselectrophysiology\ephys_atlas_gui.py -o True
in attachment the snip of the error
ErrorIBL

Do you have any suggestion for a solution?
Thank you very much,
Rita

@mayofaulkner
Copy link
Contributor

Hello, could you let me know what ONE version you are using? You can find out by activating the iblenv environment and writing pip list

@pbouss
Copy link

pbouss commented Jun 2, 2023

Hello @mayofaulkner,
we were running into the same problem.
We are using using one-api==2.0.0.
Do you have any suggestions in the mean time?

@mayofaulkner
Copy link
Contributor

Hi,
Could you please try removing the .one folder and then launch the gui again. You will find it at the following location

from pathlib import Path
print(Path.home())

Let me know if that helps. Thanks

@LarsSchutzeichel
Copy link

Hello,
I also ran into the same problems regarding the IBLParams DEFAULT error message. I have deleted the .one file and am now running into this error message.
IBL_screenshot

I also tried setting the QT_QPA_PLATFORM variable to offscreen, but then the terminal hangs.
Any suggestions would be appreciated.

@mayofaulkner
Copy link
Contributor

Hello, could try launching it using ipython rather than python. Let me know if that helps

@LarsSchutzeichel
Copy link

Hello, thank you for answering.
Launching it with ipython it does not recognize the -o and asks me for my credentials.
Is there a way to fix this?

@mayofaulkner
Copy link
Contributor

mayofaulkner commented Jun 13, 2023

Hi, using ipython you will have to launch it slightly differently like so,

ipython iblapps/atlaselectrophysiology/ephys_atlas_gui.py -- --o True

@runbogao
Copy link

Hi @mayofaulkner, We encountered the same error. I tried with ipython. It gave me the same error with more detailed information. Here is the screenshot.
image

@mayofaulkner
Copy link
Contributor

Hi,

Did you first try deleting the .one folder? #92 (comment)

@LarsSchutzeichel
Copy link

LarsSchutzeichel commented Jun 20, 2023

Hello all,

what I found is that I get an error not setting the QT_QPA_PLATFORM variable.
And setting it to offscreen and then doing the ipython command creates a new .one folder in the home directory and the GUI does not launch.

However doing

conda activate iblenv
export QT_QPA_PLATFORM=wayland
ipython iblapps/atlaselectrophysiology/ephys_atlas_gui.py -- --o True

now launches the GUI for me. This even works if the .one folder is not deleted.

@runbogao
Copy link

Hi @mayofaulkner, the GUI opened after I removed the .one folder. Thank you very much!

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

5 participants