EEG-ExPy icon indicating copy to clipboard operation
EEG-ExPy copied to clipboard

InvalidArgumentsError: Unexpected argument of type <class 'type'>

Open shishankjain opened this issue 2 years ago • 6 comments

ℹ Computer information

  • Platform OS : Linux (Ubuntu 20.04)
  • Python Version:3.7.13
  • Brain Interface Used : OpenBCI

📝 Provide detailed reproduction steps (if any)

  1. …Just installed the eeg notebooks following the first steps mentioned in the installation guide.
  2. After executing the test code in the installation guide in the jupyter notebook. Error Present in the screenshot came up. It is also coming up while checking signal.

✔️ Expected result

Library should work properly and start checking signal strength for OpenBCI What is the expected result of the above steps?

❌ Actual result

InvalidArgumentsError: Unexpected argument of type <class 'type'> What is the actual result of the above steps?

📷 Screenshots

image 1

shishankjain avatar Apr 09 '22 16:04 shishankjain

Hi Shishankjan.

Thanks for sharing this.

It's hard to tell from your screenshots what exactly you did ( eg what did you type on the cli) that raised this error. Can you please clarify that ?

JohnGriffiths avatar Apr 09 '22 16:04 JohnGriffiths

For checking signal: eegnb checksiqual -ed cyton @JohnGriffiths

shishankjain avatar Apr 09 '22 16:04 shishankjain

After running the test code on the jupyter notebook, I am getting the same issue.

I am facing issue on this line: from eegnb.devices.eeg import EEG

It is not able to import EEG or something.

shishankjain avatar Apr 09 '22 16:04 shishankjain

Ok. Looks like everything is correct on the eeg-notebooks side but there is an issue with your brainflow installation.

Can you try:

pip uninstall brainflow

pip install -U brainflow

ipython

from brainflow import BoardShim

Does this throw the same error ?

JohnGriffiths avatar Apr 09 '22 16:04 JohnGriffiths

Yes it is also throwing the same error. image @JohnGriffiths

shishankjain avatar Apr 09 '22 16:04 shishankjain

@shishankjain It it hard to figure out the cause of this without the full logs. Please paste them in full instead of screenshots.

ErikBjare avatar Apr 11 '22 10:04 ErikBjare