Sometimes at the end of the first round after launching the game I hear the applause and then it closes and displays error messages though when I launch the game again, the score is registered and everything is fine as if I had closed the game manually.
Linux 64bit, not using avbin (though I believe it happened too with it)
Messages:
[code]
Traceback (most recent call last):
File "Downloads/brainworkshop/brainworkshop.pyw", line 4348, in <module>
pyglet.app.run()
File "/home/a/Downloads/brainworkshop/pyglet/app/__init__.py", line 264, in run
EventLoop().run()
File "/home/a/Downloads/brainworkshop/pyglet/app/xlib.py", line 93, in run
sleep_time = self.idle()
File "/home/a/Downloads/brainworkshop/pyglet/app/__init__.py", line 187, in idle
dt = clock.tick(True)
File "/home/a/Downloads/brainworkshop/pyglet/clock.py", line 700, in tick
return _default.tick(poll)
File "/home/a/Downloads/brainworkshop/pyglet/clock.py", line 303, in tick
item.func(ts - item.last_ts, *item.args, **item.kwargs)
File "Downloads/brainworkshop/brainworkshop.pyw", line 4231, in update
end_session()
File "Downloads/brainworkshop/brainworkshop.pyw", line 3612, in end_session
update_all_labels(do_analysis = True)
File "Downloads/brainworkshop/brainworkshop.pyw", line 3513, in update_all_labels
analysisLabel.update()
File "Downloads/brainworkshop/brainworkshop.pyw", line 2945, in update
stats.submit_session(percent, category_percents)
File "Downloads/brainworkshop/brainworkshop.pyw", line 3494, in submit_session
if percent >= get_threshold_advance() and resourcepaths['music']['advance']:
KeyError: 'music'
[/code]
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Hi,
I'm experiencing the same issue and I cannot use brainworkshop anymore. At the end eof the first session and before hearing the applause brainworkshop crashes.
My config: linux 64bits, ubuntu 11.04, avbin installed
Error messages:
$ python brainworkshop.pyw
[wav @ 0x1b89510]Estimating duration from bitrate, this may be inaccurate
Last message repeated 33 times
[wav @ 0x1b444b0]Estimating duration from bitrate, this may be inaccurate
Last message repeated 43 times
[wav @ 0x1e66cc0]Estimating duration from bitrate, this may be inaccurate
[wav @ 0x1eaa9d0]Estimating duration from bitrate, this may be inaccurate
[wav @ 0x1e66cc0]Estimating duration from bitrate, this may be inaccurate
[wav @ 0x1eaa9d0]Estimating duration from bitrate, this may be inaccurate
[wav @ 0x1e66cc0]Estimating duration from bitrate, this may be inaccurate
[wav @ 0x1eaa9d0]Estimating duration from bitrate, this may be inaccurate
[wav @ 0x1e66cc0]Estimating duration from bitrate, this may be inaccurate
[wav @ 0x1eaa9d0]Estimating duration from bitrate, this may be inaccurate
[wav @ 0x1e66cc0]Estimating duration from bitrate, this may be inaccurate
[wav @ 0x1eaa9d0]Estimating duration from bitrate, this may be inaccurate
Last message repeated 4 times
[wav @ 0x1f33520]Estimating duration from bitrate, this may be inaccurate
Last message repeated 11 times
[wav @ 0x1f33520]max_analyze_duration reached
[wav @ 0x1f33520]Estimating duration from bitrate, this may be inaccurate
ALSA lib pcm_pulse.c:734:(pulse_prepare) PulseAudio: Unable to create stream: Too large
Traceback (most recent call last):
File "brainworkshop.pyw", line 4348, in <module>
pyglet.app.run()
File "/home/franck/Documents/roaming/Dropbox/misc/brainworkshop/pyglet/app/__init__.py", line 264, in run
EventLoop().run()
File "/home/franck/Documents/roaming/Dropbox/misc/brainworkshop/pyglet/app/xlib.py", line 93, in run
sleep_time = self.idle()
File "/home/franck/Documents/roaming/Dropbox/misc/brainworkshop/pyglet/app/__init__.py", line 187, in idle
dt = clock.tick(True)
File "/home/franck/Documents/roaming/Dropbox/misc/brainworkshop/pyglet/clock.py", line 700, in tick
return _default.tick(poll)
File "/home/franck/Documents/roaming/Dropbox/misc/brainworkshop/pyglet/clock.py", line 303, in tick
item.func(ts - item.last_ts, *item.args, **item.kwargs)
File "brainworkshop.pyw", line 4232, in update
else: generate_stimulus()
File "brainworkshop.pyw", line 3854, in generate_stimulus
player.queue(mode.soundlist[mode.current_stim['audio']-1])
File "/home/franck/Documents/roaming/Dropbox/misc/brainworkshop/pyglet/media/__init__.py", line 797, in queue
self._begin_source()
File "/home/franck/Documents/roaming/Dropbox/misc/brainworkshop/pyglet/media/__init__.py", line 893, in _begin_source
self._fill_audio()
File "/home/franck/Documents/roaming/Dropbox/misc/brainworkshop/pyglet/media/__init__.py", line 724, in _fill_audio
self._audio.write(audio_data)
File "/home/franck/Documents/roaming/Dropbox/misc/brainworkshop/pyglet/media/drivers/alsa/__init__.py", line 155, in write
raise ALSAException(asound.snd_strerror(samples_out))
pyglet.media.drivers.alsa.ALSAException: File descriptor in bad state
Franck
Last edit: Anonymous 2013-11-20