Traceback (most recent call last):
  File "/tmp/.mount_electrqxtYmt/usr/lib/python3.12/site-packages/electrum/gui/qt/main_window.py", line 2793, in closeEvent
    self.clean_up()
  File "/tmp/.mount_electrqxtYmt/usr/lib/python3.12/site-packages/electrum/gui/qt/main_window.py", line 2824, in clean_up
    self.gui_object.close_window(self)
  File "/tmp/.mount_electrqxtYmt/usr/lib/python3.12/site-packages/electrum/gui/qt/__init__.py", line 518, in close_window
    self.daemon.stop_wallet(window.wallet.storage.path)
  File "/tmp/.mount_electrqxtYmt/usr/lib/python3.12/site-packages/electrum/daemon.py", line 551, in stop_wallet
    return fut.result()
           ^^^^^^^^^^^^
  File "/tmp/.mount_electrqxtYmt/usr/lib/python3.12/concurrent/futures/_base.py", line 456, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/tmp/.mount_electrqxtYmt/usr/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/tmp/.mount_electrqxtYmt/usr/lib/python3.12/site-packages/electrum/daemon.py", line 561, in _stop_wallet
    await wallet.stop()
  File "/tmp/.mount_electrqxtYmt/usr/lib/python3.12/site-packages/electrum/wallet.py", line 573, in stop
    self.save_db()
  File "/tmp/.mount_electrqxtYmt/usr/lib/python3.12/site-packages/electrum/wallet.py", line 493, in save_db
    self.db.write()
  File "/tmp/.mount_electrqxtYmt/usr/lib/python3.12/site-packages/electrum/json_db.py", line 65, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/.mount_electrqxtYmt/usr/lib/python3.12/site-packages/electrum/json_db.py", line 425, in write
    self.write_and_force_consolidation()
  File "/tmp/.mount_electrqxtYmt/usr/lib/python3.12/site-packages/electrum/json_db.py", line 65, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/.mount_electrqxtYmt/usr/lib/python3.12/site-packages/electrum/util.py", line 509, in do_profile
    o = func(*args, **kw_args)
        ^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/.mount_electrqxtYmt/usr/lib/python3.12/site-packages/electrum/json_db.py", line 449, in write_and_force_consolidation
    self.storage.write(json_str)
  File "/tmp/.mount_electrqxtYmt/usr/lib/python3.12/site-packages/electrum/storage.py", line 106, in write
    with open(temp_path, "wb") as f:
         ^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/selitec/.electrum/wallets/freshbtcwallet1.tmp.21104'