Ren'Py 6.11.0 Pre-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
Melkoshi
Regular
Posts: 156
Joined: Tue Jun 02, 2009 8:56 pm
Projects: Jewels of Sytinane
Location: U.s.a.
Contact:

Re: Ren'Py 6.11.0 Pre-Released

#46 Post by Melkoshi » Wed Jul 07, 2010 11:42 pm

Doesn't crash anymore. ^^

played through the tutorial, no crashes or anything. Can't wait for a final release.



Eileen beats my ass in pong. =/
--- My DeviantArt.
Game in Progress for demo-teaser:
story(script) = 45%
sprites = 100%
programming(interface) = 35%
CGs = 0%
Backgrounds = 5%
Music/sound = 0%

User avatar
lucy
Lucy-Class Veteran
Posts: 103
Joined: Wed Feb 11, 2009 5:07 am
Location: Stuck in a cave
Contact:

Re: Ren'Py 6.11.0 Pre-Released

#47 Post by lucy » Thu Jul 08, 2010 12:51 am

Using 6.11.0b... I got these results...

Image

"POOF" (Disappears)
Attachments
opengl.txt
Here's the OpenGL text thing in case needed...
(2.35 KiB) Downloaded 16 times
Image

User avatar
PyTom
Ren'Py Creator
Posts: 14827
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.11.0 Pre-Released

#48 Post by PyTom » Thu Jul 08, 2010 1:03 am

Please try 6.11.0b, as it may have fixed your problem.
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
lucy
Lucy-Class Veteran
Posts: 103
Joined: Wed Feb 11, 2009 5:07 am
Location: Stuck in a cave
Contact:

Re: Ren'Py 6.11.0 Pre-Released

#49 Post by lucy » Thu Jul 08, 2010 1:18 am

PyTom wrote:Please try 6.11.0b, as it may have fixed your problem.

No luck... I'm already using 6.11.0b. I deleted the previous one and downloaded a fresh copy... same thing happens..
Image

User avatar
Aleema
Lemma-Class Veteran
Posts: 2677
Joined: Fri May 23, 2008 2:11 pm
Organization: happyB
Tumblr: happybackwards
Contact:

Re: Ren'Py 6.11.0 Pre-Released

#50 Post by Aleema » Thu Jul 08, 2010 8:33 am

I don't want to add to your pile of stuff, but CaesMRaenes and I found that the cardgame framework is broken when used with both 6.11A and B, but they each produce different errors. This one is mine:

Code: Select all

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

TypeError: 'Curry' object does not support indexing

While running game code:
 - script at line 45 of C:\Documents and Settings\Aleema\Desktop\renpy-6.11.0\cardgame/game/script.rpy
 - python at line 47 of C:\Documents and Settings\Aleema\Desktop\renpy-6.11.0\cardgame/game/script.rpy.

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

  File "C:\Documents and Settings\Aleema\Desktop\renpy-6.11.0\renpy\bootstrap.py", line 251, in bootstrap
  File "C:\Documents and Settings\Aleema\Desktop\renpy-6.11.0\renpy\main.py", line 310, in main
  File "C:\Documents and Settings\Aleema\Desktop\renpy-6.11.0\renpy\main.py", line 93, in run
  File "C:\Documents and Settings\Aleema\Desktop\renpy-6.11.0\renpy\execution.py", line 243, in run
  File "C:\Documents and Settings\Aleema\Desktop\renpy-6.11.0\renpy\ast.py", line 567, in execute
  File "C:\Documents and Settings\Aleema\Desktop\renpy-6.11.0\renpy\python.py", line 953, in py_exec_bytecode
  File "C:\Documents and Settings\Aleema\Desktop\renpy-6.11.0\cardgame/game/script.rpy", line 47, in <module>
  File "C:\Documents and Settings\Aleema\Desktop\renpy-6.11.0\renpy\ui.py", line 637, in textbutton
  File "C:\Documents and Settings\Aleema\Desktop\renpy-6.11.0\renpy\ui.py", line 355, in __call__
  File "C:\Documents and Settings\Aleema\Desktop\renpy-6.11.0\renpy\display\text.py", line 668, in __init__
  File "C:\Documents and Settings\Aleema\Desktop\renpy-6.11.0\renpy\display\core.py", line 112, in __init__
  File "C:\Documents and Settings\Aleema\Desktop\renpy-6.11.0\renpy\style.py", line 755, in __init__
  File "C:\Documents and Settings\Aleema\Desktop\renpy-6.11.0\renpy\style.py", line 495, in build_style
TypeError: 'Curry' object does not support indexing

While running game code:
 - script at line 45 of C:\Documents and Settings\Aleema\Desktop\renpy-6.11.0\cardgame/game/script.rpy
 - python at line 47 of C:\Documents and Settings\Aleema\Desktop\renpy-6.11.0\cardgame/game/script.rpy.

Ren'Py Version: Ren'Py 6.11.0a

This one is hers:

Code: Select all

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

Exception: Couldn't determine text style.

While running game code:
 - script at line 45 of /Users/vasannanguyen/Desktop/renpy-6.11.0/cardgame/game/script.rpy
 - python at line 47 of /Users/vasannanguyen/Desktop/renpy-6.11.0/cardgame/game/script.rpy.

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

  File "/Users/vasannanguyen/Desktop/renpy-6.11.0/renpy/bootstrap.py", line 251, in bootstrap
  File "/Users/vasannanguyen/Desktop/renpy-6.11.0/renpy/main.py", line 310, in main
  File "/Users/vasannanguyen/Desktop/renpy-6.11.0/renpy/main.py", line 93, in run
  File "/Users/vasannanguyen/Desktop/renpy-6.11.0/renpy/execution.py", line 243, in run
  File "/Users/vasannanguyen/Desktop/renpy-6.11.0/renpy/ast.py", line 567, in execute
  File "/Users/vasannanguyen/Desktop/renpy-6.11.0/renpy/python.py", line 953, in py_exec_bytecode
  File "/Users/vasannanguyen/Desktop/renpy-6.11.0/cardgame/game/script.rpy", line 47, in <module>
  File "/Users/vasannanguyen/Desktop/renpy-6.11.0/renpy/ui.py", line 640, in textbutton
Exception: Couldn't determine text style.

While running game code:
 - script at line 45 of /Users/vasannanguyen/Desktop/renpy-6.11.0/cardgame/game/script.rpy
 - python at line 47 of /Users/vasannanguyen/Desktop/renpy-6.11.0/cardgame/game/script.rpy.

Ren'Py Version: Ren'Py 6.11.0b

Damn line 47! I don't see anything wrong with it, but I don't think I fully understand the changes of getting old scripts to work in 6.11. :(

IceD
Veteran
Posts: 433
Joined: Sun Feb 01, 2009 6:15 pm
Contact:

Re: Ren'Py 6.11.0 Pre-Released

#51 Post by IceD » Thu Jul 08, 2010 8:37 am

lucy wrote:No luck... I'm already using 6.11.0b. I deleted the previous one and downloaded a fresh copy... same thing happens..


I had similiar problem some time ago. You will have to clean the pc off all the leftovers from the old version of Ren'Py - persitent data, saves and stuff. They're hidden somewhere in Documents and Settings on your C: drive and it should help. You're using Windows XP, right? :)

User avatar
backansi
Veteran
Posts: 222
Joined: Sun May 31, 2009 7:15 am
Location: Korea, Republic of
Contact:

Re: Ren'Py 6.11.0 Pre-Released

#52 Post by backansi » Thu Jul 08, 2010 9:49 am

Some problem about style inheritance revealed in 6.11.0b ..

Code: Select all

# this code is an example of indexed style found at renpy document.
init python:
    style.button['Foo'].background = "#f00"
    style.button['Bar'].background = "#00f"
   
screen indexed_style_test:
    vbox: 
        textbutton "Foo" style style.button["Foo"] #7th line
        textbutton "Bar" style style.button["Bar"]

label start:
    show screen indexed_style_test
    '..'#12th line


Code: Select all

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

Exception: Couldn't determine text style.

While running game code:
 - script at line 12 of E:\RP_Project\example/game/script.rpy
 - python at line 7 of E:\RP_Project\example/game/script.rpy.

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

  File "E:\renpy-6.11.0\renpy\bootstrap.py", line 251, in bootstrap
  File "E:\renpy-6.11.0\renpy\main.py", line 310, in main
  File "E:\renpy-6.11.0\renpy\main.py", line 93, in run
  File "E:\renpy-6.11.0\renpy\execution.py", line 243, in run
  File "E:\renpy-6.11.0\renpy\ast.py", line 340, in execute
  File "E:\renpy-6.11.0\renpy\exports.py", line 562, in say
  File "E:\renpy-6.11.0\renpy\character.py", line 675, in __call__
  File "E:\renpy-6.11.0\renpy\character.py", line 634, in do_display
  File "E:\renpy-6.11.0\renpy\character.py", line 451, in display_say
  File "E:\renpy-6.11.0\renpy\ui.py", line 211, in interact
  File "E:\renpy-6.11.0\renpy\display\core.py", line 1547, in interact
  File "E:\renpy-6.11.0\renpy\display\core.py", line 1817, in interact_core
  File "E:\renpy-6.11.0\renpy\display\core.py", line 236, in visit_all
  File "E:\renpy-6.11.0\renpy\display\core.py", line 1817, in <lambda>
  File "E:\renpy-6.11.0\renpy\display\screen.py", line 125, in per_interact
  File "E:\renpy-6.11.0\renpy\display\screen.py", line 171, in update
  File "E:\renpy-6.11.0\renpy\screenlang.py", line 1009, in __call__
  File "E:\renpy-6.11.0\renpy\python.py", line 953, in py_exec_bytecode
  File "E:\RP_Project\example/game/script.rpy", line 7, in <module>
  File "E:\renpy-6.11.0\renpy\ui.py", line 640, in textbutton
Exception: Couldn't determine text style.

While running game code:
 - script at line 12 of E:\RP_Project\example/game/script.rpy
 - python at line 7 of E:\RP_Project\example/game/script.rpy.

Ren'Py Version: Ren'Py 6.11.0b
 

Fortunately(?) I have 6. 11.0a version so I tested it and worked fine.
Well.. Does this problem only occur to me?

User avatar
Mihara
Regular
Posts: 113
Joined: Thu Mar 11, 2010 2:52 pm
Location: Moscow, Russia
Contact:

Re: Ren'Py 6.11.0 Pre-Released

#53 Post by Mihara » Thu Jul 08, 2010 10:45 am

One more bug found, I think.

6.11b, tutorial game, video tutorial section, Eee 901/Ubuntu 10.4.

When playing the movie as a displayable, it plays fine. However, renpy.movie_cutscene results in a black screen with no traceback, visible error messages or any other complaints, no crashes, just a black screen. Sound is still there.

No change between fullscreen and windowed playback, it's exactly the same.
Attachments
opengl.txt
(3.23 KiB) Downloaded 10 times

User avatar
PyTom
Ren'Py Creator
Posts: 14827
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.11.0 Pre-Released

#54 Post by PyTom » Thu Jul 08, 2010 11:59 am

Okay, I think I've worked with mugen to fix his problem. I also think I know where the indexed style problems are coming from, and maybe even how to fix them.

I don't know what Mihara's bug is, yet - I'll have to look through the code to see what's happening.
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
Mihara
Regular
Posts: 113
Joined: Thu Mar 11, 2010 2:52 pm
Location: Moscow, Russia
Contact:

Re: Ren'Py 6.11.0 Pre-Released

#55 Post by Mihara » Thu Jul 08, 2010 8:04 pm

Another minor something... I'm not sure if it's a bug or not, but my guess is, if it isn't, it needs to be documented.

config.sample_sound ignores the prefixes and suffixes given in renpy.music.register_channel - that is, if my prefix is 'sound/' and suffix is '.ogg', config.sample_sound only works if it is defined as 'sound/something.ogg' anyway. At the same time, config.enter_sound and config.exit_sound follow the prefixes and suffixes as expected.

Also, I'm not sure if it did that before, but clicking the test sound button produces an extra sound in addition to the defined test sound -- I think it's style.button.activate_sound but I'm not certain, as I'm using the same one in multiple places.

User avatar
Spiky Caterpillar
Veteran
Posts: 252
Joined: Fri Nov 14, 2008 7:59 pm
Completed: Lots.
Projects: Black Closet
Organization: Slipshod
Location: Behind you.
Contact:

Re: Ren'Py 6.11.0 Pre-Released

#56 Post by Spiky Caterpillar » Fri Jul 09, 2010 12:29 am

Compilation errors coming up will leave the 'Launch' button grayed out even after I quit the offending xterm/vim. (I'm using RENPY_EDITOR='xterm -e vim -Z "%(allfiles)s"', if that makes any difference.)


I can't reproduce this. Is the child Ren'Py process running?
Nom nom nom nom nom LEAVES.

User avatar
PyTom
Ren'Py Creator
Posts: 14827
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.11.0 Pre-Released

#57 Post by PyTom » Fri Jul 09, 2010 1:24 am

Spiky Caterpillar wrote:6.11.0b seems to be caching error information


Actually, it's keeping around obsolete code. I'll fix it.

Code: Select all

init python:
    ui_null = ui.null()



This shouldn't have worked, as you're asking Ren'Py to add something to a screen that doesn't exist yet. The supported:

Code: Select all

init python:
    ui.detached()
    ui_null = ui.null()


Is also broken, but I'll fix that in 6.11.0c.

Code: Select all

dummy_surf = renpy.display.im.cache.get(im.Image('naming-bg.jpg'))
in an init python block fails with AttributeError: 'NoneType' object has no attribute 'mutated_surface'.


renpy.image_size is the (newly) documented function that does what you want.
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
Spiky Caterpillar
Veteran
Posts: 252
Joined: Fri Nov 14, 2008 7:59 pm
Completed: Lots.
Projects: Black Closet
Organization: Slipshod
Location: Behind you.
Contact:

Re: Ren'Py 6.11.0 Pre-Released

#58 Post by Spiky Caterpillar » Fri Jul 09, 2010 1:58 am

Spiky Caterpillar wrote:
Compilation errors coming up will leave the 'Launch' button grayed out even after I quit the offending xterm/vim. (I'm using RENPY_EDITOR='xterm -e vim -Z "%(allfiles)s"', if that makes any difference.)


I can't reproduce this. Is the child Ren'Py process running?


Ack, I'm metamorphosing unexpectedly!

The child Ren'Py process is still running, and strace shows it waiting on futex(0x89c50d8, FUTEX_WAIT_PRIVATE, 0, NULL
Killing it restores my launch button.

unsetting RENPY_EDITOR causes jEdit to be invoked with the traceback, but the bug otherwise remains unchanged.

I can also regain the launch button by switching projects (don't remember if I mentioned that pre-metamorphosis or not.)
Nom nom nom nom nom LEAVES.

User avatar
PyTom
Ren'Py Creator
Posts: 14827
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.11.0 Pre-Released

#59 Post by PyTom » Fri Jul 09, 2010 2:31 am

Don't quite know what happened there - looks like I might have hit the "Edit" rather than "Quote" button.

Hm... can you try SDL_AUDIODRIVER=null and see what happens? It might be a sound issue.
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
Mihara
Regular
Posts: 113
Joined: Thu Mar 11, 2010 2:52 pm
Location: Moscow, Russia
Contact:

Re: Ren'Py 6.11.0 Pre-Released

#60 Post by Mihara » Fri Jul 09, 2010 4:30 am

PyTom wrote:Hm... can you try SDL_AUDIODRIVER=null and see what happens? It might be a sound issue.


...excuse me, but which post was that in response to?...

Post Reply

Who is online

Users browsing this forum: Baidu [Spider]