Git Product home page Git Product logo

stream_viewer's Issues

lsl_viewer main not working

Hello, any idea how to fix the below issue?

Traceback (most recent call last):
File "C:\Users\xxxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\stream_viewer\data\stream_info.py", line 99, in refresh
self._data = self._data.append(new_df.drop(columns=['_merge']), ignore_index=True)
File "C:\Users\xxxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pandas\core\generic.py", line 5989, in getattr
return object.getattribute(self, name)
AttributeError: 'DataFrame' object has no attribute 'append'

I get the above error whenever I run
python3 -m stream_viewer.applications.main in cmd. I'm new to python and I'm not sure what this means. Any help is appreciated. I do have all the packages installed.

only lsl_viewer not working (IndexError: list index out of range)

only lsl_viewer isnt working other application works fine, it flashes somthing on the scressn and then closes. it worked the first time i tried , i could see but idk why it isnt working the next time I tried to run the error is

traceback (most recent call last):
File "C:\Users\jetslab\AppData\Local\Programs\Python\Python310\Lib\site-packages\stream_viewer\applications\main.py", line 370, in
main()
File "C:\Users\jetslab\AppData\Local\Programs\Python\Python310\Lib\site-packages\stream_viewer\applications\main.py", line 358, in main
window = LSLViewer(**args.dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\jetslab\AppData\Local\Programs\Python\Python310\Lib\site-packages\stream_viewer\applications\main.py", line 87, in init
self.restoreOnStartup()
File "C:\Users\jetslab\AppData\Local\Programs\Python\Python310\Lib\site-packages\stream_viewer\applications\main.py", line 166, in restoreOnStartup
self.on_stream_activated(data_sources, renderer_name=rend_name, renderer_kwargs=rend_kwargs)
File "C:\Users\jetslab\AppData\Local\Programs\Python\Python310\Lib\site-packages\stream_viewer\applications\main.py", line 276, in on_stream_activated
src_id = json.loads(sources[0].identifier)
~~~~~~~^^^
IndexError: list index out of range

lsl_linevis not working

Hi,

I want to visualize lsl data in realtime.
I tried to install this app several ways, but I can not make it work. As far as I see, the pip version is not working:
pip install stream-viewer tested on windows 11

ERROR: Could not find a version that satisfies the requirement stream-viewer (from versions: none) ERROR: No matching distribution found for stream-viewer

Then I tried to install it on WSLg but the same error is coming up, regardless I used the pip install git+https://github.com/intheon/stream_viewer.git install or installed the environment form the .yml file and then just the package.

lsl_viewer
gives
Traceback (most recent call last): File "/home/csabi/miniconda3/envs/streamviewer/bin/lsl_viewer", line 5, in <module> from stream_viewer.applications.main import main File "/home/csabi/miniconda3/envs/streamviewer/lib/python3.11/site-packages/stream_viewer/applications/main.py", line 8, in <module> from qtpy import QtWidgets, QtCore File "/home/csabi/miniconda3/envs/streamviewer/lib/python3.11/site-packages/qtpy/QtWidgets.py", line 36, in <module> from PyQt5.QtWidgets import * ImportError: libGL.so.1: cannot open shared object file: No such file or directory

and

python -m stream_viewer.applications.lsl_linevis
gives
Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/home/csabi/miniconda3/envs/streamviewer/lib/python3.11/site-packages/stream_viewer/applications/lsl_linevis.py", line 4, in <module> from qtpy import QtWidgets File "/home/csabi/miniconda3/envs/streamviewer/lib/python3.11/site-packages/qtpy/QtWidgets.py", line 36, in <module> from PyQt5.QtWidgets import * ImportError: libGL.so.1: cannot open shared object file: No such file or directory

This is the output of conda list:
packages in environment at /home/csabi/miniconda3/envs/streamviewer:
Name Version Build Channel
_libgcc_mutex 0.1 conda_forge conda-forge
_openmp_mutex 4.5 2_gnu conda-forge
alsa-lib 1.2.10 hd590300_0 conda-forge
attr 2.5.1 h166bdaf_1 conda-forge
bzip2 1.0.8 hd590300_5 conda-forge
ca-certificates 2024.2.2 hbcca054_0 conda-forge
cairo 1.18.0 h3faef2a_0 conda-forge
contourpy 1.2.0 pypi_0 pypi
cycler 0.12.1 pypi_0 pypi
dbus 1.13.6 h5008d03_3 conda-forge
expat 2.5.0 hcb278e6_1 conda-forge
font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge
font-ttf-inconsolata 3.000 h77eed37_0 conda-forge
font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge
font-ttf-ubuntu 0.83 h77eed37_1 conda-forge
fontconfig 2.14.2 h14ed4e7_0 conda-forge
fonts-conda-ecosystem 1 0 conda-forge
fonts-conda-forge 1 0 conda-forge
fonttools 4.48.1 pypi_0 pypi
freetype 2.12.1 h267a509_2 conda-forge
freetype-py 2.4.0 pyhd8ed1ab_0 conda-forge
gettext 0.21.1 h27087fc_0 conda-forge
glib 2.78.3 hfc55251_0 conda-forge
glib-tools 2.78.3 hfc55251_0 conda-forge
graphite2 1.3.13 h58526e2_1001 conda-forge
gst-plugins-base 1.22.9 h8e1006c_0 conda-forge
gstreamer 1.22.9 h98fc4e7_0 conda-forge
harfbuzz 8.3.0 h3d44ed6_0 conda-forge
hsluv 5.0.4 pyhd8ed1ab_0 conda-forge
icu 73.2 h59595ed_0 conda-forge
keyutils 1.6.1 h166bdaf_0 conda-forge
kiwisolver 1.4.5 py311h9547e67_1 conda-forge
krb5 1.21.2 h659d440_0 conda-forge
lame 3.100 h166bdaf_1003 conda-forge
ld_impl_linux-64 2.40 h41732ed_0 conda-forge
libblas 3.9.0 21_linux64_openblas conda-forge
libcap 2.69 h0f662aa_0 conda-forge
libcblas 3.9.0 21_linux64_openblas conda-forge
libclang 15.0.7 default_hb11cfb5_4 conda-forge
libclang13 15.0.7 default_ha2b6cf4_4 conda-forge
libcups 2.3.3 h4637d8d_4 conda-forge
libedit 3.1.20191231 he28a2e2_2 conda-forge
libevent 2.1.12 hf998b51_1 conda-forge
libexpat 2.5.0 hcb278e6_1 conda-forge
libffi 3.4.2 h7f98852_5 conda-forge
libflac 1.4.3 h59595ed_0 conda-forge
libgcc-ng 13.2.0 h807b86a_5 conda-forge
libgcrypt 1.10.3 hd590300_0 conda-forge
libgfortran-ng 13.2.0 h69a702a_5 conda-forge
libgfortran5 13.2.0 ha4646dd_5 conda-forge
libglib 2.78.3 h783c2da_0 conda-forge
libgomp 13.2.0 h807b86a_5 conda-forge
libgpg-error 1.47 h71f35ed_0 conda-forge
libiconv 1.17 hd590300_2 conda-forge
libjpeg-turbo 3.0.0 hd590300_1 conda-forge
liblapack 3.9.0 21_linux64_openblas conda-forge
libllvm15 15.0.7 hb3ce162_4 conda-forge
liblsl 1.16.2 hb21b987_1 conda-forge
libnsl 2.0.1 hd590300_0 conda-forge
libogg 1.3.4 h7f98852_1 conda-forge
libopenblas 0.3.26 pthreads_h413a1c8_0 conda-forge
libopus 1.3.1 h7f98852_1 conda-forge
libpng 1.6.42 h2797004_0 conda-forge
libpq 16.1 h33b98f1_7 conda-forge
libsndfile 1.2.2 hc60ed4a_1 conda-forge
libsqlite 3.44.2 h2797004_0 conda-forge
libstdcxx-ng 13.2.0 h7e041cc_5 conda-forge
libsystemd0 255 h3516f8a_0 conda-forge
libuuid 2.38.1 h0b41bf4_0 conda-forge
libvorbis 1.3.7 h9c3ff4c_0 conda-forge
libxcb 1.15 h0b41bf4_0 conda-forge
libxcrypt 4.4.36 hd590300_1 conda-forge
libxkbcommon 1.6.0 hd429924_1 conda-forge
libxml2 2.12.5 h232c23b_0 conda-forge
libxslt 1.1.39 h76b75d6_0 conda-forge
libzlib 1.2.13 hd590300_5 conda-forge
lz4-c 1.9.4 hcb278e6_0 conda-forge
matplotlib 3.8.2 pypi_0 pypi
mpg123 1.32.4 h59595ed_0 conda-forge
mysql-common 8.0.33 hf1915f5_6 conda-forge
mysql-libs 8.0.33 hca2cd23_6 conda-forge
ncurses 6.4 h59595ed_2 conda-forge
nspr 4.35 h27087fc_0 conda-forge
nss 3.97 h1d7d5a4_0 conda-forge
numpy 1.26.4 py311h64a7726_0 conda-forge
openssl 3.2.1 hd590300_0 conda-forge
packaging 23.2 pyhd8ed1ab_0 conda-forge
pandas 1.5.3 py311h2872171_1 conda-forge
pcre2 10.42 hcad00b1_0 conda-forge
pillow 10.2.0 pypi_0 pypi
pip 24.0 pyhd8ed1ab_0 conda-forge
pixman 0.43.2 h59595ed_0 conda-forge
pthread-stubs 0.4 h36c2ea0_1001 conda-forge
pugixml 1.13 h59595ed_1 conda-forge
pulseaudio-client 16.1 hb77b528_5 conda-forge
pylsl 1.16.2 pypi_0 pypi
pyopengl 3.1.6 pyhd8ed1ab_1 conda-forge
pyparsing 3.1.1 pypi_0 pypi
pyqt5 5.15.10 pypi_0 pypi
pyqt5-qt5 5.15.2 pypi_0 pypi
pyqt5-sip 12.13.0 pypi_0 pypi
pyqtgraph 0.13.3 pyhd8ed1ab_0 conda-forge
pyside2 5.15.8 py311h1cd374f_4 conda-forge
python 3.11.7 hab00c5b_1_cpython conda-forge
python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge
python_abi 3.11 4_cp311 conda-forge
pytz 2024.1 pyhd8ed1ab_0 conda-forge
qt-main 5.15.8 h450f30e_18 conda-forge
qtpy 2.4.1 pyhd8ed1ab_0 conda-forge
readline 8.2 h8228510_1 conda-forge
scipy 1.12.0 pypi_0 pypi
setuptools 69.0.3 pyhd8ed1ab_0 conda-forge
six 1.16.0 pyh6c4a22f_0 conda-forge
stream-viewer 0.27 pypi_0 pypi
tk 8.6.13 noxft_h4845f30_101 conda-forge
tzdata 2024a h0c530f3_0 conda-forge
visbrain 0.4.5 pypi_0 pypi
vispy 0.14.1 py311h40e7361_0 conda-forge
wheel 0.42.0 pyhd8ed1ab_0 conda-forge
xcb-util 0.4.0 hd590300_1 conda-forge
xcb-util-image 0.4.0 h8ee46fc_1 conda-forge
xcb-util-keysyms 0.4.0 h8ee46fc_1 conda-forge
xcb-util-renderutil 0.3.9 hd590300_1 conda-forge
xcb-util-wm 0.4.1 h8ee46fc_1 conda-forge
xkeyboard-config 2.41 hd590300_0 conda-forge
xorg-kbproto 1.0.7 h7f98852_1002 conda-forge
xorg-libice 1.1.1 hd590300_0 conda-forge
xorg-libsm 1.2.4 h7391055_0 conda-forge
xorg-libx11 1.8.7 h8ee46fc_0 conda-forge
xorg-libxau 1.0.11 hd590300_0 conda-forge
xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge
xorg-libxext 1.3.4 h0b41bf4_2 conda-forge
xorg-libxrender 0.9.11 hd590300_0 conda-forge
xorg-renderproto 0.11.1 h7f98852_1002 conda-forge
xorg-xextproto 7.3.0 h0b41bf4_1003 conda-forge
xorg-xf86vidmodeproto 2.3.1 h7f98852_1002 conda-forge
xorg-xproto 7.0.31 h7f98852_1007 conda-forge
xz 5.2.6 h166bdaf_0 conda-forge
zlib 1.2.13 hd590300_5 conda-forge
zstd 1.5.5 hfc55251_0 conda-forge

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.