-
Notifications
You must be signed in to change notification settings - Fork 8
Description
First, thanks so much for the effort. I went through the setup guide, and installing the sdk and building projects worked right off the bat. Amazing.
However, the emulator was a little different story. First, the older SDL 1.2 library wasn't installed during setup, so I had to do that manually (with brew
in my case).
Once that was done, I could start the emulator using a command like rebble install --emulator basalt
, but installing the app on the emulator fails complaining about /usr/share
being read-only:
Couldn't launch pypkjs:
b'Traceback (most recent call last):\n File "/var/home/duhrer/.rebbletool/rebbletool/.env//bin/pypkjs", line 5, in <module>\n from pypkjs.runner.websocket import run_tool\n File "/var/home/duhrer/.rebbletool/rebbletool/.env/lib/python3.13/site-packages/pypkjs/runner/__init__.py", line 23, in <module>\n from pypkjs.javascript.runtime import JSRuntime\n File "/var/home/duhrer/.rebbletool/rebbletool/.env/lib/python3.13/site-packages/pypkjs/javascript/__init__.py", line 4, in <module>\n from .console import Console\n File "/var/home/duhrer/.rebbletool/rebbletool/.env/lib/python3.13/site-packages/pypkjs/javascript/console.py", line 4, in <module>\n import STPyV8 as v8\n File "/var/home/duhrer/.rebbletool/rebbletool/.env/lib/python3.13/site-packages/STPyV8.py", line 421, in <module>\n icu_sync()\n ~~~~~~~~^^\n File "/var/home/duhrer/.rebbletool/rebbletool/.env/lib/python3.13/site-packages/STPyV8.py", line 410, in icu_sync\n os.makedirs(folder, exist_ok=True)\n ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^\n File "<frozen os>", line 227, in makedirs\nOSError: [Errno 30] Read-only file system: \'/usr/share/stpyv8\''
I'm surprised it's doing that at all, given that I'm running using the environment created during setup. However, just to see, I did try using the steps outlined in this post to make my own filesystem overlay with the missing file. However, once the file is there, a similar message comes up that makes it look like it's now trying to copy its own file over top of what's there. Here's the last bit of the new error message:
File "/var/home/duhrer/.rebbletool/rebbletool/.env/lib/python3.13/site-packages/STPyV8.py", line 411, in icu_sync\n with open(os.path.join(folder, "icudtl.dat"), mode="wb") as fd:\n ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nOSError: [Errno 30] Read-only file system: \'/usr/share/stpyv8/icudtl.dat\''
If you have any ideas or need more information, please let me know.