umnil / bci-app

BSD 2-Clause "Simplified" License
1 stars 1 forks source link

native emmiter remove listeners error #14

Open ahmad11111111111 opened 11 months ago

ahmad11111111111 commented 11 months ago

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

kevincar commented 11 months ago

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

ahmad11111111111 commented 11 months ago

I'll borrow an iPhone and try an ios build

kevincar commented 11 months ago

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

ahmad11111111111 commented 11 months ago

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

ahmad11111111111 commented 11 months ago

Fetch*

kevincar commented 11 months ago

The develop branch

ahmad11111111111 commented 10 months ago

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 commented 10 months ago

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

kevincar commented 10 months ago

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 commented 10 months ago

Can you Meet Tomorrow or Wednesday?

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Kevin Davis @.> Sent: Monday, January 15, 2024 10:11:36 PM To: umnil/bci-app @.> Cc: Al-Salem, Ahmad Tarik @.>; Author @.> Subject: [EXTERNAL] Re: [umnil/bci-app] native emmiter remove listeners error (Issue #14)

CAUTION: This email originated from outside the organization. DO NOT CLICK ON LINKS or OPEN ATTACHMENTS unless you know and trust the sender.

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

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/umnil/bci-app/issues/14*issuecomment-1893006808__;Iw!!KVu0SnhVq1hAFvslES2Y!KmkgJAu4iCOuRWMN4Lhf7mgzuawqCssO9VJ_DemHbJ8AjQkKWeEpv-D77xj8N_MDU_k6q_MxkG7A0HT5yL_GUZZn$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AZ66B43E4EESC2LREYGCW23YOXVWRAVCNFSM6AAAAABA65D5IOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJTGAYDMOBQHA__;!!KVu0SnhVq1hAFvslES2Y!KmkgJAu4iCOuRWMN4Lhf7mgzuawqCssO9VJ_DemHbJ8AjQkKWeEpv-D77xj8N_MDU_k6q_MxkG7A0HT5yLp-eP6K$. You are receiving this because you authored the thread.Message ID: @.***>

ahmad11111111111 commented 10 months ago

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 commented 10 months ago

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 ```