Traceback (most recent call last):
  File "/opt/Electrum-4.5.2/electrum/gui/qt/main_window.py", line 2507, in closeEvent
    self.clean_up()
  File "/opt/Electrum-4.5.2/electrum/gui/qt/main_window.py", line 2538, in clean_up
    self.gui_object.close_window(self)
  File "/opt/Electrum-4.5.2/electrum/gui/qt/__init__.py", line 485, in close_window
    self.daemon.stop_wallet(window.wallet.storage.path)
  File "/opt/Electrum-4.5.2/electrum/daemon.py", line 546, in stop_wallet
    return fut.result()
  File "/usr/lib64/python3.9/concurrent/futures/_base.py", line 445, in result
    return self.__get_result()
  File "/usr/lib64/python3.9/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/opt/Electrum-4.5.2/electrum/daemon.py", line 555, in _stop_wallet
    await wallet.stop()
  File "/opt/Electrum-4.5.2/electrum/wallet.py", line 547, in stop
    self.save_db()
  File "/opt/Electrum-4.5.2/electrum/wallet.py", line 482, in save_db
    self.db.write()
  File "/opt/Electrum-4.5.2/electrum/json_db.py", line 48, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/Electrum-4.5.2/electrum/json_db.py", line 387, in write
    self.write_and_force_consolidation()
  File "/opt/Electrum-4.5.2/electrum/json_db.py", line 48, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/Electrum-4.5.2/electrum/util.py", line 481, in do_profile
    o = func(*args, **kw_args)
  File "/opt/Electrum-4.5.2/electrum/json_db.py", line 411, in write_and_force_consolidation
    self.storage.write(json_str)
  File "/opt/Electrum-4.5.2/electrum/storage.py", line 92, in write
    with open(temp_path, "wb") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/p/Mats Renstrom/Bank-Finans/Crypto/electrum/wallets/BTC/240308_mats_private_BTC_wallet.tmp.11299'