Skip to content

RetroBlu for N64 not connecting to NXBT #178

@lewilou22

Description

@lewilou22

I have a working setup for NXBT tested with a Nintendo Switch 2 system.

I want to connect NXBT to Blueretro (ESP32 device with bluetooth firmware to accept Switch pro inputs + others) to control my n64 system.

When trying demo or test or webapp I get continuous "connecting" from the webapp and the following error code when stopped on ther terminal

(32645) wsgi exited, is_accepting=True

Process Process-2:
Traceback (most recent call last):
File "/home/lewis/nxbt/nxbt/nxbt.py", line 235, in _command_manager
msg = task_queue.get(timeout=5)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/multiprocessing/queues.py", line 113, in get
if not self._poll(timeout):
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/multiprocessing/connection.py", line 256, in poll
return self._poll(timeout)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/multiprocessing/connection.py", line 423, in _poll
r = wait([self], timeout)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/multiprocessing/connection.py", line 930, in wait
ready = selector.select(timeout)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/selectors.py", line 415, in select
fd_event_list = self._selector.poll(timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/usr/lib/python3.11/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home//nxbt/nxbt/nxbt.py", line 266, in _command_manager
cm.shutdown()
File "/home/nxbt/nxbt/nxbt.py", line 798, in shutdown
self.controller_resources.shutdown()
File "/usr/lib/python3.11/multiprocessing/util.py", line 224, in call
res = self._callback(*self._args, **self._kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/multiprocessing/managers.py", line 676, in _finalize_manager
process.join(timeout=shutdown_timeout)
File "/usr/lib/python3.11/multiprocessing/process.py", line 149, in join
res = self._popen.wait(timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/multiprocessing/popen_fork.py", line 40, in wait
if not wait([self.sentinel], timeout):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/multiprocessing/connection.py", line 930, in wait
ready = selector.select(timeout)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/selectors.py", line 415, in select
fd_event_list = self._selector.poll(timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Nxbt._command_manager..() takes 1 positional argument but 2 were given




I know this is not intended for this use, but it should connect the same as it is just emulating a pro controller ? 


TIA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions