Skip to content

Running on Read Only File System Fails #129

@jezell

Description

@jezell
import STPyV8File "/opt/venv/lib/python3.13/site-packages/STPyV8.py", line 421, in <module>icu_sync()
~~~~~~~~^^
File "/opt/venv/lib/python3.13/site-packages/STPyV8.py", line 410, in icu_sync
os.makedirs(folder, exist_ok=True)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen os>", line 228, in makedirs
OSError: [Errno 30] Read-only file system: '/usr/share/stpyv8'

It looks like stpyv8 attempts to catch and pass on PermissionError, but this falls through. Maybe it should also catch OSError 30?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions