Traceback (most recent call last):


 "/usr/lib/python3.9/site-packages/qutebrowser/keyinput/eventfilter.py", line 104, in eventFilter

return handler(cast(QKeyEvent, event))


 "/usr/lib/python3.9/site-packages/qutebrowser/keyinput/eventfilter.py", line 74, in _handle_key_event

return man.handle_event(event)


 "/usr/lib/python3.9/site-packages/qutebrowser/keyinput/modeman.py", line 468, in handle_event

return handler(cast(QKeyEvent, event))


 "/usr/lib/python3.9/site-packages/qutebrowser/keyinput/modeman.py", line 289, in _handle_keypress

match = parser.handle(event, dry_run=dry_run)


 "/usr/lib/python3.9/site-packages/qutebrowser/keyinput/basekeyparser.py", line 324, in handle

self.execute(result.command, count)


 "/usr/lib/python3.9/site-packages/qutebrowser/keyinput/modeparsers.py", line 76, in execute

self._commandrunner.run(cmdstr, count)


 "/usr/lib/python3.9/site-packages/qutebrowser/commands/runners.py", line 374, in run

result.cmd.run(self._win_id, args, count=count)


 "/usr/lib/python3.9/site-packages/qutebrowser/commands/command.py", line 553, in run

self.handler(*posargs, **kwargs)


 "/usr/lib/python3.9/site-packages/qutebrowser/components/readlinecommands.py", line 228, in rl_unix_word_rubout

bridge.unix_word_rubout()


 "/usr/lib/python3.9/site-packages/qutebrowser/components/readlinecommands.py", line 119, in unix_word_rubout

self._rubout([' '])


 "/usr/lib/python3.9/site-packages/qutebrowser/components/readlinecommands.py", line 105, in _rubout

is_boundary = text[target_position - 1] in delim
IndexError: string index out of range

Traceback (most recent call last):


 "train_classifier.py", line 219, in <module>

main(args)


 "train_classifier.py", line 189, in main

best_valid, test_err


 "train_classifier.py", line 104, in train_model

valid_err = eval_model(niter, model, valid_x, valid_y)


 "train_classifier.py", line 75, in eval_model

total_loss += loss.data[0]*x.size(1)
IndexError: invalid index of a 0-dim tensor. Use tensor.item() to convert a 0-dim tensor to a Python number
