Traceback (most recent call last):
  File "/opt/Electrum-4.5.8/electrum/gui/qt/main_window.py", line 2515, in closeEvent
    self.clean_up()
  File "/opt/Electrum-4.5.8/electrum/gui/qt/main_window.py", line 2546, in clean_up
    self.gui_object.close_window(self)
  File "/opt/Electrum-4.5.8/electrum/gui/qt/__init__.py", line 492, in close_window
    self.daemon.stop_wallet(window.wallet.storage.path)
  File "/opt/Electrum-4.5.8/electrum/daemon.py", line 552, 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.8/electrum/daemon.py", line 561, in _stop_wallet
    await wallet.stop()
  File "/opt/Electrum-4.5.8/electrum/wallet.py", line 544, in stop
    self.save_db()
  File "/opt/Electrum-4.5.8/electrum/wallet.py", line 479, in save_db
    self.db.write()
  File "/opt/Electrum-4.5.8/electrum/json_db.py", line 48, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/Electrum-4.5.8/electrum/json_db.py", line 396, in write
    self.write_and_force_consolidation()
  File "/opt/Electrum-4.5.8/electrum/json_db.py", line 48, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/Electrum-4.5.8/electrum/util.py", line 483, in do_profile
    o = func(*args, **kw_args)
  File "/opt/Electrum-4.5.8/electrum/json_db.py", line 420, in write_and_force_consolidation
    self.storage.write(json_str)
  File "/opt/Electrum-4.5.8/electrum/storage.py", line 94, in write
    with open(temp_path, "wb") as f:
OSError: [Errno 30] Read-only file system: '/mnt/p/Mats Renstrom/Bank-Finans/Crypto/electrum-transaction/wallets/BTC/241230_mats_electrum-transaction_BTC_wallet.4.5.8.tmp.26952'