Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

native emmiter remove listeners error #14

Open
ahmad11111111111 opened this issue Dec 21, 2023 · 12 comments
Open

native emmiter remove listeners error #14

ahmad11111111111 opened this issue Dec 21, 2023 · 12 comments

Comments

@ahmad11111111111
Copy link

let me know if the native emmiter remove listeners error is replicated on ios.

@kevincar
Copy link
Member

Ok I just tested the current development branch and git it going with no Bluetooth Issues

@ahmad11111111111
Copy link
Author

I'll borrow an iPhone and try an ios build

@kevincar
Copy link
Member

Have you tried re-testing from most recent pushes made to the develop branch?

@ahmad11111111111
Copy link
Author

I'll pull. What branch should I be on.

@ahmad11111111111
Copy link
Author

Fetch*

@kevincar
Copy link
Member

The develop branch

@ahmad11111111111
Copy link
Author

hey. Im still getting the same error after getting on develop. And im having trouble setting up the apple developer account since i need to pay a subscription and need access to either a mac-book or iPhone.

@ahmad11111111111
Copy link
Author

also is there a doc showing how to properly test the libbci and bci libraries

@kevincar
Copy link
Member

hey. Im still getting the same error after getting on develop. And im having trouble setting up the apple developer account since i need to pay a subscription and need access to either a mac-book or iPhone.

Using EAS, the app should be build externally on the Expo Application service servers so you shouldn't need a mac-book to build it. Obviously you'd need an iPhone to run it though.

Perhaps we can meet up to review

also is there a doc showing how to properly test the libbci and bci libraries

All documentation is currently the docstrings of the classes and functions

@ahmad11111111111
Copy link
Author

ahmad11111111111 commented Jan 16, 2024 via email

@ahmad11111111111
Copy link
Author

Android Bundling complete 830ms
WARN new NativeEventEmitter() was called with a non-null argument without the required addListener method.
WARN new NativeEventEmitter() was called with a non-null argument without the required removeListeners method.

@ahmad11111111111
Copy link
Author

DEBUG:bci.application:Application entry point
DEBUG:bci.devices.devicemanager:Potential Modules: ['deviceapis.inputdevices.testdevice', 'deviceapis.inputdevices.neurosity', 'deviceapis.inputdevices.keyboard', 'deviceapis.inputdevices.Brain-Controller-App', 'deviceapis.inputdevices.nexus', 'deviceapis.inputdevices.__pycache__', 'deviceapis.inputdevices.Brain-Controller-App.controller', 'deviceapis.inputdevices.Brain-Controller-App.controllerinput', 'deviceapis.inputdevices.Brain-Controller-App.build', 'deviceapis.inputdevices.Brain-Controller-App.notebooks']
pygame 2.5.1 (SDL 2.28.2, Python 3.11.5)
Hello from the pygame community. https://www.pygame.org/contribute.html
DEBUG:bci.devices.devicemanager:Loading module: <module 'deviceapis.inputdevices.testdevice' from '/home/ahmad/lab/bci/deviceapis/inputdevices/testdevice.py'>
DEBUG:bci.devices.devicemanager:Trying class: TestInputDevice
DEBUG:bci.devices.devicemanager:Loading module: <module 'deviceapis.inputdevices.neurosity' (<_frozen_importlib_external.NamespaceLoader object at 0x7f6369304390>)>
DEBUG:bci.devices.devicemanager:Loading module: <module 'deviceapis.inputdevices.keyboard' (<_frozen_importlib_external.NamespaceLoader object at 0x7f636be3e010>)>
DEBUG:bci.devices.devicemanager:Loading module: <module 'deviceapis.inputdevices.Brain-Controller-App' (<_frozen_importlib_external.NamespaceLoader object at 0x7f636b5b7d10>)>
DEBUG:bci.devices.devicemanager:Loading module: <module 'deviceapis.inputdevices.nexus' (<_frozen_importlib_external.NamespaceLoader object at 0x7f636be3f950>)>
DEBUG:bci.devices.devicemanager:Loading module: <module 'deviceapis.inputdevices.__pycache__' (<_frozen_importlib_external.NamespaceLoader object at 0x7f636be3e9d0>)>
DEBUG:bci.devices.devicemanager:Loading module: <module 'deviceapis.inputdevices.Brain-Controller-App.controller' (<_frozen_importlib_external.NamespaceLoader object at 0x7f632ed4e890>)>
DEBUG:bci.devices.devicemanager:Loading module: <module 'deviceapis.inputdevices.Brain-Controller-App.controllerinput' from '/home/ahmad/lab/bci/deviceapis/inputdevices/Brain-Controller-App/controllerinput/__init__.py'>
DEBUG:bci.devices.devicemanager:Loading module: <module 'deviceapis.inputdevices.Brain-Controller-App.build' (<_frozen_importlib_external.NamespaceLoader object at 0x7f636b5dacd0>)>
DEBUG:bci.devices.devicemanager:Loading module: <module 'deviceapis.inputdevices.Brain-Controller-App.notebooks' (<_frozen_importlib_external.NamespaceLoader object at 0x7f636be3fb90>)>
DEBUG:bci.devices.devicemanager:Potential Modules: ['deviceapis.outputdevices.testdevice', 'deviceapis.outputdevices.__pycache__', 'deviceapis.outputdevices.neomano']
DEBUG:bci.devices.devicemanager:Loading module: <module 'deviceapis.outputdevices.testdevice' from '/home/ahmad/lab/bci/deviceapis/outputdevices/testdevice.py'>
DEBUG:bci.devices.devicemanager:Trying class: TestOutputDevice
DEBUG:bci.devices.devicemanager:Loading module: <module 'deviceapis.outputdevices.__pycache__' (<_frozen_importlib_external.NamespaceLoader object at 0x7f632cb77d10>)>
DEBUG:bci.devices.devicemanager:Loading module: <module 'deviceapis.outputdevices.neomano' (<_frozen_importlib_external.NamespaceLoader object at 0x7f632cb8c390>)>
INFO:bci.devices.devicemanager:Devices: [<deviceapis.inputdevices.testdevice.TestInputDevice object at 0x7f6368f18d10>]
INFO:bci.devices.devicemanager:Devices: [<deviceapis.outputdevices.testdevice.TestOutputDevice object at 0x7f6368fecdd0>]
DEBUG:bci.application:Loading display server
DEBUG:bci.display_server:Adding our primary service
{'message': 'Task exception was never retrieved', 'exception': InvalidObjectPathError('invalid object path: /org/bluez/BCI-Application/service0001'), 'future': <Task finished name='Task-2' coro=<DisplayServer.start() done, defined at /home/ahmad/lab/bci/bci/display_server.py:66> exception=InvalidObjectPathError('invalid object path: /org/bluez/BCI-Application/service0001')>}
ERROR:bci.application:Caught exception: invalid object path: /org/bluez/BCI-Application/service0001 ```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants