phy icon indicating copy to clipboard operation
phy copied to clipboard

Blank ClusterView and SimilarityView

Open AntonioST opened this issue 2 years ago • 5 comments

Hi,

I got some problem to start with a template-gui on my kilosort result. The ClusterView and SimilarityView didn't show anything. No mater how long I wait, it didn't change the blank content. If I tried to close the window, a timeout dialog pop up.

Screenshot_2022-03-11_19-43-55

Here are the part of packages installed in my conda environment.

# Name                    Version                   Build  Channel
pyqt5                     5.15.5                   pypi_0    pypi
pyqt5-qt                  5.15.2                   pypi_0    pypi
pyqt5-qt5                 5.15.2                   pypi_0    pypi
pyqt5-sip                 12.9.1                   pypi_0    pypi
pyqtwebengine             5.15.5                   pypi_0    pypi
pyqtwebengine-qt          5.15.2                   pypi_0    pypi
pyqtwebengine-qt5         5.15.2                   pypi_0    pypi
pytest-qt                 3.2.2                    pypi_0    pypi
qtconsole                 4.5.5                    pypi_0    pypi
phy                       2.0a1                    pypi_0    pypi
phylib                    2.4.1                    pypi_0    pypi

I guess it is something relate to the QtWebEngine which js wasn't run.

Thanks

AntonioST avatar Mar 11 '22 18:03 AntonioST

I have the same problem. Have you found a solution to this?

AliyaAbl avatar Mar 18 '22 08:03 AliyaAbl

Hi @AliyaAbl

I don't the real reason why qtwebengine is unable to show html content, but this command works on my linux computer env QTWEBENGINE_CHROMIUM_FLAGS="--single-process" phy template-gui .../params.py.

Screenshot_2022-03-18_14-29-46

I just find out this way this morning. I tried a simple QWebEngineView example with conda Qt (pyqtwebengine-qt 5.15.2 from conda pypi chanel), and my OS Qt (python-pyqt5-webengine-5.15.5-4 from archlinux). I have no such issue with my OS Qt.

AntonioST avatar Mar 18 '22 13:03 AntonioST

I have the same problem and this @AntonioST solution works.

abhijithkrishnan93 avatar Mar 21 '22 09:03 abhijithkrishnan93

had the same issue, and solution from @AntonioST works for me too, thanks!

a-zmz avatar May 23 '22 13:05 a-zmz

Hi @AliyaAbl

I don't the real reason why qtwebengine is unable to show html content, but this command works on my linux computer env QTWEBENGINE_CHROMIUM_FLAGS="--single-process" phy template-gui .../params.py.

Screenshot_2022-03-18_14-29-46

I just find out this way this morning. I tried a simple QWebEngineView example with conda Qt (pyqtwebengine-qt 5.15.2 from conda pypi chanel), and my OS Qt (python-pyqt5-webengine-5.15.5-4 from archlinux). I have no such issue with my OS Qt.

@rossant could you add this to the Troubleshoot section?

alejoe91 avatar Sep 04 '22 08:09 alejoe91

Worked for me as well thank you !

KBillel avatar Oct 24 '22 14:10 KBillel