Skip to content

emit() got an unexpected keyword argument 'broadcast' while running 8bit branch #375

@ytt246

Description

@ytt246

Full log below

Runtime launching in B: drive mode
Colab Check: False

===================================BUG REPORT===================================
Welcome to bitsandbytes. For bug reports, please submit your error trace to: https://github.com/TimDettmers/bitsandbytes/issues

CUDA SETUP: Loading binary B:\python\lib\site-packages\bitsandbytes\libbitsandbytes_cudaall.dll...
INFO | koboldai_settings:init:1302 - 8 Bit Mode Available: True
INFO | main:general_startup:1479 - Running on Repo: https://github.com/ebolam/KoboldAI/ Branch: 8bit
ERROR | main::13411 - An error has been caught in function '', process 'MainProcess' (12576), thread 'MainThread' (13156):
Traceback (most recent call last):

File "aiserver.py", line 13411, in
run()
└ <function run at 0x0000022CB3EDF5E0>

File "aiserver.py", line 13325, in run
general_startup()
└ <function general_startup at 0x0000022CADB16E50>

File "aiserver.py", line 1543, in general_startup
getattr(koboldai_vars, "_{}".format(setting)).from_json(settings_file.read())
│ │ │ └ <method 'read' of '_io.TextIOWrapper' objects>
│ │ └ <_io.TextIOWrapper name='settings/system_settings.v2_settings' mode='r' encoding='cp936'>
│ └ 'system_settings'
└ <koboldai_settings.koboldai_vars object at 0x0000022CAD995100>

File "C:\KoboldAI\koboldai_settings.py", line 617, in from_json
setattr(self, key, bool(value))
│ │ └ False
│ └ 'sp_changed'
└ <koboldai_settings.system_settings object at 0x0000022CAD995970>

File "C:\KoboldAI\koboldai_settings.py", line 1337, in setattr
self._socketio.emit('from_server', {'cmd': 'spstatitems', 'data': {self.spfilename: self.spmeta} if self.allowsp and len(self.spfilename) else {}}, namespace=None, broadcast=True, room="UI_1")
│ │ │ │ │ │ │ │ │ │ └ ''
│ │ │ │ │ │ │ │ │ └ <koboldai_settings.system_settings object at 0x0000022CAD995970>
│ │ │ │ │ │ │ │ └ False
│ │ │ │ │ │ │ └ <koboldai_settings.system_settings object at 0x0000022CAD995970>
│ │ │ │ │ │ └ None
│ │ │ │ │ └ <koboldai_settings.system_settings object at 0x0000022CAD995970>
│ │ │ │ └ ''
│ │ │ └ <koboldai_settings.system_settings object at 0x0000022CAD995970>
│ │ └ <function SocketIO.emit at 0x0000022CAD6F60D0>
│ └ <flask_socketio.SocketIO object at 0x0000022CAD924CA0>
└ <koboldai_settings.system_settings object at 0x0000022CAD995970>

File "B:\python\lib\site-packages\flask_socketio_init_.py", line 462, in emit
self.server.emit(event, *args, namespace=namespace, to=to,
│ │ │ │ │ │ └ 'UI_1'
│ │ │ │ │ └ None
│ │ │ │ └ ({'cmd': 'spstatitems', 'data': {}},)
│ │ │ └ 'from_server'
│ │ └ <function Server.emit at 0x0000022CAC1D6820>
│ └ <socketio.server.Server object at 0x0000022CAD924BB0>
└ <flask_socketio.SocketIO object at 0x0000022CAD924CA0>

TypeError: emit() got an unexpected keyword argument 'broadcast'
(base) C:\KoboldAI>

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