Ankihub add on error

Before the error happened, I was…
[Replace this text.]

Error message (don't change this)
Anki 25.09.2 (3890e12c) (ao)
Python 3.13.5 Qt 6.9.1 PyQt 6.9.1
Platform: Windows-11-10.0.26100-SP0

Traceback (most recent call last):

  File "C:\Users\khyat\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\aqt\taskman.py", line 152, in raise_exception
    raise exception

  File "C:\Users\khyat\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\aqt\taskman.py", line 148, in _on_closures_pending
    closure()
    ~~~~~~~^^

  File "C:\Users\khyat\AppData\Roaming\Anki2\addons21\1322529746\gui\auto_sync.py", line 100, in sync_with_ankiweb
    future.result()
    ~~~~~~~~~~~~~^^

  File "C:\Users\khyat\AppData\Local\AnkiProgramFiles\python\cpython-3.13.5-windows-x86_64-none\Lib\concurrent\futures\_base.py", line 449, in result
    return self.__get_result()
           ~~~~~~~~~~~~~~~~~^^

  File "C:\Users\khyat\AppData\Local\AnkiProgramFiles\python\cpython-3.13.5-windows-x86_64-none\Lib\concurrent\futures\_base.py", line 401, in __get_result
    raise self._exception

  File "C:\Users\khyat\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py", line 36, in wrapper
    return func(*args, **kwargs)

  File "C:\Users\khyat\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 210, in _on_sync_done
    aqt.mw.reset()
    ~~~~~~~~~~~~^^

  File "C:\Users\khyat\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\aqt\main.py", line 901, in reset
    self._synthesize_op_did_execute_from_reset()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^

  File "C:\Users\khyat\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\aqt\main.py", line 850, in _synthesize_op_did_execute_from_reset
    gui_hooks.operation_did_execute(op, None)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^

  File "C:\Users\khyat\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\_aqt\hooks.py", line 3875, in __call__
    hook(changes, handler)
    ~~~~^^^^^^^^^^^^^^^^^^

  File "C:\Users\khyat\AppData\Local\AnkiProgramFiles\.venv\Lib\site-packages\aqt\browser\browser.py", line 191, in on_operation_did_execute
    if handler is not self.editor:
                      ^^^^^^^^^^^

AttributeError: 'Browser' object has no attribute 'editor'

Sentry link (for developers)

Hello,

Start Anki in safe mode by holding down the Shift key while you open it. On your Anki main screen, go to Tools > Add-ons > Check for Updates. After the update is complete, please restart Anki.

This looks like an add-on conflict, so please try disabling all of your add-ons except the AnkiHub add-on and see if the error persists.