You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying out a pyxres file of mine using the web version here: https://kitao.github.io/pyxel/?edit=
The file seems to load but with this error?
Traceback (most recent call last):
File "/lib/python3.10/_pyodide/_base.py", line 460, in eval_code
.run(globals, locals)
File "/lib/python3.10/_pyodide/_base.py", line 304, in run
coroutine = eval(self.code, globals, locals)
File "", line 1, in
File "/home/pyodide/pyxel/cli.py", line 134, in edit_pyxel_resource
pyxel.editor.App(pyxel_resource_file)
File "/home/pyodide/pyxel/editor/app.py", line 45, in __init__
pyxel.load(resource_file)
pyo3_runtime.PanicException: Unsupported resource file version '1.8.9'
I installed 1.8.9 some days ago and I suspect that the web player either is out of date or uses the newer 1.8.10 version?
More importantly, how can I upgrade my resource files to work with a newer version?
The text was updated successfully, but these errors were encountered:
Just confirmed the error locally by installing 1.8.10 with pipx install --suffix 1810 pyxel==1.8.10:
Traceback (most recent call last):
File "/Users/user/.local/bin/pyxel1810", line 8, in <module>
sys.exit(cli())
File "/Users/user/.local/pipx/venvs/pyxel1810/lib/python3.10/site-packages/pyxel/cli.py", line 23, in cli
edit_pyxel_resource(sys.argv[2] if num_args == 3 else None)
File "/Users/user/.local/pipx/venvs/pyxel1810/lib/python3.10/site-packages/pyxel/cli.py", line 134, in edit_pyxel_resource
pyxel.editor.App(pyxel_resource_file)
File "/Users/user/.local/pipx/venvs/pyxel1810/lib/python3.10/site-packages/pyxel/editor/app.py", line 45, in __init__
pyxel.load(resource_file)
pyo3_runtime.PanicException: Unsupported resource file version '1.8.9'
Pyxel Web is independent from your local Pyxel. So the version number of Pyxel in your environment is nothing to do with this error. But yes, I found a version checking bug. It goes wrong when the version number's digit is greater than 1.
I fixed it and made an emergency release as 1.8.11.
Please try it.
I'm trying out a pyxres file of mine using the web version here:
https://kitao.github.io/pyxel/?edit=
The file seems to load but with this error?
I installed 1.8.9 some days ago and I suspect that the web player either is out of date or uses the newer 1.8.10 version?
More importantly, how can I upgrade my resource files to work with a newer version?
The text was updated successfully, but these errors were encountered: