关于JYACS问题解答

这里会记录一些常见的问题,包含但不限于**长期或短期之内无法解决的疑难问题,安装遇到的问题,使用问题**你可以在提issue或者发问前先来看看,说不定会大有帮助**一.在win上打字没有候选栏**这个是因为你使用了微软输入法,即win默认的那个。这个不是JYACS和Renpy的问题,微软输入法的显示方式致使其无法在renpy game中使用。不过键盘的正常选词还是可以的,\~\~所以你可以靠着臆想,多按几次1,2,3,4,说不定就选到你要的词了哈哈\~\~ 。开个玩笑,换一个输入法或许可以解决问题。**二.使用ios模拟器时,打上JYACS,游戏就报错**正确来说是开游戏报错,该问题在一开始测试就发现了。你可能遇到类似报错:``` I'm sorry, but an uncaught exception occurred.

While running game code: File "game/jyacs_api.rpy", line 23, in script init -1400 python: File "game/jyacs_api.rpy", line 42, in from jyacs_emotion import JyacsEmoSelector SyntaxError: encoding declaration in Unicode string (jyacs_emotion.py, line 0)

-- Full Traceback ------------------------------------------------------------

Full traceback: File "game/jyacs_api.rpy", line 23, in script init -1400 python: File "/private/var/mobile/Containers/Data/Application/D6DB84B3-04EF-411C-81C5-3A03FB6E11E2/tmp/redmond/7.8.4/renpy/ast.py", line 827, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "/private/var/mobile/Containers/Data/Application/D6DB84B3-04EF-411C-81C5-3A03FB6E11E2/tmp/redmond/7.8.4/renpy/python.py", line 1178, in py_exec_bytecode exec(bytecode, globals, locals) File "game/jyacs_api.rpy", line 42, in from jyacs_emotion import JyacsEmoSelector File "/private/var/mobile/Containers/Data/Application/D6DB84B3-04EF-411C-81C5-3A03FB6E11E2/tmp/redmond/7.8.4/renpy/loader.py", line 881, in load_module code = compile(source, filename, 'exec', renpy.python.old_compile_flags, 1) SyntaxError: encoding declaration in Unicode string (jyacs_emotion.py, line 0)

Darwin-24.5.0-iPhone11,8-64bit iPhone11,8 Ren'Py 7.8.4.24120703 Just Yuri (Beta) Beta-1.8.5 Sun Nov 16 14:19:18 2025

或者

I'm sorry, but an uncaught exception occurred. span_23 While parsing /private/var/mobile/Containers/Data/Application/D6DB84B3-04EF-411C-81C5-3A03FB6E11E2/Documents/games/DDLC/game/header.rpy.span_23 span_24File "game/init_run.rpy", line 13, in span_24 span_25ImportError: No module named singletonspan_25

-- Full Traceback ------------------------------------------------------------

Full traceback: File "/private/var/mobile/Containers/Data/Application/D6DB84B3-04EF-411C-81C5-3A03FB6E11E2/tmp/redmond/7.5.3/renpy/bootstrap.py", line 277, in bootstrap renpy.main.main() File "/private/var/mobile/Containers/Data/Application/D6DB84B3-04EF-411C-81C5-3A03FB6E11E2/tmp/redmond/7.5.3/renpy/main.py", line 490, in main renpy.game.script.load_script() # sets renpy.game.script. span_26 File "/private/var/mobile/Containers/Data/Application/D6DB84B3-04EF-411C-81C5-3A03FB6E11E2/tmp/redmond/7.5.3/renpy/script.py", line 300, in load_scriptspan_26 span_27self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)span_27 span_28File "/private/var/mobile/Containers/Data/Application/D6DB84B3-04EF-411C-81C5-3A03FB6E11E2/tmp/redmond/7.5.3/renpy/script.py", line 817, in load_appropriate_filespan_28 span_29self.finish_load(stmts, initcode, filename=lastfn) # type: ignorespan_29 span_30File "/private/var/mobile/Containers/Data/Application/D6DB84B3-04EF-411C-81C5-3A03FB6E11E2/tmp/redmond/7.5.3/renpy/script.py", line 502, in finish_loadspan_30 span_31node.early_execute()span_31 span_32File "/private/var/mobile/Containers/Data/Application/D6DB84B3-04EF-411C-81C5-3A03FB6E11E2/tmp/redmond/7.5.3/renpy/ast.py", line 1188, in early_executespan_32 span_33renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)span_33 span_34File "/private/var/mobile/Containers/Data/Application/D6DB84B3-04EF-411C-81C5-3A03FB6E11E2/tmp/redmond/7.5.3/renpy/python.py", line 1061, in py_exec_bytecodespan_34 span_35exec(bytecode, globals, locals)span_35 span_36File "game/init_run.rpy", line 13, in span_36 span_37ImportError: No module named singletonspan_37

span_38Darwin-24.5.0-iPhone11,8-64bit iPhone11,8span_38 span_39Ren'Py 7.5.3.22090809span_39

span_40Sun Nov 16 14:27:28 2025span_40