Ren'Py 6.13 Pre-Releases

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Message
Author
User avatar
Camille
Eileen-Class Veteran
Posts: 1227
Joined: Sat Apr 23, 2011 2:43 pm
Completed: Please see http://trash.moe
Projects: the head well lost
Organization: L3
Tumblr: narihira
Deviantart: crownwaltz
itch: lore
Contact:

Re: Ren'Py 6.13 Pre-Releases

#31 Post by Camille »

Whoops, new problem. D: Now when I try to run my game from the launcher, I immediately am hit with this:
I'm sorry, but an uncaught exception occurred.

After initialization, but before game start.
LookupError: unknown encoding: latin-1

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

Full traceback:
File "/Users/Thorfinn/Dropbox/INN/renpy/renpy/bootstrap.py", line 274, in bootstrap
File "/Users/Thorfinn/Dropbox/INN/renpy/renpy/main.py", line 343, in main
File "/Users/Thorfinn/Dropbox/INN/renpy/renpy/display/core.py", line 1148, in __init__
File "/Users/Thorfinn/Dropbox/INN/renpy/renpy/display/core.py", line 1343, in set_mode
File "gldraw.pyx", line 230, in renpy.gl.gldraw.GLDraw.set_mode (gen/renpy.gl.gldraw.c:2855)
File "/Users/Thorfinn/Dropbox/INN/renpy/renpy/log.py", line 110, in write
LookupError: unknown encoding: latin-1

Darwin-11.1.0-x86_64-i386-32bit
Ren'Py 6.13.0.1573
Break Chance Memento 0.0
No log.txt file is created, the game just crashes and give me this.

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.13 Pre-Releases

#32 Post by PyTom »

...

Build problem. Everyone else, please hold off on updating until I fix this.
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: 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.13 Pre-Releases

#33 Post by PyTom »

Okay, 6.13.0.1574 should solve this problem. (Assuming the tired me didn't screw it up.) Shift+U will update if you still have a working 6.13, otherwise download it again.
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
Camille
Eileen-Class Veteran
Posts: 1227
Joined: Sat Apr 23, 2011 2:43 pm
Completed: Please see http://trash.moe
Projects: the head well lost
Organization: L3
Tumblr: narihira
Deviantart: crownwaltz
itch: lore
Contact:

Re: Ren'Py 6.13 Pre-Releases

#34 Post by Camille »

Yay, it works! Will let you know if I find anything else.

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4084
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Ren'Py 6.13 Pre-Releases

#35 Post by jack_norton »

Mouhaha still bug here. In the same code I posted previously, this time says is a different problem though:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/story.rpy", line 63, in script
        python:
ValueError: zero length field name in format

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

Full traceback:
  File "C:\download\renpy-6.13.0\renpy\bootstrap.py", line 275, in bootstrap
  File "C:\download\renpy-6.13.0\renpy\main.py", line 354, in main
  File "C:\download\renpy-6.13.0\renpy\main.py", line 95, in run
  File "C:\download\renpy-6.13.0\renpy\execution.py", line 269, in run
  File "C:\download\renpy-6.13.0\renpy\display\error.py", line 95, in report_exception
  File "C:\download\renpy-6.13.0\renpy\game.py", line 289, in invoke_in_new_context
  File "C:\download\renpy-6.13.0\renpy\display\error.py", line 40, in call_exception_screen
  File "C:\download\renpy-6.13.0\renpy\ui.py", line 237, in interact
  File "C:\download\renpy-6.13.0\renpy\display\core.py", line 1773, in interact
  File "C:\download\renpy-6.13.0\renpy\display\core.py", line 2122, in interact_core
  File "C:\download\renpy-6.13.0\renpy\display\predict.py", line 101, in prediction_coroutine
  File "C:\download\renpy-6.13.0\renpy\display\predict.py", line 51, in displayable
  File "C:\download\renpy-6.13.0\renpy\display\core.py", line 245, in visit_all
  File "C:\download\renpy-6.13.0\renpy\display\core.py", line 245, in visit_all
  File "C:\download\renpy-6.13.0\renpy\display\core.py", line 242, in visit_all
  File "C:\download\renpy-6.13.0\renpy\text\text.py", line 1136, in visit
  File "C:\download\renpy-6.13.0\renpy\text\text.py", line 1122, in update
  File "C:\download\renpy-6.13.0\renpy\text\text.py", line 1329, in tokenize
ValueError: zero length field name in format

Windows-post2008Server-6.1.7601-SP1
Ren'Py 6.13.0.1574
is good to have made such a insane game with Ren'Py, I'm sure will find all the most crazy/unexpected cases :lol:
follow me on Image Image Image
computer games

User avatar
Alex
Lemma-Class Veteran
Posts: 3093
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Ren'Py 6.13 Pre-Releases

#36 Post by Alex »

I met another problem while playing tutorial game.

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "tutorial/game/script.rpy", line 115, in script call
            call expression _return
  File "tutorial/game/demo_text.rpy", line 110, in script
        eoutline "The outlines setting lets you put outlines around the text."
AttributeError: 'NoneType' object has no attribute 'hyperlink_targets'

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

Full traceback:
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\bootstrap.py", line 275, in bootstrap
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\main.py", line 354, in main
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\main.py", line 95, in run
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\execution.py", line 269, in run
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\display\error.py", line 95, in report_exception
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\game.py", line 289, in invoke_in_new_context
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\display\error.py", line 40, in call_exception_screen
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\ui.py", line 237, in interact
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\display\core.py", line 1773, in interact
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\display\core.py", line 2284, in interact_core
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\display\focus.py", line 239, in mouse_handler
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\display\focus.py", line 224, in change_focus
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\text\text.py", line 1173, in focus
AttributeError: 'NoneType' object has no attribute 'hyperlink_targets'

Windows-XP-5.1.2600-SP2
Ren'Py 6.13.0.1574
Ren'Py Tutorial 6.13 "Low-Carb"
EDIT:
1)I also met a "ValueError: zero length field name in format" at line where narrator speaks


2) And it looks like all variables, that used by overlay functions, defined inside "init python:" block, now must be declared in any "init:" block.
When an outdated DirectX warning screen appears, all overlay functions are showing too (before main menu). So if variables are set at the vary beginning of start label, Ren'py throws an "global name 'var_name' is not defined" error instead of warning screen.

solved
Attachments
traceback.txt
(1.67 KiB) Downloaded 156 times
log.txt
(7.8 KiB) Downloaded 37 times
Last edited by Alex on Wed Aug 31, 2011 11:08 am, edited 1 time in total.

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.13 Pre-Releases

#37 Post by PyTom »

The power is out here, due to Hurricane Irene. So there won't be any more prereleases until power is restored.
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
Samidarenina
Regular
Posts: 137
Joined: Sun Aug 01, 2010 1:21 pm
Contact:

Re: Ren'Py 6.13 Pre-Releases

#38 Post by Samidarenina »

I've noticed that when making a different character say something after you show a line in nvl mode and there's a word left in the next row, that word will be forced back into the previous line.
Weird...

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.13 Pre-Releases

#39 Post by PyTom »

Samidarina - can you provide an example that triggers this?

Thanks.
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
backansi
Veteran
Posts: 224
Joined: Sun May 31, 2009 7:15 am
Location: Korea, Republic of
Contact:

Re: Ren'Py 6.13 Pre-Releases

#40 Post by backansi »

PyTom wrote: The power is out here, due to Hurricane Irene. So there won't be any more prereleases until power is restored.
Are you alright? Hope so.

1. I'm not sure how to describe this situation so I've posted youtube video link which shows the problem well.
http://www.youtube.com/watch?v=aboqna-l1cM

(Is this a normal behavior? sorry but it's really annoying..)

VGA: GeForce GTS 250 (with the latest drive)
Direct 11
OS: Windows 7 (64bit)

2. I can't use translations.rpy. (you know, the file written some config.translations['blahblah']="어쩌구저쩌구" things)

edit:
Now I'm sure that unicode included string makes problem.

Here is traceback.txt log.

Code: Select all

I'm sorry, but an uncaught exception occurred.

While compiling python block starting at line 3 of game/script.rpy.
LookupError: unknown encoding: utf-32-be

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

Full traceback:
  File "E:\renpy-6.13.0\renpy\bootstrap.py", line 275, in bootstrap
  File "E:\renpy-6.13.0\renpy\main.py", line 223, in main
  File "E:\renpy-6.13.0\renpy\script.py", line 173, in load_script
  File "E:\renpy-6.13.0\renpy\script.py", line 389, in load_appropriate_file
  File "E:\renpy-6.13.0\renpy\script.py", line 351, in load_file
  File "E:\renpy-6.13.0\renpy\script.py", line 440, in update_bytecode
  File "E:\renpy-6.13.0\renpy\python.py", line 267, in py_compile_eval_bytecode
  File "E:\renpy-6.13.0\renpy\python.py", line 242, in py_compile
  File "ast.pyo", line 37, in parse
LookupError: unknown encoding: utf-32-be

Windows-post2008Server-6.1.7601-SP1
Ren'Py 6.13.0.1574
and this is for the test.
Test.zip
(1.56 MiB) Downloaded 22 times
3. So I'll not able to use %(variable)s in 6.13?
Last edited by backansi on Tue Aug 30, 2011 10:26 am, edited 1 time in total.

User avatar
Samidarenina
Regular
Posts: 137
Joined: Sun Aug 01, 2010 1:21 pm
Contact:

Re: Ren'Py 6.13 Pre-Releases

#41 Post by Samidarenina »

Oh alright, this should conain the problem.
At first I suspected it to be something ctc-related

Edit: I'm now positive that it's ctc related. Does the new system handle ctc differently? It seems as if it counts the picture as part of the word which is why the word is placed in the next row. When the ctc disappears, the word goes back where it would belong...
In the older versions the ctc indicator would be placed in the next row if there was no space.
Last edited by Samidarenina on Wed Aug 31, 2011 9:31 am, edited 1 time in total.

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.13 Pre-Releases

#42 Post by PyTom »

6.13.0.1579 is up. This should fix all outstanding bug reports - if you reported a problem, please double-check to be sure that it was fixed. I couldn't repeat several of these problems, so some of the fixes were my best guess at fixing what went wrong.
Samidarenina wrote: Edit: I'm now positive that it's ctc related. Does the new system handle ctc differently? It seems as if it counts the picture as part of the word which is why the word is placed in the next row. When the ctc disappears, the word goes back where it would belong...
You were right. In the old version, we included a potential break before the CTC indicator. Now 6.13 includes a potential break before each included displayable, including the CTC indicator.
backansi wrote: 1. I'm not sure how to describe this situation so I've posted youtube video link which shows the problem well.
http://www.youtube.com/watch?v=aboqna-l1cM
I don't get what's causing that - it's like your system is sending a restore event, despite the window not being minimized. I went ahead and made Ren'Py check for minimization before a restore can occur.
Now I'm sure that unicode included string makes problem.
I couldn't repeat this, but I think I have a workaround.
3. So I'll not able to use %(variable)s in 6.13?
You can enable config.old_substitutions to allow them, but they will be disabled in favor of [variable].
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
backansi
Veteran
Posts: 224
Joined: Sun May 31, 2009 7:15 am
Location: Korea, Republic of
Contact:

Re: Ren'Py 6.13 Pre-Releases

#43 Post by backansi »

@PyTom
.1579 has fixed the first problem. But the second one still remains.

User avatar
Alex
Lemma-Class Veteran
Posts: 3093
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Ren'Py 6.13 Pre-Releases

#44 Post by Alex »

Sorry, upgraded to 6.13.0.1579, but still get errors:
- in tutorial game (chapter about "Fonts and Text Tags"). I've updated DirectX, but it didn't help (maybe it's because of my cheep video card?) - traceback.txt
-when I try <$ q1 = renpy.random.choice( (u"Абв", u"Где", u"Жзи", u"Клм", u"Ноп"))>, Ren'py shows an error (traceback1.txt)

Code: Select all

I'm sorry, but an uncaught exception occurred.

While compiling python block starting at line 285 of game/script.rpy.
LookupError: unknown encoding: utf-32-be

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

Full traceback:
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\bootstrap.py", line 275, in bootstrap
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\main.py", line 223, in main
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\script.py", line 173, in load_script
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\script.py", line 389, in load_appropriate_file
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\script.py", line 351, in load_file
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\script.py", line 438, in update_bytecode
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\python.py", line 263, in py_compile_exec_bytecode
  File "D:\renpy-6.6.0\renpy-6.13.0\renpy\python.py", line 244, in py_compile
  File "ast.pyo", line 37, in parse
LookupError: unknown encoding: utf-32-be

Windows-XP-5.1.2600-SP2
Ren'Py 6.13.0.1579
[/s]
Solved.
Problems with narrator speach and overlay functions are solved, thanks.
Attachments
traceback1.txt
(1.03 KiB) Downloaded 26 times
traceback.txt
(3.53 KiB) Downloaded 32 times
Last edited by Alex on Thu Sep 01, 2011 12:09 pm, edited 1 time in total.

User avatar
DaFool
Lemma-Class Veteran
Posts: 4171
Joined: Tue Aug 01, 2006 12:39 pm
Contact:

Re: Ren'Py 6.13 Pre-Releases

#45 Post by DaFool »

Still have the crashing on 'Prefs' problem. Funny thing is I tried right-clicking, which worked the first time. But afterward it crashes like when using the shortcut button.

Post Reply

Who is online

Users browsing this forum: No registered users