找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 2646|回复: 2

[求助] 游戏汉化 用renpy 直接打开游戏出现一下错误,请问下咋解决

[复制链接]
发表于 2022-7-3 19:55:43 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
I'm sorry, but an uncaught exception occurred.


While running game code:
  File "game/scripts/utility/image_crop.rpy", line 1, in script
    init python:
  File "game/scripts/utility/image_crop.rpy", line 1, in script
    init python:
  File "game/scripts/utility/image_crop.rpy", line 6, in <module>
    path, area = line.strip("\r\n").split(':')
TypeError: a bytes-like object is required, not 'str'

 楼主| 发表于 2022-7-3 19:56:18 | 显示全部楼层
-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "D:\renpy 8\renpy-8.0.0-sdk\renpy\bootstrap.py", line 274, in bootstrap
    renpy.main.main()
  File "D:\renpy 8\renpy-8.0.0-sdk\renpy\main.py", line 558, in main
    renpy.game.context().run(node)
  File "game/scripts/utility/image_crop.rpy", line 1, in script
    init python:
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/future/utils/__init__.py", line 441, in raise_
  File "game/scripts/utility/image_crop.rpy", line 1, in script
    init python:
  File "D:\renpy 8\renpy-8.0.0-sdk\renpy\ast.py", line 1111, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "D:\renpy 8\renpy-8.0.0-sdk\renpy\python.py", line 1049, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/scripts/utility/image_crop.rpy", line 6, in <module>
    path, area = line.strip("\r\n").split(':')
TypeError: a bytes-like object is required, not 'str'

Windows-10-10.0.19041 AMD64
Ren'Py 8.0.0.22062402
Witch Trainer Silver 1.43.1
Sun Jul  3 19:49:33 2022
回复 支持 抱歉

使用道具 举报

 楼主| 发表于 2022-7-3 20:01:38 | 显示全部楼层
全部错误提示
回复 支持 抱歉

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|RenPy中文空间 ( 苏ICP备17067825号|苏公网安备 32092302000068号 )

GMT+8, 2024-11-24 07:33 , Processed in 0.099305 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表