New launcher.py for Renpy 6.9.3 not working

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
JinzouTamashii

New launcher.py for Renpy 6.9.3 not working

#1 Post by JinzouTamashii » Mon Sep 21, 2009 10:42 am

Hello, I have recently download Renpy 6.9.3 to update old version. Replacing the layout.py in renpy/display directory gives an error message and launcher doesn't run. Undoing the change allows launcher to run. I am surprised the old file is so small and the new one is so large but the rewrite breaks the release.

I need {w=1} to work correctly like older 6.6.0 version. :P I could live without it but it annoys me. I wish to fix this.

The error is

Code: Select all

Traceback (most recent call last):
  File "renpy.py", line 128, in <module>
    renpy.bootstrap.bootstrap(renpy_base)
  File "C:\Program Files\Common Files\data\renpy-6.9.3\renpy\bootstrap.py", line 242, in bootstrap
    renpy.import_all()
  File "C:\Program Files\Common Files\data\renpy-6.9.3\renpy\__init__.py", line 65, in import_all
    import renpy.display.layout # core
  File "C:\Program Files\Common Files\data\renpy-6.9.3\renpy\display\layout.py", line 1
    <?xml version="1.0"?>
    ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "renpy.py", line 128, in <module>
    renpy.bootstrap.bootstrap(renpy_base)
  File "C:\Program Files\Common Files\data\renpy-6.9.3\renpy\bootstrap.py", line 242, in bootstrap
    renpy.import_all()
  File "C:\Program Files\Common Files\data\renpy-6.9.3\renpy\__init__.py", line 65, in import_all
    import renpy.display.layout # core
  File "C:\Program Files\Common Files\data\renpy-6.9.3\renpy\display\layout.py", line 1
    <?xml version="1.0"?>
    ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "renpy.py", line 128, in <module>
    renpy.bootstrap.bootstrap(renpy_base)
  File "C:\Program Files\Common Files\data\renpy-6.9.3\renpy\bootstrap.py", line 242, in bootstrap
    renpy.import_all()
  File "C:\Program Files\Common Files\data\renpy-6.9.3\renpy\__init__.py", line 65, in import_all
    import renpy.display.layout # core
  File "C:\Program Files\Common Files\data\renpy-6.9.3\renpy\display\layout.py", line 1
    <?xml version="1.0"?>
    ^
SyntaxError: invalid syntax

JinzouTamashii

Re: New launcher.py for Renpy 6.9.3 not working

#2 Post by JinzouTamashii » Mon Sep 21, 2009 12:19 pm

Also, is there a way to center text in the middle of the text window?

User avatar
JinzouTamashii
Eileen-Class Veteran
Posts: 1686
Joined: Mon Sep 21, 2009 8:03 pm
Projects: E-mail me if you wanna rock the planet
Location: USA
Contact:

Re: New launcher.py for Renpy 6.9.3 not working

#3 Post by JinzouTamashii » Mon Sep 21, 2009 10:07 pm

Will no one help me center the text in the dialogue box or fix the new layout.py ?
Don't worry, we can get through it together. I didn't forget about you! I just got overwhelmed.
https://cherylitou.wordpress.com

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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:

Re: New launcher.py for Renpy 6.9.3 not working

#4 Post by PyTom » Mon Sep 21, 2009 10:40 pm

For the layout.py, click on the link and download the file, rather than trying to download it directly.

Do you want text centered on the screen, or in the existing text window?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
JinzouTamashii
Eileen-Class Veteran
Posts: 1686
Joined: Mon Sep 21, 2009 8:03 pm
Projects: E-mail me if you wanna rock the planet
Location: USA
Contact:

Re: New launcher.py for Renpy 6.9.3 not working

#5 Post by JinzouTamashii » Tue Sep 22, 2009 6:36 am

The existing center text window. I rather quickly found "centered" and "show text" commands (which has to be followed by hide text, but that was no problem for that section.)

I want to apply the tag to all the narrator text in the game in the init python section, to center it in the text box.
Don't worry, we can get through it together. I didn't forget about you! I just got overwhelmed.
https://cherylitou.wordpress.com

User avatar
JinzouTamashii
Eileen-Class Veteran
Posts: 1686
Joined: Mon Sep 21, 2009 8:03 pm
Projects: E-mail me if you wanna rock the planet
Location: USA
Contact:

Re: New launcher.py for Renpy 6.9.3 not working

#6 Post by JinzouTamashii » Wed Oct 07, 2009 8:30 am

I solved the launcher.py program but not downloading the whole HTML file but by going to the link and clicking Download at the top.

The button is obvious but not that obvious ...
Don't worry, we can get through it together. I didn't forget about you! I just got overwhelmed.
https://cherylitou.wordpress.com

Post Reply

Who is online

Users browsing this forum: No registered users