Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo of 30 Seconds Of Daylight is crashing #506

Closed
KellyThomas opened this issue Dec 12, 2023 · 2 comments
Closed

demo of 30 Seconds Of Daylight is crashing #506

KellyThomas opened this issue Dec 12, 2023 · 2 comments

Comments

@KellyThomas
Copy link

Immediately after clicking on 'Click to start' it shows this exception message

Traceback (most recent call last):
  File "/lib/python311.zip/_pyodide/_base.py", line 499, in eval_code
    .run(globals, locals)
     ^^^^^^^^^^^^^^^^^^^^
  File "/lib/python311.zip/_pyodide/_base.py", line 340, in run
    coroutine = eval(self.code, globals, locals)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "", line 3, in 
  File "/lib/python3.11/site-packages/pyxel/cli.py", line 215, in play_pyxel_app
    runpy.run_path(startup_script_file, run_name="__main__")
  File "", line 291, in run_path
  File "", line 98, in _run_module_code
  File "", line 88, in _run_code
  File "/tmp/.pyxel/play/42/30SecondsOfDaylight/src/main.py", line 37, in 
    App()
  File "/tmp/.pyxel/play/42/30SecondsOfDaylight/src/main.py", line 17, in __init__
    pyxel.load("../res/rpg01.pyxres")
pyo3_runtime.PanicException: called `Result::unwrap()` on an `Err` value: Error { inner: Error { inner: TomlError { message: "missing field `colors`", original: Some("format_version = 2\n\n[[images]]\nwidth = 256\nheight = 256\ndata = [[0, 6, 6, 6, <snip>

I've snipped the message, the original is 50kB.

Tested and reproduced with Firefox 120.0.1 and Edge 120.0.2210.61

@kitao
Copy link
Owner

kitao commented Dec 12, 2023

I accidentally uploaded the new resource format to the main branch.
And restored now.

@KellyThomas
Copy link
Author

cheers, its working great now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants