Traceback (most recent call last):
  File "/home/robertd/Downloads/Electrum-4.2.2/electrum/gui/qt/main_window.py", line 3216, in closeEvent
    self.clean_up()
  File "/home/robertd/Downloads/Electrum-4.2.2/electrum/gui/qt/main_window.py", line 3243, in clean_up
    self.gui_object.close_window(self)
  File "/home/robertd/Downloads/Electrum-4.2.2/electrum/gui/qt/__init__.py", line 424, in close_window
    self.daemon.stop_wallet(window.wallet.storage.path)
  File "/home/robertd/Downloads/Electrum-4.2.2/electrum/daemon.py", line 574, in stop_wallet
    return fut.result()
  File "/usr/lib/python3.8/concurrent/futures/_base.py", line 444, in result
    return self.__get_result()
  File "/usr/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
    raise self._exception
  File "/home/robertd/Downloads/Electrum-4.2.2/electrum/daemon.py", line 582, in _stop_wallet
    await wallet.stop()
  File "/home/robertd/Downloads/Electrum-4.2.2/electrum/wallet.py", line 380, in stop
    self.save_db()
  File "/home/robertd/Downloads/Electrum-4.2.2/electrum/wallet.py", line 315, in save_db
    self.db.write(self.storage)
  File "/home/robertd/Downloads/Electrum-4.2.2/electrum/wallet_db.py", line 1408, in write
    self._write(storage)
  File "/home/robertd/Downloads/Electrum-4.2.2/electrum/util.py", line 439, in <lambda>
    return lambda *args, **kw_args: do_profile(args, kw_args)
  File "/home/robertd/Downloads/Electrum-4.2.2/electrum/util.py", line 435, in do_profile
    o = func(*args, **kw_args)
  File "/home/robertd/Downloads/Electrum-4.2.2/electrum/wallet_db.py", line 1418, in _write
    storage.write(json_str)
  File "/home/robertd/Downloads/Electrum-4.2.2/electrum/storage.py", line 84, in write
    with open(temp_path, "w", encoding='utf-8') as f:
OSError: [Errno 30] Read-only file system: '/media/robertd/9016-4EF8/new-wallet-3.json.tmp.58117'