Page 4 of 5

Re: Seeking Science Explorers for Steam beta

Posted: Thu Mar 20, 2014 9:55 am
by Ren
There wasn't anything in the event handler that looked different from the info that I got initially, unfortunately.
Following the steps for the commandline just gives me another crash.

I've tried the new exe, I got a file with this stuff in (yes, it crashes):

Code: Select all

__init__.py: EOF
renpy/bootstrap.py: 27
bootstrap.py: EOF
renpy/bootstrap.py: bootstrap(): 101
renpy/bootstrap.py: bootstrap(): 173
renpy/bootstrap.py: bootstrap(): 221
renpy/bootstrap.py: bootstrap(): presplash: 229
__init__.py: EOF
presplash.py: 26
presplash.py: EOF
presplash.py: start(): 35
renpy/bootstrap.py: bootstrap(): presplash: 232
subprocess.py: EOF
renpy/bootstrap.py: bootstrap(): 244
game.py: EOF
object.py: EOF
loader.py: EOF
ast.py:33
ast.py: EOF
curry.py: EOF
easy.py: EOF
execution.py: EOF
loadsave.py: EOF
parser.py: EOF
python.py: EOF
remote.py: EOF
script.py: EOF
statements.py: EOF
style.py: EOF
iliad.py: EOF
scale.py: 29
scale.py: 50
scale.py: EOF
module.py: EOF
render.py: EOF
core.py: EOF
font.py: EOF
text.py: EOF
layout.py: EOF
motion.py: EOF
behavior.py: EOF
transition.py: EOF
im.py: EOF
image.py: EOF
video.py:23
video.py:25
video.py:27
video.py:29
video.py:31
video.py: EOF
focus.py: EOF
anim.py: EOF
particle.py: EOF
joystick.py: EOF
minigame.py: EOF
error.py: EOF
__init__.py: EOF

Re: Seeking Science Explorers for Steam beta

Posted: Thu Mar 20, 2014 7:52 pm
by Spiky Caterpillar
Progress! Looks like it's crashing in audio driver initialization somewhere. I've added more logging to the relevant section of the test app; the next crash log should tell me what chunk of code is triggering the crash.

Re: Seeking Science Explorers for Steam beta

Posted: Thu Mar 20, 2014 8:01 pm
by Ren
Downloaded:

Code: Select all

__init__.py: EOF
renpy/bootstrap.py: 27
bootstrap.py: EOF
renpy/bootstrap.py: bootstrap(): 101
renpy/bootstrap.py: bootstrap(): 173
renpy/bootstrap.py: bootstrap(): 221
renpy/bootstrap.py: bootstrap(): presplash: 229
__init__.py: EOF
presplash.py: 26
presplash.py: EOF
presplash.py: start(): 35
renpy/bootstrap.py: bootstrap(): presplash: 232
subprocess.py: EOF
renpy/bootstrap.py: bootstrap(): 244
game.py: EOF
object.py: EOF
loader.py: EOF
ast.py:33
ast.py: EOF
curry.py: EOF
easy.py: EOF
execution.py: EOF
loadsave.py: EOF
parser.py: EOF
python.py: EOF
remote.py: EOF
script.py: EOF
statements.py: EOF
style.py: EOF
iliad.py: EOF
scale.py: 29
scale.py: 50
scale.py: EOF
module.py: EOF
render.py: EOF
core.py: EOF
font.py: EOF
text.py: EOF
layout.py: EOF
motion.py: EOF
behavior.py: EOF
transition.py: EOF
im.py: EOF
image.py: EOF
video.py:23
video.py:25
video.py:27
video.py:29
video.py:31
video.py: EOF
focus.py: EOF
anim.py: EOF
particle.py: EOF
joystick.py: EOF
minigame.py: EOF
error.py: EOF
__init__.py: EOF
audio.py: 27
audio.py: 30
audio.py: 32
audio.py: 34
audio.py: 36
audio.py: 38
audio.py: 48
audio.py: 49

Re: Seeking Science Explorers for Steam beta

Posted: Thu Mar 20, 2014 9:00 pm
by Spiky Caterpillar
Okay, I've got a candidate workaround in the newest test harness - it should crash the first time you run it, then work properly the next time you start it.

If the test crashes the second time it runs, in addition to the log it will help to know if it's created pysdlsound.fail in %APPDATA%\RenPy\Test-6.9.2a+-1395263790

If the new test works the second time around, replacing Science Girls' renpy/audio/audio.py with the one from the test should also make SG have the same behaviour.

Re: Seeking Science Explorers for Steam beta

Posted: Thu Mar 20, 2014 9:27 pm
by Ren
It crashed the first time, then it worked the second. When I quit and then clicked on Yes to really quit, I got an error pop up saying to look at the log for details.

Code: Select all

__init__.py: EOF
renpy/bootstrap.py: 27
bootstrap.py: EOF
renpy/bootstrap.py: bootstrap(): 101
renpy/bootstrap.py: bootstrap(): 173
renpy/bootstrap.py: bootstrap(): 221
renpy/bootstrap.py: bootstrap(): presplash: 229
__init__.py: EOF
presplash.py: 26
presplash.py: EOF
presplash.py: start(): 35
renpy/bootstrap.py: bootstrap(): presplash: 232
subprocess.py: EOF
renpy/bootstrap.py: bootstrap(): 244
game.py: EOF
object.py: EOF
loader.py: EOF
ast.py:33
ast.py: EOF
curry.py: EOF
easy.py: EOF
execution.py: EOF
loadsave.py: EOF
parser.py: EOF
python.py: EOF
remote.py: EOF
script.py: EOF
statements.py: EOF
style.py: EOF
iliad.py: EOF
scale.py: 29
scale.py: 50
scale.py: EOF
module.py: EOF
render.py: EOF
core.py: EOF
font.py: EOF
text.py: EOF
layout.py: EOF
motion.py: EOF
behavior.py: EOF
transition.py: EOF
im.py: EOF
image.py: EOF
video.py:23
video.py:25
video.py:27
video.py:29
video.py:31
video.py: EOF
focus.py: EOF
anim.py: EOF
particle.py: EOF
joystick.py: EOF
minigame.py: EOF
error.py: EOF
__init__.py: EOF
music.py: EOF
sound.py: EOF
ui.py: EOF
lint.py: EOF
warp.py: EOF
character.py:27
character.py: EOF
exports.py: EOF
config.py:31
config.py: EOF
store.py: EOF
main.py: EOF
renpy/bootstrap.py: bootstrap(): 246 imported
renpy/bootstrap.py: bootstrap(): 255 while:
00compat.rpy:3
00library.rpy:12
00definitions.rpy:8
00layout.rpy:8
00compat.rpy:23
presplash.py: end(): 71
core.py: 678
core.py: 680
core.py: 682
core.py: 685
audio.py: init_driver: 49
__init__.py: EOF
renpy/bootstrap.py: 27
bootstrap.py: EOF
renpy/bootstrap.py: bootstrap(): 101
renpy/bootstrap.py: bootstrap(): 173
renpy/bootstrap.py: bootstrap(): 221
renpy/bootstrap.py: bootstrap(): presplash: 229
__init__.py: EOF
presplash.py: 26
presplash.py: EOF
presplash.py: start(): 35
renpy/bootstrap.py: bootstrap(): presplash: 232
subprocess.py: EOF
renpy/bootstrap.py: bootstrap(): 244
game.py: EOF
object.py: EOF
loader.py: EOF
ast.py:33
ast.py: EOF
curry.py: EOF
easy.py: EOF
execution.py: EOF
loadsave.py: EOF
parser.py: EOF
python.py: EOF
remote.py: EOF
script.py: EOF
statements.py: EOF
style.py: EOF
iliad.py: EOF
scale.py: 29
scale.py: 50
scale.py: EOF
module.py: EOF
render.py: EOF
core.py: EOF
font.py: EOF
text.py: EOF
layout.py: EOF
motion.py: EOF
behavior.py: EOF
transition.py: EOF
im.py: EOF
image.py: EOF
video.py:23
video.py:25
video.py:27
video.py:29
video.py:31
video.py: EOF
focus.py: EOF
anim.py: EOF
particle.py: EOF
joystick.py: EOF
minigame.py: EOF
error.py: EOF
__init__.py: EOF
music.py: EOF
sound.py: EOF
ui.py: EOF
lint.py: EOF
warp.py: EOF
character.py:27
character.py: EOF
exports.py: EOF
config.py:31
config.py: EOF
store.py: EOF
main.py: EOF
renpy/bootstrap.py: bootstrap(): 246 imported
renpy/bootstrap.py: bootstrap(): 255 while:
00compat.rpy:3
00library.rpy:12
00definitions.rpy:8
00layout.rpy:8
00compat.rpy:23
presplash.py: end(): 71
core.py: 678
core.py: 680
core.py: 682
core.py: 685
audio.py: init_driver: 49
audio.py: init_driver: 64
audio.py: init_driver: 67
audio.py: init_driver: 75
audio.py: init_driver: 113
core.py: 687
core.py: 689
core.py: 726
core.py: 767
core.py: 780
core.py: 782
core.py: 784
core.py: 789
core.py: 792
core.py: 806
core.py: 823
video.py:interact():100
video.py:interact():100
video.py:interact():100
video.py:interact():100
video.py:interact():100
video.py:interact():100
video.py:interact():100
video.py:interact():100
video.py:interact():100
renpy/bootstrap.py: bootstrap(): 299 exiting
I replaced the audio.py file in the demo, but I still crash multiple times and can't start the game.

Re: Seeking Science Explorers for Steam beta

Posted: Thu Mar 20, 2014 10:22 pm
by Spiky Caterpillar
Hm.

The error log's what I expect from the test harness; did the demo create any exe log(s)?

If you start a command prompt, cd to the demo dir, and run

Code: Select all

set RENPY_DISABLE_SOUND=pss,mix
ScienceGirls!-Demo.exe
does it crash?

Re: Seeking Science Explorers for Steam beta

Posted: Thu Mar 20, 2014 10:51 pm
by Ren
The error log's what I expect from the test harness; did the demo create any exe log(s)?
Actually, yes, it created a log, all it contains is:

Code: Select all

audio.py: init_driver: 49.
Following your steps in the commandline makes the game start (wohoo!) and when I exit I get an error with a log:

Code: Select all

audio.py: init_driver: 49
audio.py: init_driver: 49
audio.py: init_driver: 113
Which I suppose is better than it was?

Re: Seeking Science Explorers for Steam beta

Posted: Thu Mar 20, 2014 11:20 pm
by Spiky Caterpillar
I've put a replacement renpy/audio/audio.py up at http://spikycaterpillar.com/diagnostics/audio.py_ with yet more verbosity in the pysdlsound load section.

Also, is there a pysdlsound.fail in %APPDATA%\RenPy\science_girls\ ?

Re: Seeking Science Explorers for Steam beta

Posted: Thu Mar 20, 2014 11:50 pm
by Ren
Sorry, I missed the pysdlsound question the first time around, didn't I?

Yes, it was created, but it's 0 bytes and there's nothing in it when I open it with Notepad.

Was this other audio.py supposed to have an underscore at the end? Anyway, this time around I get:

Code: Select all

audio.py: init_driver: 49
audio.py: init_driver: 49
audio.py: init_driver: 113
audio.py: init_driver: 49
audio.py: init_driver: 64
audio.py: init_driver: 67
audio.py: init_driver: 75
audio.py: init_driver: 113
audio.py: init_driver: 49
audio.py: init_driver: 64
audio.py: init_driver: 67
audio.py: init_driver: 75
audio.py: init_driver: 113

Re: Seeking Science Explorers for Steam beta

Posted: Fri Mar 21, 2014 12:06 am
by Spiky Caterpillar
The underscore's there to stop my webserver from trying to treat it as a CGI; it should be renamed to just plain audio.py.

The pysdlsound.fail file's expected to be empty - it's not a log, just a semaphore so the script can tell it failed to load pysdlsound on a previous attempt.

Re: Seeking Science Explorers for Steam beta

Posted: Fri Mar 21, 2014 12:22 am
by Ren

Code: Select all

audio.py: init_driver: 49
audio.py: init_driver: 49
audio.py: init_driver: 113
audio.py: init_driver: 49
audio.py: init_driver: 64
audio.py: init_driver: 67
audio.py: init_driver: 75
audio.py: init_driver: 113
audio.py: init_driver: 49
audio.py: init_driver: 64
audio.py: init_driver: 67
audio.py: init_driver: 75
audio.py: init_driver: 113
audio.py: init_driver: 49
audio.py: init_driver: 64
audio.py: init_driver: 67
audio.py: init_driver: 75
audio.py: init_driver: 113
audio.py: init_driver: 49
audio.py: init_driver: 53
audio.py: init_driver: 54: semaphore OK
audio.py: init_driver: 70
audio.py: init_driver: 73
audio.py: init_driver: 75
audio.py: init_driver: 113
After renaming the audio.py

Re: Seeking Science Explorers for Steam beta

Posted: Sat Mar 22, 2014 11:58 pm
by Spiky Caterpillar
Sorry about dropping the thread - is that last log from the demo running successfully with replaced audio.py or the demo crashing?

Re: Seeking Science Explorers for Steam beta

Posted: Sun Mar 23, 2014 12:32 am
by Ren
That was another crash.

Re: Seeking Science Explorers for Steam beta

Posted: Sun Mar 23, 2014 5:29 am
by Spiky Caterpillar
I've got a candidate fix for the demo crash up at http://spikycaterpillar.com/demos/Scien ... 1.3.1d.zip . (It's also worth testing it if you're getting sound-related crashes in the fullbuilds)

Re: Seeking Science Explorers for Steam beta

Posted: Sun Mar 23, 2014 9:11 am
by Ren
Hello,

This candidate doesn't crash when I start it nor when I close it! Wohooo!

Do I need to redownload the demo at your site to test it or do I use the exe in this candidate on the demo?