Page 1 of 1

Crash Bug on Ubuntu 10.04

Posted: Tue Feb 28, 2012 3:26 pm
by lesslucid
The game begins fine, but during the "heart attack sequence", just as the screen is going black, the game crashes back to the terminal and deliver the long error message I include below. Any help or advice much appreciated!


----


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 277 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 "/home/guy/Downloads/katawa/ksl/renpy/bootstrap.py", line 260, in bootstrap
renpy.main.main()
File "/home/guy/Downloads/katawa/ksl/renpy/main.py", line 310, in main
run(restart)
File "/home/guy/Downloads/katawa/ksl/renpy/main.py", line 93, in run
game.context().run()
File "/home/guy/Downloads/katawa/ksl/renpy/execution.py", line 234, in run
node = node.execute()
File "/home/guy/Downloads/katawa/ksl/renpy/ast.py", line 341, in execute
renpy.exports.say(who, what, interact=getattr(self, 'interact', True))
File "/home/guy/Downloads/katawa/ksl/renpy/exports.py", line 539, in say
who(what, interact=interact)
File "/home/guy/Downloads/katawa/ksl/renpy/character.py", line 565, in __call__
self.do_display(who, what, cb_args=self.cb_args, **display_args)
File "/Users/delta/Documents/ks svn/common/00nvl_mode.rpy", line 199, in do_display
File "/home/guy/Downloads/katawa/ksl/renpy/character.py", line 338, in display_say
rv = renpy.ui.interact(mouse='say', type=type, roll_forward=roll_forward)
File "/home/guy/Downloads/katawa/ksl/renpy/ui.py", line 70, in interact
rv = renpy.game.interface.interact(**kwargs)
File "/home/guy/Downloads/katawa/ksl/renpy/display/core.py", line 1578, in interact
repeat, rv = self.interact_core(preloads=preloads, **kwargs)
File "/home/guy/Downloads/katawa/ksl/renpy/display/core.py", line 1726, in interact_core
w.predict(renpy.display.im.cache.get)
File "/home/guy/Downloads/katawa/ksl/renpy/display/core.py", line 254, in predict
self.visit_all(lambda i : i.predict_one(callback))
File "/home/guy/Downloads/katawa/ksl/renpy/display/core.py", line 228, in visit_all
callback(d)
File "/home/guy/Downloads/katawa/ksl/renpy/display/core.py", line 254, in <lambda>
self.visit_all(lambda i : i.predict_one(callback))
File "/home/guy/Downloads/katawa/ksl/renpy/display/im.py", line 501, in predict_one
callback(self)
File "/home/guy/Downloads/katawa/ksl/renpy/display/im.py", line 195, in get
surf = image.load()
File "/home/guy/Downloads/katawa/ksl/renpy/display/im.py", line 973, in load
rv = renpy.display.pgrender.rotozoom(child, self.angle, self.zoom)
File "/home/guy/Downloads/katawa/ksl/renpy/display/scale.py", line 536, in rotozoom
new_surf = pgrender.rotozoom(surf.surface, angle, scale)
File "/home/guy/Downloads/katawa/ksl/renpy/display/scale.py", line 536, in rotozoom
new_surf = pgrender.rotozoom(surf.surface, angle, scale)
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 277 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

Re: Crash Bug on Ubuntu 10.04

Posted: Wed Feb 29, 2012 8:25 am
by lesslucid
Nothin'? No ideas? If I go and find the relevant line in whatever script it is and add a surface attribute, am I just going to make more trouble for myself?

Re: Crash Bug on Ubuntu 10.04

Posted: Sun May 06, 2012 7:26 pm
by Kaheil
Hello,

There seem to be a problem with pygame under 10.04 as you are not the first person I see with this issue.

Have you updated to 12.04? Is it working now?