Ren'Py 6.99.6 Released

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.
Message
Author
DesertFox
Regular
Posts: 196
Joined: Sun Jul 28, 2013 1:29 pm
Completed: Over The Hills And Far Away
Projects: My Little Dictator
Organization: WarGirl Games
Contact:

Re: Ren'Py 6.99.6 Released

#16 Post by DesertFox »

Just updated and found an issue with scaling and input.

As soon as I type into an input box, I get the following error:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 718, in script
    python:
  File "game/script.rpy", line 719, in <module>
    define_name = renpy.input("Enter Username:", exclude=" ", length=20, pixel_width=740)
AttributeError: 'Layout' object has no attribute 'unscale'

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

Full traceback:
  File "game/script.rpy", line 718, in script
    python:
  File "C:\Users\User\Downloads\renpy-6.15.7-sdk\renpy-6.15.7-sdk\renpy\ast.py", line 797, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\User\Downloads\renpy-6.15.7-sdk\renpy-6.15.7-sdk\renpy\python.py", line 1448, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/script.rpy", line 719, in <module>
    define_name = renpy.input("Enter Username:", exclude=" ", length=20, pixel_width=740)
  File "C:\Users\User\Downloads\renpy-6.15.7-sdk\renpy-6.15.7-sdk\renpy\exports.py", line 693, in input
    rv = renpy.ui.interact(mouse='prompt', type="input", roll_forward=roll_forward)
  File "C:\Users\User\Downloads\renpy-6.15.7-sdk\renpy-6.15.7-sdk\renpy\ui.py", line 277, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Users\User\Downloads\renpy-6.15.7-sdk\renpy-6.15.7-sdk\renpy\display\core.py", line 2346, in interact
    repeat, rv = self.interact_core(preloads=preloads, **kwargs)
  File "C:\Users\User\Downloads\renpy-6.15.7-sdk\renpy-6.15.7-sdk\renpy\display\core.py", line 2982, in interact_core
    rv = root_widget.event(ev, x, y, 0)
  File "C:\Users\User\Downloads\renpy-6.15.7-sdk\renpy-6.15.7-sdk\renpy\display\layout.py", line 877, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\User\Downloads\renpy-6.15.7-sdk\renpy-6.15.7-sdk\renpy\display\layout.py", line 877, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\User\Downloads\renpy-6.15.7-sdk\renpy-6.15.7-sdk\renpy\display\layout.py", line 877, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\User\Downloads\renpy-6.15.7-sdk\renpy-6.15.7-sdk\renpy\display\screen.py", line 638, in event
    rv = self.child.event(ev, x, y, st)
  File "C:\Users\User\Downloads\renpy-6.15.7-sdk\renpy-6.15.7-sdk\renpy\display\layout.py", line 877, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\User\Downloads\renpy-6.15.7-sdk\renpy-6.15.7-sdk\renpy\display\layout.py", line 188, in event
    rv = d.event(ev, x - xo, y - yo, st)
  File "C:\Users\User\Downloads\renpy-6.15.7-sdk\renpy-6.15.7-sdk\renpy\display\layout.py", line 877, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\User\Downloads\renpy-6.15.7-sdk\renpy-6.15.7-sdk\renpy\display\layout.py", line 877, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\User\Downloads\renpy-6.15.7-sdk\renpy-6.15.7-sdk\renpy\display\layout.py", line 877, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\User\Downloads\renpy-6.15.7-sdk\renpy-6.15.7-sdk\renpy\display\behavior.py", line 1117, in event
    self.update_text(content, self.editable, check_size=True)
  File "C:\Users\User\Downloads\renpy-6.15.7-sdk\renpy-6.15.7-sdk\renpy\display\behavior.py", line 1007, in update_text
    w, _h = self.size()
  File "C:\Users\User\Downloads\renpy-6.15.7-sdk\renpy-6.15.7-sdk\renpy\text\text.py", line 1640, in size
    return layout.unscale(layout.size)
AttributeError: 'Layout' object has no attribute 'unscale'

Windows-8-6.2.9200
Ren'Py 6.99.6.739
Yokyoku 1.0

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

#17 Post by PyTom »

This should have been fixed in this morning's nightly.
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

DesertFox
Regular
Posts: 196
Joined: Sun Jul 28, 2013 1:29 pm
Completed: Over The Hills And Far Away
Projects: My Little Dictator
Organization: WarGirl Games
Contact:

Re: Ren'Py 6.99.6 Released

#18 Post by DesertFox »

I've updated to the latest version but I still get the error.

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

#19 Post by PyTom »

To check - the latest version on the nightly channel, not the latest version in the release channel?

Alternatively, you can make this change to text.py:

https://github.com/renpy/renpy/commit/0 ... 8f5940eeb8

Double alternatively, I think I'm going to aim to get another release out this weekend, since there are enough bugs in 6.99.6 that affect users.
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

DesertFox
Regular
Posts: 196
Joined: Sun Jul 28, 2013 1:29 pm
Completed: Over The Hills And Far Away
Projects: My Little Dictator
Organization: WarGirl Games
Contact:

Re: Ren'Py 6.99.6 Released

#20 Post by DesertFox »

PyTom wrote:To check - the latest version on the nightly channel, not the latest version in the release channel?

Alternatively, you can make this change to text.py:

https://github.com/renpy/renpy/commit/0 ... 8f5940eeb8

Double alternatively, I think I'm going to aim to get another release out this weekend, since there are enough bugs in 6.99.6 that affect users.
I meant that I updated on the release channel, but added the change to text.py. Thank you. That's working now, although the text inside the input box jitters about a little, I imagine because it's constantly re-scaling itself. For my own purposes, I think it looks quite nice but it might be an issue for others if they want their input text to remain more static.

User avatar
ChillTaco
Regular
Posts: 146
Joined: Sun Mar 22, 2015 1:11 am
Contact:

Re: Ren'Py 6.99.6 Released

#21 Post by ChillTaco »

Your an amazing guy. Personally, Im real bad a keeping with something. I usally get board of things I work on and just drop them after a week. But you, you have been working this engine for years. Im just real amazed, and you dont really ask for anything. I kinda admire you now.

Though I cant imagine why you do this? Do you love Vn's that much?

User avatar
ketskari
Veteran
Posts: 296
Joined: Tue Dec 21, 2010 6:22 pm
Completed: Asher, Sunrise, Tell a Demon
Projects: Asher Remake, TEoA
Organization: Sun Labyrinth
Tumblr: sunlabyrinth
Deviantart: sunlabyrinth
itch: sunlabyrinth
Contact:

Re: Ren'Py 6.99.6 Released

#22 Post by ketskari »

Hm. It's crashing more often on me, and Ren'Py almost never crashed on me before. Sometimes it will freeze and I'll get the "infinite loop" error even though I haven't been using repeat with ATL. (I've tried reinstalling Ren'py a couple of times, too, since I was getting that problem I was having before with updating).

Nvm, I think. (Edit: Apparently having a large, 3MB .rpy file full of im.Composites/LiveComposites will slow reloading time down to a crawl, and give this error.)
Last edited by ketskari on Mon Oct 12, 2015 6:42 pm, edited 1 time in total.

User avatar
PatchyDoll
Regular
Posts: 33
Joined: Fri Apr 06, 2012 11:03 pm
Completed: Rock Bottom, Your Swimsuit Jumped Over Its Own Weathercock You Liar!
Projects: In progress: Trigger
Location: Bay Area, CA
Contact:

Re: Ren'Py 6.99.6 Released

#23 Post by PatchyDoll »

I tried the nightly just to give it a shot, and I still have these weird issues with the scrollbars. Any idea what's up with that?

Image

Image

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

#24 Post by PyTom »

I don't know yet, but will be working on them 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
PatchyDoll
Regular
Posts: 33
Joined: Fri Apr 06, 2012 11:03 pm
Completed: Rock Bottom, Your Swimsuit Jumped Over Its Own Weathercock You Liar!
Projects: In progress: Trigger
Location: Bay Area, CA
Contact:

Re: Ren'Py 6.99.6 Released

#25 Post by PatchyDoll »

Cool, thanks for all your hard work on this, the latest release has some really great stuff in it and the native resolution text looks superb.

~ Amy

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

#26 Post by PyTom »

Just for the record, I landed the fix for scrollbars a few hours ago. It'll be in tomorrow morning's nightly.
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

Zenithale
Newbie
Posts: 2
Joined: Tue Mar 15, 2016 1:01 pm
Contact:

Re: Ren'Py 6.99.6 Released

#27 Post by Zenithale »

Hi there, I am new here and English is not my first language. In fact I want to write my Visual Novel in Français, but every time I use an accent or other symbols (à, é, ô, ç...), Renpy return this error:
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 25: invalid continuation byte
I save in UTF-8, my Project Name is "Learning", for now, I have already did that:
PyTom wrote:Yeah, they are... Can you try something for me? Can you grab

https://raw.githubusercontent.com/renpy ... /script.py

and drop it in over renpy-6.99.6/renpy/script.py? I think this will fix the problem.
... but nothing changed.
What should I do?
Thanks in advance.

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

#28 Post by PyTom »

This is an ancient version, but it looks like your problem is that you are using an invalid encoding in your text editor. Ren'Py requires utf-8, not latin-1.
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

Zenithale
Newbie
Posts: 2
Joined: Tue Mar 15, 2016 1:01 pm
Contact:

Re: Ren'Py 6.99.6 Released

#29 Post by Zenithale »

Thanks for your answer, it seems the text editor I used was not working as intended, because even if I created an empty txt file saved in utf8, the fact to edit it later and save it changed the encoding for unknown reason... So I use now the recommended Editra and it's fine.

(Indeed, the renpy version I use is the 6.99.9, not the 6.99.6, my mistake, I just hope the changes in text.py will not cause trouble later.)

Post Reply

Who is online

Users browsing this forum: No registered users