Problem Running Ren'Py Demos

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
TheLateWhiteRabbit
Newbie
Posts: 4
Joined: Wed Sep 07, 2005 4:01 pm
Contact:

Problem Running Ren'Py Demos

#1 Post by TheLateWhiteRabbit »

Hopefully someone can answer this for me or tell me what I need to change. When I run the Demo Game everything works fine except for when it tries to demonstrate the ability of Ren'Py to use stats in simulations, then it crashes. The trace back file says this:

I'm sorry, but an exception occured while executing your Ren'Py
script.

Exception: yanchor <curry {'callable': <class 'renpy.display.layout.Position'>, 'args': (), 'kwargs': {}}> is not known.

The last script statement executed was on line 1379 of game/script.rpy.

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

File "run_game.py", line 70, in main
File "renpy\main.pyo", line 169, in main
File "renpy\main.pyo", line 132, in run
File "renpy\execution.pyo", line 76, in run
File "renpy\ast.pyo", line 253, in execute
File "renpy\python.pyo", line 676, in py_exec_bytecode
File "game/script.rpy", line 1379, in <module>
File "game/script.rpy", line 767, in day_planner
File "renpy\ui.pyo", line 46, in interact
File "renpy\display\core.pyo", line 721, in interact
File "renpy\display\core.pyo", line 929, in interact_core
File "renpy\display\core.pyo", line 508, in show
File "renpy\display\render.pyo", line 142, in render_screen
File "renpy\display\render.pyo", line 81, in render
File "renpy\display\layout.pyo", line 210, in render
File "renpy\display\render.pyo", line 81, in render
File "renpy\display\layout.pyo", line 210, in render
File "renpy\display\render.pyo", line 81, in render
File "renpy\display\layout.pyo", line 210, in render
File "renpy\display\render.pyo", line 81, in render
File "renpy\display\layout.pyo", line 659, in render
File "renpy\display\render.pyo", line 81, in render
File "renpy\display\layout.pyo", line 439, in render
File "renpy\display\render.pyo", line 81, in render
File "renpy\display\layout.pyo", line 417, in render
File "renpy\display\core.pyo", line 207, in place
Exception: yanchor <curry {'callable': <class 'renpy.display.layout.Position'>, 'args': (), 'kwargs': {}}> is not known.

The last script statement executed was on line 1379 of game/script.rpy.

Ren'Py Version: Ren'Py 5.1.0

----------------------------------------

Also, when I try to run the Dating Simulation, I get the main character's prologue and it says Day 1, then crashes. It's traceback file says this:

I'm sorry, but an exception occured while executing your Ren'Py
script.

Exception: yanchor <curry {'callable': <class 'renpy.display.layout.Position'>, 'args': (), 'kwargs': {}}> is not known.

The last script statement executed was on line 145 of dse/day_planner.rpy.

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

File "run_dse.py", line 70, in main
File "renpy\main.pyo", line 169, in main
File "renpy\main.pyo", line 132, in run
File "renpy\execution.pyo", line 76, in run
File "renpy\ast.pyo", line 624, in execute
File "renpy\python.pyo", line 699, in py_eval
File "<none>", line 1, in <expression>
File "renpy\ui.pyo", line 46, in interact
File "renpy\display\core.pyo", line 721, in interact
File "renpy\display\core.pyo", line 929, in interact_core
File "renpy\display\core.pyo", line 508, in show
File "renpy\display\render.pyo", line 142, in render_screen
File "renpy\display\render.pyo", line 81, in render
File "renpy\display\layout.pyo", line 210, in render
File "renpy\display\render.pyo", line 81, in render
File "renpy\display\layout.pyo", line 210, in render
File "renpy\display\render.pyo", line 81, in render
File "renpy\display\layout.pyo", line 210, in render
File "renpy\display\render.pyo", line 81, in render
File "renpy\display\layout.pyo", line 659, in render
File "renpy\display\render.pyo", line 81, in render
File "renpy\display\layout.pyo", line 439, in render
File "renpy\display\render.pyo", line 81, in render
File "renpy\display\layout.pyo", line 417, in render
File "renpy\display\core.pyo", line 207, in place
Exception: yanchor <curry {'callable': <class 'renpy.display.layout.Position'>, 'args': (), 'kwargs': {}}> is not known.

The last script statement executed was on line 145 of dse/day_planner.rpy.

Ren'Py Version: Ren'Py 5.1.0

------------------------------------

I am running it under Windows XP SP2, 2 GB RAM, 3.7 Ghz Pentium 4, Geforce FX 5500 256 MB, if any of that matters.
I assume my computer is having problems with a certain Python script related to stats, but unfortunately I have no experience with Python to judge one way or the other.

Any help is appreciated and thanks for the wonderful program PyTom.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

#2 Post by PyTom »

Both of these are known issues, a fix will be out shortly. Assuming the current emergency ends.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

TheLateWhiteRabbit
Newbie
Posts: 4
Joined: Wed Sep 07, 2005 4:01 pm
Contact:

#3 Post by TheLateWhiteRabbit »

Oops, sorry. Didn't get the word on that. Still, I'm relieved to know it isn't my computer.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

#4 Post by PyTom »

Okay, back from the hospital, where a friend's mother is after a bad car accident. It looks like the air bags and crumple zones helped... alot. So kudos to some anonymous engineers out there who designed the things that saved her life. Hence my new series of sigs, quotes from Rudyard Kipling's "The Sons of Martha".

The problem is a stupid mistake I made, in which I set vanchor= to center rather than 'center' in calls to ui.bar. I'll try to cut a bug-fix release to fix this and another (directx) related bug, since I'm not sure when I'll be able to throw more effort into development.

I'll try to cut that release soon.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

#5 Post by PyTom »

Okay, these fixes should be in 5.1.1, just released. Sorry for the incovenience.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

TheLateWhiteRabbit
Newbie
Posts: 4
Joined: Wed Sep 07, 2005 4:01 pm
Contact:

#6 Post by TheLateWhiteRabbit »

Glad to hear everything turned out okay.
And kudos to you for putting so much effort into a program you distribute for free. You do more frequent updates and provide more support than many companies that charge for their products. You're a huge asset to the fan ren'ai community.
Anyway, off to update.

Post Reply

Who is online

Users browsing this forum: Amazon [Bot]