Possible reload bug ?

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
Ryue
Miko-Class Veteran
Posts: 745
Joined: Fri Nov 02, 2012 8:41 am
Projects: Red eyes in the darkness
Contact:

Possible reload bug ?

#1 Post by Ryue »

Hi
I have stumbled upon some interesting effect when it comes to reload.
If I use the code below I run into an error. When I correct the code by either replacing size 128,50 by size (128,50) or zoom 0.5
I still get an error but at the line where "e" says the first thing.
When instead of clicking reload, I close and relaunch manually it functions normally.

Interestingly if I say "rollback" instead of "reload" it functions also without problems.

In other cases reload functioned as I expected so it could be related with it being picture transformations that are done there.
The code below is an excerpt from: This post. The error message there
is for the original size statement.

I'm not sure if it is a bug with reload or if it is that I'm not getting the difference between rollback and reload in this case.

Code: Select all

define e = Character('Eileen', color="#c8ffc8")

image im="Unbenannt.png"

# The game starts here.
label start:

    show im:
        size 128,50
    show im as im2:
        zoom 0.5
        xoffset 300
        xzoom -1
    e "You've created a new Ren'Py game."

    e "Once you add a story, pictures, and music, you can release it to the world!"
Error message after correcting and pressing reload:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 20, in script
TypeError: 'int' object is not iterable

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

Full traceback:
  File "C:\Programmierung\renpy\renpy\execution.py", line 288, in run
    node.execute()
  File "C:\Programmierung\renpy\renpy\ast.py", line 453, in execute
    renpy.exports.say(who, what, interact=self.interact)
  File "C:\Programmierung\renpy\renpy\exports.py", line 757, in say
    who(what, interact=interact)
  File "C:\Programmierung\renpy\renpy\character.py", line 795, in __call__
    self.do_display(who, what, cb_args=self.cb_args, **display_args)
  File "C:\Programmierung\renpy\renpy\character.py", line 671, in do_display
    **display_args)
  File "C:\Programmierung\renpy\renpy\character.py", line 474, in display_say
    rv = renpy.ui.interact(mouse='say', type=type, roll_forward=roll_forward)
  File "C:\Programmierung\renpy\renpy\ui.py", line 237, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Programmierung\renpy\renpy\display\core.py", line 1849, in interact
    repeat, rv = self.interact_core(preloads=preloads, **kwargs)
  File "C:\Programmierung\renpy\renpy\display\core.py", line 2161, in interact_core
    self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
  File "C:\Programmierung\renpy\renpy\display\core.py", line 1416, in draw_screen
    renpy.config.screen_height,
  File "render.pyx", line 365, in renpy.display.render.render_screen (gen\renpy.display.render.c:4567)
  File "render.pyx", line 166, in renpy.display.render.render (gen\renpy.display.render.c:2032)
  File "C:\Programmierung\renpy\renpy\display\layout.py", line 521, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 95, in renpy.display.render.render (gen\renpy.display.render.c:2290)
  File "render.pyx", line 166, in renpy.display.render.render (gen\renpy.display.render.c:2032)
  File "C:\Programmierung\renpy\renpy\display\layout.py", line 521, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 95, in renpy.display.render.render (gen\renpy.display.render.c:2290)
  File "render.pyx", line 166, in renpy.display.render.render (gen\renpy.display.render.c:2032)
  File "C:\Programmierung\renpy\renpy\display\layout.py", line 521, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 95, in renpy.display.render.render (gen\renpy.display.render.c:2290)
  File "render.pyx", line 166, in renpy.display.render.render (gen\renpy.display.render.c:2032)
  File "accelerator.pyx", line 73, in renpy.display.accelerator.transform_render (gen\renpy.display.accelerator.c:1055)
TypeError: 'int' object is not iterable

Windows-7-6.1.7601-SP1
Ren'Py 6.15.3.303
A Ren'Py Game 0.0

pwisaguacate
Veteran
Posts: 356
Joined: Mon Mar 11, 2013 11:03 pm
Contact:

Re: Possible reload bug ?

#2 Post by pwisaguacate »

Reloading or manually relaunching worked as they're supposed to. I could not replicate your bug/glitch where a rollback fixes the error (acting as auto reload + skip to where the error occurred). Rollback is only supposed to perform the equivalent of scrolling the mouse wheel up (exactly what it says, rollback), if I'm correct.
Wolf wrote:Error message after correcting and pressing reload:
Also, I think you meant "before pressing reload:" You might be confusing people there.

Ryue
Miko-Class Veteran
Posts: 745
Joined: Fri Nov 02, 2012 8:41 am
Projects: Red eyes in the darkness
Contact:

Re: Possible reload bug ?

#3 Post by Ryue »

do you have the current version of renpy? (I'm having that problem with 6.15.3.303 )

pwisaguacate
Veteran
Posts: 356
Joined: Mon Mar 11, 2013 11:03 pm
Contact:

Re: Possible reload bug ?

#4 Post by pwisaguacate »

Yes, I'm also running 6.15.3.303

Ryue
Miko-Class Veteran
Posts: 745
Joined: Fri Nov 02, 2012 8:41 am
Projects: Red eyes in the darkness
Contact:

Re: Possible reload bug ?

#5 Post by Ryue »

Interesting. (although not the first time I had an error on my pc and / or notebook that no one else had [my notebook has an even nicer phenomenon happening^^].).

Then I count it as my luick with hardware/software (isn't unusual for me) and not a general problem.

tnx

Post Reply

Who is online

Users browsing this forum: No registered users