logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

renpy-8.0.3-ignore_rpyc_errors.patch (774B)


  1. Better way would probably be to have renpy not even try to write to system paths in the first place.
  2. 13: EACCES (no write permission)
  3. 30: EROFS (read-only filesystem)
  4. diff --git a/renpy/script.py b/renpy/script.py
  5. index 3e5dae8..8f103c1 100644
  6. --- a/renpy/script.py
  7. +++ b/renpy/script.py
  8. @@ -656,6 +656,10 @@ class Script(object):
  9. rpydigest = hashlib.md5(fullf.read()).digest()
  10. self.write_rpyc_md5(f, rpydigest)
  11. + except OSError as e:
  12. + if e.errno not in [13, 30]:
  13. + import traceback
  14. + traceback.print_exc()
  15. except Exception:
  16. import traceback
  17. traceback.print_exc()
  18. --
  19. 2.37.1