Can anybody please help me with this Renpy script

Questions, answers and issues regarding releases.
Post Reply
SONOFKORUPT76
Posts: 3
Joined: Tue Mar 18, 2014 11:27 pm

Can anybody please help me with this Renpy script

Post by SONOFKORUPT76 » Wed Mar 19, 2014 12:47 am

Okay, here's my problem. As soon as I reach the Hospital part the game crashes and it tells me this. I'm sorry, but an exception occured while executing your Ren'Py
script.

AttributeError: 'pygame.Surface' object has no attribute 'surface'

While running game code:
- script call at line 27 of /Developer/Projects/ks_svn/Katawa Shoujo/game/imachine.rpy
- script call at line 177 of /Developer/Projects/ks_svn/Katawa Shoujo/game/_ui_early.rpy
- script at line 281 of /Developer/Projects/ks_svn/Katawa Shoujo/game/script-a1-monday.rpy
- python at line 199 of /Users/delta/Documents/ks svn/common/00nvl_mode.rpy.

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

File "C:\Program Files (x86)\Katawa Shoujo\renpy\bootstrap.py", line 260, in bootstrap
File "C:\Program Files (x86)\Katawa Shoujo\renpy\main.py", line 310, in main
File "C:\Program Files (x86)\Katawa Shoujo\renpy\main.py", line 93, in run
File "C:\Program Files (x86)\Katawa Shoujo\renpy\execution.py", line 234, in run
File "C:\Program Files (x86)\Katawa Shoujo\renpy\ast.py", line 341, in execute
File "C:\Program Files (x86)\Katawa Shoujo\renpy\exports.py", line 539, in say
File "C:\Program Files (x86)\Katawa Shoujo\renpy\character.py", line 565, in __call__
File "/Users/delta/Documents/ks svn/common/00nvl_mode.rpy", line 199, in do_display
File "C:\Program Files (x86)\Katawa Shoujo\renpy\character.py", line 338, in display_say
File "C:\Program Files (x86)\Katawa Shoujo\renpy\ui.py", line 70, in interact
File "C:\Program Files (x86)\Katawa Shoujo\renpy\display\core.py", line 1578, in interact
File "C:\Program Files (x86)\Katawa Shoujo\renpy\display\core.py", line 1726, in interact_core
File "C:\Program Files (x86)\Katawa Shoujo\renpy\display\core.py", line 254, in predict
File "C:\Program Files (x86)\Katawa Shoujo\renpy\display\core.py", line 228, in visit_all
File "C:\Program Files (x86)\Katawa Shoujo\renpy\display\core.py", line 254, in <lambda>
File "C:\Program Files (x86)\Katawa Shoujo\renpy\display\im.py", line 501, in predict_one
File "C:\Program Files (x86)\Katawa Shoujo\renpy\display\im.py", line 195, in get
File "C:\Program Files (x86)\Katawa Shoujo\renpy\display\im.py", line 973, in load
File "C:\Program Files (x86)\Katawa Shoujo\renpy\display\scale.py", def rotozoom(surf, angle, scale):
new_surf = pgrender.rotozoom(surf.surface, angle, scale)
return ScaledSurface(new_surf)
File "C:\Program Files (x86)\Katawa Shoujo\renpy\display\scale.py", def rotozoom(surf, angle, scale):
new_surf = pgrender.rotozoom_unscaled(surf.surface, angle, scale)
return ScaledSurface(new_surf)
AttributeError: 'pygame.Surface' object has no attribute 'surface'

While running game code:
- script call at line 27 of /Developer/Projects/ks_svn/Katawa Shoujo/game/imachine.rpy
- script call at line 177 of /Developer/Projects/ks_svn/Katawa Shoujo/game/_ui_early.rpy
- script at line 281 of /Developer/Projects/ks_svn/Katawa Shoujo/game/script-a1-monday.rpy
- python at line 199 of /Users/delta/Documents/ks svn/common/00nvl_mode.rpy.

Ren'Py Version: Ren'Py 6.10.2e


It be help if someone also could post an example of how it could be fixed in text or a video would be nice.

Post Reply