Instant crash at startup on Windows:
traceback.txt:
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/scripts/core/Fight/enemies/Rebel1.rpy", line 36, in <module>
File "game/scripts/core/Fight/enemies/Rebel1.rpy", line 87, in Rebel1
File "game/scripts/core/Fight/Ability.rpy", line 41, in __init__
IOError: [Errno 9] Bad file descriptor
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/bootstrap.py", line 275, in bootstrap
renpy.main.main()
File "renpy/main.py", line 564, in main
renpy.game.context().run(node)
File "scripts/core/Fight/enemies/Rebel1.rpyc", line 35, in script
File "scripts/core/Fight/enemies/Rebel1.rpyc", line 35, in script
File "renpy/ast.py", line 1138, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "renpy/python.py", line 1122, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/scripts/core/Fight/enemies/Rebel1.rpy", line 36, in <module>
File "game/scripts/core/Fight/enemies/Rebel1.rpy", line 87, in Rebel1
File "game/scripts/core/Fight/Ability.rpy", line 41, in __init__
File "renpy/minstore.py", line 74, in print
_print(*args, **kwargs)
File "renpy/log.py", line 250, in write
self.real_file.flush()
IOError: [Errno 9] Bad file descriptor
Windows-10-10.0.26100 AMD64
Ren'Py 7.6.3.23091805
WitchHunter 0.22.1
Fri Nov 22 21:39:14 2024
log.txt:
Fri Nov 22 21:34:45 2024
Windows-10-10.0.26100
Ren'Py 7.6.3.23091805
Bootstrap to the start of init.init. took 0.04s
Early init. took 0.00s
Loader init. took 0.04s
Loading error handling. took 0.12s
Loading script. took 1.93s
Loading save slot metadata. took 0.42s
Loading persistent. took 0.04s
Set script version to: (7, 6, 3)
config.image_cache_size_mb 1024
DPI scale factor: 1.000000
nvdrs: Loaded, about to disable thread optimizations.
nvdrs: "Couldn't load nvlib." (can be ignored)
Interface start. took 0.42s
Initializing gl2 renderer:
primary display bounds: (0, 0, 2560, 1440)
swap interval: -1 frames
Windowed mode.
Vendor: 'ATI Technologies Inc.'
Renderer: 'AMD Radeon RX 6700 XT'
Version: '4.6.0 Compatibility Profile Context 24.10.1.241007'
Display Info: None
Screen sizes: virtual=(1200, 900) physical=(1595, 1196) drawable=(1595, 1196)
Maximum texture size: 4096x4096
While handling exception:
Traceback (most recent call last):
File "renpy/display/error.py", line 147, in report_exception
traceback_fn=traceback_fn,
File "renpy/game.py", line 287, in invoke_in_new_context
return callable(*args, **kwargs)
File "renpy/display/error.py", line 48, in call_exception_screen
return renpy.ui.interact(mouse="screen", type="screen", suppress_overlay=True, suppress_underlay=True)
File "renpy/ui.py", line 299, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "renpy/display/core.py", line 3582, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
File "renpy/display/core.py", line 3783, in interact_core
renpy.display.screen.prepare_screens()
File "renpy/display/screen.py", line 1003, in prepare_screens
s.ast.prepare_screen()
File "renpy/sl2/slast.py", line 2607, in prepare_screen
self.const_ast.prepare(self.const_ast.analysis)
File "renpy/sl2/slast.py", line 412, in prepare
i.prepare(analysis)
File "renpy/sl2/slast.py", line 1419, in prepare
block.prepare(analysis)
File "renpy/sl2/slast.py", line 412, in prepare
i.prepare(analysis)
File "renpy/sl2/slast.py", line 800, in prepare
SLBlock.prepare(self, analysis)
File "renpy/sl2/slast.py", line 428, in prepare
keyword_values[k] = py_eval_bytecode(compile_expr(self.location, node))
File "renpy/python.py", line 1146, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/scripts/quests/questMotherDay/minigame_beachstrike.rpy", line 280, in <module>
File "renpy/common/00action_audio.rpy", line 58, in __init__
selected = renpy.music.is_music(channel)
File "renpy/audio/music.py", line 338, in is_music
c = get_channel(channel)
File "renpy/audio/audio.py", line 947, in get_channel
raise Exception("Audio channel %r is unknown." % name)
Exception: Audio channel u'ambient1' is unknown.