phy icon indicating copy to clipboard operation
phy copied to clipboard

the gui doesn't launch

Open Pascale42 opened this issue 4 years ago • 7 comments

Hello,

I have some trouble with opening the params.py files: the template gui does not launch (for old and new files) I reinstalled python 3.7 using Anaconda 2019.10 for my windows 64-bit system, and installed a fresh phy2 env. Unfortunately, the command "phy template-gui params.py --debug" doesn't display a thing. Any idea on what is wrong?

Best !

Pascale42 avatar Feb 25 '20 11:02 Pascale42

Any error message in the terminal?

rossant avatar Feb 26 '20 09:02 rossant

nope, just... nothing

Pascale42 avatar Mar 04 '20 09:03 Pascale42

could you post a screenshot of your screen after you launched "phy template-gui params.py --debug" ?

rossant avatar Mar 04 '20 09:03 rossant

Here it is: image

Pascale42 avatar Mar 04 '20 11:03 Pascale42

I've tried to run it with a couple of different files that were generated (and analyzed) a year ago This is the same outcome for each of them, even for recent files where Kilosort was run few days ago

Pascale42 avatar Mar 04 '20 11:03 Pascale42

OK, can you try this? By running the GUI from a Python script instead of the terminal you might see error messages

rossant avatar Mar 04 '20 12:03 rossant

Hello everyone, I'm having the same issue and I tried the instructions on the link. But the issue persists -- I believe it fails at this import:

from phy.apps.template import template_gui

Looking at the output of print(dir(phy)) apps doesn't seem to be accessible :

['Bunch', 'IPlugin', 'StringIO', '__author__', '__builtins__', '__cached__', '__doc__', '__email__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '__version__', '__version_git__', '_git_version', 'atexit', 'connect', 'discover_plugins', 'emit', 'get_plugin', 'load_master_config', 'logger', 'logging', 'on_exit', 'op', 'sys', 'test', 'unconnect', 'utils']

Thank you so much in advance!

phanhuynh avatar Feb 22 '22 12:02 phanhuynh