Assertion Errors

57 views
Skip to first unread message

Ramesh Kumar

unread,
Nov 29, 2011, 11:02:01 AM11/29/11
to ope...@googlegroups.com
Hello Developers,

I had purchased the emotiv epoc neuro consumer headset and try to interface it with the emokit python project in Windows XP but ended up in the following Assertion errors:

Traceback (most recent call last):
  File "C:\Python26\Emokit.py", line 2, in <module>
    headset = emotiv.Emotiv()
  File "C:\Python26\emotiv.py", line 72, in __init__
    if self.setupWin(headsetId) if windows else self.setupPosix(headsetId):
  File "C:\Python26\emotiv.py", line 81, in setupWin
    assert len(devices) > headsetId
AssertionError

Right now I am trying to figure this out but it will be really appreciable if anybody could help me solve the errors.

Thanks in Advance
Ramesh

jrs

unread,
Nov 29, 2011, 10:12:29 PM11/29/11
to openyou

The headset id's have changed - read through issues at the emokit
github

https://github.com/qdot/emokit/issues/

Saxaholic

unread,
Mar 15, 2012, 9:20:03 PM3/15/12
to ope...@googlegroups.com
I'm having the same problem and my headset ID is correct...

Kyle Machulis

unread,
Mar 15, 2012, 9:35:10 PM3/15/12
to ope...@googlegroups.com
We cracked the headset keys last month (Check the repo), keys aren't a
problem anymore. That said, I haven't tested anything on windows (I
develop on linux but do keep an xp vm around for this stuff) in a
while, so it could just be that the windows code is completely hosed.
I'll try to check it out soon and see if I can fix it.

Eric Berman

unread,
Mar 15, 2012, 9:56:16 PM3/15/12
to ope...@googlegroups.com
I didn't know that, but I cracked my key a while ago anyway. I'm using Windows 7 and getting the exact same error as Ramesh. 


Frankly I prefer using Linux for programming, but for what I'm doing, I need to use Windows.
--
Per aspera ad astra - "Through hardships to the stars."
Ex astris, scientia - "From the stars, knowledge."

Reply all
Reply to author
Forward
0 new messages