Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email pytom@bishoujo.us.
It is currently Sat Nov 22, 2014 8:45 pm

All times are UTC - 5 hours [ DST ]


Forum rules


Ask questions about one topic per thread, and use a descriptive subject. "NotImplemented error in script.rpy" is a good subject, "Tom's problems" is not. Remember to include all of traceback.txt or error.txt when reporting a problem, as well as the relevant lines of script. Use the [code] tag to format scripts.



Post new topic Reply to topic  [ 179 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 12  Next
Author Message
PostPosted: Wed Jul 07, 2010 11:42 pm 
Regular

Joined: Tue Jun 02, 2009 8:56 pm
Posts: 156
Location: U.s.a.
Projects: Jewels of Sytinane
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%


Top
 Profile Send private message  
 
PostPosted: Thu Jul 08, 2010 12:51 am 
Lucy-Class Veteran
User avatar

Joined: Wed Feb 11, 2009 5:07 am
Posts: 103
Location: Stuck in a cave
Using 6.11.0b... I got these results...

Image

"POOF" (Disappears)


Attachments:
File comment: Here's the OpenGL text thing in case needed...
opengl.txt [2.35 KiB]
Downloaded 12 times

_________________
Image
Top
 Profile Send private message  
 
PostPosted: Thu Jul 08, 2010 1:03 am 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 12271
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Twitter: @renpytom
Github: renpytom
Please try 6.11.0b, as it may have fixed your problem.

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004
Code > Drama
(When was the last time you backed up your game?)
"The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming; who knows the great enthusiasms, the great devotions and spends himself in a worthy cause; who at the best, knows in the end the triumph of high achievement, and who, at worst, if he fails, at least fails while daring greatly; so that his place shall never be with those cold and timid souls who know neither victory or defeat." - Theodore Roosevelt


Top
 Profile Send private message  
 
PostPosted: Thu Jul 08, 2010 1:18 am 
Lucy-Class Veteran
User avatar

Joined: Wed Feb 11, 2009 5:07 am
Posts: 103
Location: Stuck in a cave
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


Top
 Profile Send private message  
 
PostPosted: Thu Jul 08, 2010 8:33 am 
Lemma-Class Veteran
User avatar

Joined: Fri May 23, 2008 2:11 pm
Posts: 2565
Location: USA
Organization: Happy Backwards
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:
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:
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. :(

_________________
I am offering coding services.
How to Customize the Textbox | How to Customize Game Menus | Icon art by Mocha07734


Top
 Profile Send private message  
 
PostPosted: Thu Jul 08, 2010 8:37 am 
Veteran
User avatar

Joined: Sun Feb 01, 2009 6:15 pm
Posts: 433
IRC Nick: IceD
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? :)

_________________
Wise men search for answers. Don't be foolish, use the force.
Join us on official Ren'Py IRC!


Top
 Profile Send private message  
 
PostPosted: Thu Jul 08, 2010 9:49 am 
Veteran
User avatar

Joined: Sun May 31, 2009 7:15 am
Posts: 219
Location: Korea, Republic of
Some problem about style inheritance revealed in 6.11.0b ..

Code:
# 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:
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?


Top
 Profile Send private message  
 
PostPosted: Thu Jul 08, 2010 10:45 am 
Regular
User avatar

Joined: Thu Mar 11, 2010 2:52 pm
Posts: 113
Location: Moscow, Russia
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 7 times
Top
 Profile Send private message  
 
PostPosted: Thu Jul 08, 2010 11:59 am 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 12271
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Twitter: @renpytom
Github: renpytom
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.

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004
Code > Drama
(When was the last time you backed up your game?)
"The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming; who knows the great enthusiasms, the great devotions and spends himself in a worthy cause; who at the best, knows in the end the triumph of high achievement, and who, at worst, if he fails, at least fails while daring greatly; so that his place shall never be with those cold and timid souls who know neither victory or defeat." - Theodore Roosevelt


Top
 Profile Send private message  
 
PostPosted: Thu Jul 08, 2010 8:04 pm 
Regular
User avatar

Joined: Thu Mar 11, 2010 2:52 pm
Posts: 113
Location: Moscow, Russia
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.


Top
 Profile Send private message  
 
PostPosted: Fri Jul 09, 2010 12:29 am 
Veteran
User avatar

Joined: Fri Nov 14, 2008 7:59 pm
Posts: 246
Location: Behind you.
Completed: Lots.
Projects: Black Closet
Organization: Slipshod
Quote:
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.


Top
 Profile Send private message  
 
PostPosted: Fri Jul 09, 2010 1:24 am 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 12271
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Twitter: @renpytom
Github: renpytom
Spiky Caterpillar wrote:
6.11.0b seems to be caching error information


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

Quote:
Code:
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:
init python:
    ui.detached()
    ui_null = ui.null()


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

Quote:
Code:
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.

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004
Code > Drama
(When was the last time you backed up your game?)
"The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming; who knows the great enthusiasms, the great devotions and spends himself in a worthy cause; who at the best, knows in the end the triumph of high achievement, and who, at worst, if he fails, at least fails while daring greatly; so that his place shall never be with those cold and timid souls who know neither victory or defeat." - Theodore Roosevelt


Top
 Profile Send private message  
 
PostPosted: Fri Jul 09, 2010 1:58 am 
Veteran
User avatar

Joined: Fri Nov 14, 2008 7:59 pm
Posts: 246
Location: Behind you.
Completed: Lots.
Projects: Black Closet
Organization: Slipshod
Spiky Caterpillar wrote:
Quote:
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.


Top
 Profile Send private message  
 
PostPosted: Fri Jul 09, 2010 2:31 am 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 12271
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Twitter: @renpytom
Github: renpytom
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.

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004
Code > Drama
(When was the last time you backed up your game?)
"The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming; who knows the great enthusiasms, the great devotions and spends himself in a worthy cause; who at the best, knows in the end the triumph of high achievement, and who, at worst, if he fails, at least fails while daring greatly; so that his place shall never be with those cold and timid souls who know neither victory or defeat." - Theodore Roosevelt


Top
 Profile Send private message  
 
PostPosted: Fri Jul 09, 2010 4:30 am 
Regular
User avatar

Joined: Thu Mar 11, 2010 2:52 pm
Posts: 113
Location: Moscow, Russia
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?...


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 179 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 12  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group