Description
Hello , I am using the phy2 and since last week the application stopped working showing the error bellow.
I've already deleted the enviroment and also its associated folders and reinstalled the enviroment a couple of times, folowing strictly the steps and also reinstall with the enviroment.yml file but noting works.
Many thanks, in advance for any help you could provide:
Error:
Info: I was working in the very same session before and then I closed the application, and when I tried to open again it did not work for any of the sessions.
(phy2) E:\CHEESEBOARDMAZE\Rat188\Task\Rat188-09032024\kilosort4>phy template-gui params.py --debug
11:22:25.792 [D] init:68 Start capturing exceptions.
11:22:26.831 [E] init:62 An error has occurred (ValueError): The spike times must be increasing.
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\izabela.lima.conda\envs\phy2\Scripts\phy.exe_main.py", line 7, in
sys.exit(phycli())
^^^^^^^^
File "C:\Users\izabela.lima.conda\envs\phy2\Lib\site-packages\click\core.py", line 1161, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\izabela.lima.conda\envs\phy2\Lib\site-packages\click\core.py", line 1082, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\izabela.lima.conda\envs\phy2\Lib\site-packages\click\core.py", line 1697, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\izabela.lima.conda\envs\phy2\Lib\site-packages\click\core.py", line 1443, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\izabela.lima.conda\envs\phy2\Lib\site-packages\click\core.py", line 788, in invoke
return _callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\izabela.lima.conda\envs\phy2\Lib\site-packages\click\decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\izabela.lima.conda\envs\phy2\Lib\site-packages\phy\apps_init.py", line 159, in cli_template_gui
template_gui(params_path, **kwargs)
File "C:\Users\izabela.lima.conda\envs\phy2\Lib\site-packages\phy\apps\template\gui.py", line 209, in template_gui
model = load_model(params_path)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\izabela.lima\AppData\Roaming\Python\Python311\site-packages\phylib\io\model.py", line 1440, in load_model
return TemplateModel(**get_template_params(params_path))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\izabela.lima\AppData\Roaming\Python\Python311\site-packages\phylib\io\model.py", line 339, in init
self._load_data()
File "C:\Users\izabela.lima\AppData\Roaming\Python\Python311\site-packages\phylib\io\model.py", line 353, in _load_data
raise ValueError("The spike times must be increasing.")
ValueError: The spike times must be increasing.
QWidget: Must construct a QApplication before a QWidget