Page 6 of 8

Re: Imagebutton GUI Framework [GxImagebuttons]

Posted: Thu Dec 29, 2016 3:51 am
by trooper6
Thanks for doing this Donmai, I've been away from home all day and figured I wouldn't be able to fix this until the weekend.

Re: Imagebutton GUI Framework [GxImagebuttons]

Posted: Thu Dec 29, 2016 12:53 pm
by Donmai
Well, thank you for showing that the solution to the problem was so simple.

Re: Imagebutton GUI Framework [GxImagebuttons]

Posted: Thu Jan 05, 2017 1:17 pm
by sarbezleeb
I added the changes Donmai described earlier but it still seems not to be working. Here's my error:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/example.rpy", line 113, in script
    image example = __Example()
Exception: Not a displayable: <store._m1_example__Example object at 0x105212b90>

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

Full traceback:
  File "game/example.rpy", line 113, in script
    image example = __Example()
  File "/Applications/renpy-6.99.8-sdk/renpy/ast.py", line 900, in execute
    renpy.exports.image(self.imgname, img)
  File "/Applications/renpy-6.99.8-sdk/renpy/exports.py", line 342, in image
    d = renpy.easy.displayable(d)
  File "/Applications/renpy-6.99.8-sdk/renpy/easy.py", line 105, in displayable
    raise Exception("Not a displayable: %r" % (d,))
Exception: Not a displayable: <store._m1_example__Example object at 0x105212b90>

Darwin-15.6.0-x86_64-i386-64bit
Ren'Py 6.99.11.1749
Renpy Imagebuttons GUI Sample 1.0

Re: Imagebutton GUI Framework [GxImagebuttons]

Posted: Thu Jan 05, 2017 1:21 pm
by trooper6
On Wednesday Dec 28th I explained what the problem was and Donmai explained how to fix it. Did you read the last four posts?

Re: Imagebutton GUI Framework [GxImagebuttons]

Posted: Thu Jan 05, 2017 1:25 pm
by sarbezleeb
I did, after posting that original message, and I copied and pasted the relevant portions of the script, however it seemed they were already included in my script. This error message seems to refer to something else on a different line.

Re: Imagebutton GUI Framework [GxImagebuttons]

Posted: Thu Jan 05, 2017 3:30 pm
by Donmai
Sorry, I should have written a better recipe, but I was in a hurry. First, you have to go to the Ren'Py tutorial game folder and copy examples.rpy from there (be sure to copy it, not simply move it from there, or your Ren'Py tutorial game will stop working). Paste examples.rpy inside the game folder of your Imagebutton GUI Framework. You can now trash the old and outdated example.rpy that's already there. Copy and paste the modifications I have listed to your copy of examples.rpy (it seems you have made it to the old script, that's useless). Everything should work now.

Re: Imagebutton GUI Framework [GxImagebuttons]

Posted: Sun Mar 05, 2017 11:56 am
by kyorin_02
I am having the following error.

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00start.rpy", line 106, in script
    return
Exception: Could not find return label (u'C:\\Users\\6715\\renpy games\\Renpy Imagebuttons GUI sample/game/script.rpy', 1375188938, 104).

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

Full traceback:
  File "renpy/common/00start.rpy", line 106, in script
    return
  File "/Applications/renpy-6.99.11-sdk/renpy/ast.py", line 1367, in execute
    next_node(renpy.game.context().lookup_return(pop=True))
  File "/Applications/renpy-6.99.11-sdk/renpy/execution.py", line 523, in lookup_return
    raise Exception("Could not find return label {!r}.".format(self.return_stack[-1]))
Exception: Could not find return label (u'C:\\Users\\6715\\renpy games\\Renpy Imagebuttons GUI sample/game/script.rpy', 1375188938, 104).

Darwin-15.6.0-x86_64-i386-64bit
Ren'Py 6.99.11.1749
Renpy Imagebuttons GUI Sample 1.0
please help

Re: Imagebutton GUI Framework [GxImagebuttons]

Posted: Tue Mar 07, 2017 11:49 am
by PyTom
It looks like a game changed to the point where Ren'Py couldn't load it. I don't think this is a framework issue, but there's not much you can do other than start the game over.

Re: Imagebutton GUI Framework [GxImagebuttons]

Posted: Fri May 12, 2017 12:36 am
by jsnetors
Just stopping by to say that this is a huge timesaver! Many thanks!

Re: Imagebutton GUI Framework [GxImagebuttons]

Posted: Mon May 22, 2017 2:54 pm
by trooper6
Because some folks have had a hard time following Donmai's instructions on how to fix the Imagebutton tutorial, here is a version of the tutorial with the minor issue fixed so you can load it.

Re: Imagebutton GUI Framework [GxImagebuttons]

Posted: Sun Jun 18, 2017 1:59 am
by Szymanowski7
trooper6 wrote:Because some folks have had a hard time following Donmai's instructions on how to fix the Imagebutton tutorial, here is a version of the tutorial with the minor issue fixed so you can load it.
OMG thank you so much for uploading this!! I was having the problem to run the old project and have no idea what to do. You're a life saver thanks again ^^

Re: Imagebutton GUI Framework [GxImagebuttons]

Posted: Sun Jun 18, 2017 2:48 pm
by shakeyss
I just want to comment and say thanks for this, for helping me alot in making my GUI. Kudos

Re: Imagebutton GUI Framework [GxImagebuttons]

Posted: Fri Jul 14, 2017 10:26 am
by Kamos
Hmm not work for me :

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/example.rpy", line 113, in script
image example = __Example()
Exception: Not a displayable: <store._m1_example__Example object at 0x044AD130>

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

Full traceback:
File "D:\renpy-6.99.9-sdk\renpy\bootstrap.py", line 295, in bootstrap
renpy.main.main()
File "D:\renpy-6.99.9-sdk\renpy\main.py", line 419, in main
game.context().run(node)
File "game/example.rpy", line 113, in script
image example = __Example()
File "D:\renpy-6.99.9-sdk\renpy\ast.py", line 911, in execute
renpy.exports.image(self.imgname, img)
File "D:\renpy-6.99.9-sdk\renpy\exports.py", line 347, in image
d = renpy.easy.displayable(d)
File "D:\renpy-6.99.9-sdk\renpy\easy.py", line 108, in displayable
raise Exception("Not a displayable: %r" % (d,))
Exception: Not a displayable: <store._m1_example__Example object at 0x044AD130>

Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187
Renpy Imagebuttons GUI Sample 1.0

Re: Imagebutton GUI Framework [GxImagebuttons]

Posted: Fri Jul 14, 2017 5:30 pm
by Donmai
Have you downloaded it from this link? viewtopic.php?p=455107#p455107

Re: Imagebutton GUI Framework [GxImagebuttons]

Posted: Fri Aug 11, 2017 5:44 pm
by Zherot
trooper6 wrote: Mon May 22, 2017 2:54 pm Because some folks have had a hard time following Donmai's instructions on how to fix the Imagebutton tutorial, here is a version of the tutorial with the minor issue fixed so you can load it.
Thank you.