On Tue, Jun 02, 2015 at 03:37:48PM -0400, Gwern Branwen wrote:
> You could try systrace: '$ strace /usr/bin/mnemosyne'. That might turn
> up a relevant error.
>
> I have occasional sound troubles on Debian too. What happens is that
> it seems some other audio-using program, such as Flash for Youtube
> somehow 'steals' or 'locks' audio, and only once it is done such as by
> closing it, will I again hear sounds from Mnemosyne. Could there be
> something running which does that?
Hello Gwern, thanks for the tips.
I logged-off/in again and ran mnemosyne before any other application (I
don't have a DE, so after starting X+xmonad): still no sound.
I don't see errors on strace output (but it's the first time I have
ever run it so probably I am missing much; I attach a small portion
of the systrace, when mnemosyne tries to open the audio file).
I see that mnemosyne depends on "python, python-qt4, python-qt4-sql,
python-matplotlib, python-cherrypy3, libicu52, libqt4-sql-sqlite".
Which of these package is used to output sound? I guess qt4?
Maybe I can try similar apps using that package and see if it's
something broken in the dependencies.
--
You received this message because you are subscribed to the Google Groups
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/mnemosyne-proj-users/20150602215106.GA10772%40casa.casa.
For more options, visit https://groups.google.com/d/optout.
open("/folder/fmnemo.db_media/modes/dori.wav", O_RDONLY|O_LARGEFILE) = 24
fstat64(24, {st_mode=S_IFREG|0644, st_size=1764160, ...}) = 0
_llseek(24, 0, [1764160], SEEK_END) = 0
_llseek(24, 0, [0], SEEK_SET) = 0
fstat64(24, {st_mode=S_IFREG|0644, st_size=1764160, ...}) = 0
futex(0x974688c, FUTEX_WAKE, 1) = 0
futex(0x974688c, FUTEX_WAKE, 1) = 0
futex(0x97467c8, FUTEX_WAKE, 1) = 0
close(24) = 0
futex(0x97467c8, FUTEX_WAKE, 1) = 0
futex(0x9741228, FUTEX_WAKE, 2147483647) = 0
futex(0x97494a0, FUTEX_WAKE, 2147483647) = 0
futex(0x97494a0, FUTEX_WAKE, 2147483647) = 0
futex(0x97494a0, FUTEX_WAKE, 2147483647) = 0
open("/folder/fmnemo.db_media/modes/dori.wav", O_RDONLY|O_LARGEFILE) = 24
fstat64(24, {st_mode=S_IFREG|0644, st_size=1764160, ...}) = 0
_llseek(24, 0, [1764160], SEEK_END) = 0
_llseek(24, 0, [0], SEEK_SET) = 0
fstat64(24, {st_mode=S_IFREG|0644, st_size=1764160, ...}) = 0
futex(0x974688c, FUTEX_WAKE, 1) = 0
futex(0x974688c, FUTEX_WAKE, 1) = 0
futex(0x97467c8, FUTEX_WAKE, 1) = 0
close(24) = 0
futex(0x97467c8, FUTEX_WAKE, 1) = 0
futex(0x97a8600, FUTEX_WAKE, 2147483647) = 0
futex(0x974cc68, FUTEX_WAKE, 2147483647) = 0
open("/folder/fmnemo.db_media/modes/Dorico.wav", O_RDONLY|O_LARGEFILE) = 24
fstat64(24, {st_mode=S_IFREG|0644, st_size=1764160, ...}) = 0
_llseek(24, 0, [1764160], SEEK_END) = 0
_llseek(24, 0, [0], SEEK_SET) = 0
fstat64(24, {st_mode=S_IFREG|0644, st_size=1764160, ...}) = 0
futex(0x974688c, FUTEX_WAKE, 1) = 0
futex(0x97467c8, FUTEX_WAKE, 1) = 0
mmap2(NULL, 8392704, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0xa8951000
mprotect(0xa8951000, 4096, PROT_NONE) = 0
clone(child_stack=0xa9151424,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
parent_tidptr=0xa9151ba8, tls={entry_number:6, base_addr:0xa9151b40,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,
seg_not_present:0, useable:1}, tls=0xbfad46e0, child_tidptr=0xa9151ba8) = 12994
futex(0xb5a5ecec, FUTEX_WAKE, 1) = 1
futex(0x96a7770, FUTEX_WAKE, 1) = 1
futex(0xaac143f4, FUTEX_WAKE, 1) = 0
futex(0x973fec4, FUTEX_WAKE, 1) = 1
futex(0x97494a0, FUTEX_WAKE, 2147483647) = 0
futex(0x9746818, FUTEX_WAKE, 2147483647) = 0
futex(0x9746818, FUTEX_WAKE, 2147483647) = 0
clock_gettime(CLOCK_MONOTONIC, {19993, 121524873}) = 0
clock_gettime(CLOCK_MONOTONIC, {19993, 121592549}) = 0
clock_gettime(CLOCK_MONOTONIC, {19993, 121673355}) = 0
gettimeofday({1433281049, 478764}, NULL) = 0
gettimeofday({1433281049, 478838}, NULL) = 0
gettimeofday({1433281049, 480323}, NULL) = 0
write(3, "\1\0\0\0\0\0\0\0", 8) = 8
write(3, "\1\0\0\0\0\0\0\0", 8) = 8
write(3, "\1\0\0\0\0\0\0\0", 8) = 8
write(3, "\1\0\0\0\0\0\0\0", 8) = 8
write(3, "\1\0\0\0\0\0\0\0", 8) = 8
write(3, "\1\0\0\0\0\0\0\0", 8) = 8
write(3, "\1\0\0\0\0\0\0\0", 8) = 8
write(3, "\1\0\0\0\0\0\0\0", 8) = 8
write(3, "\1\0\0\0\0\0\0\0", 8) = 8
write(3, "\1\0\0\0\0\0\0\0", 8) = 8
write(3, "\1\0\0\0\0\0\0\0", 8) = 8
write(3, "\1\0\0\0\0\0\0\0", 8) = 8
futex(0xb7647420, FUTEX_WAKE_PRIVATE, 1) = 0
write(3, "\1\0\0\0\0\0\0\0", 8) = 8
write(3, "\1\0\0\0\0\0\0\0", 8) = 8
write(3, "\1\0\0\0\0\0\0\0", 8) = 8
write(3, "\1\0\0\0\0\0\0\0", 8) = 8
write(3, "\1\0\0\0\0\0\0\0", 8) = 8
write(3, "\1\0\0\0\0\0\0\0", 8) = 8
write(3, "\1\0\0\0\0\0\0\0", 8) = 8
futex(0xb7647420, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0xb7647420, FUTEX_WAKE_PRIVATE, 1) = 0
write(3, "\1\0\0\0\0\0\0\0", 8) = 8
write(3, "\1\0\0\0\0\0\0\0", 8) = 8
gettimeofday({1433281049, 483438}, NULL) = 0
gettimeofday({1433281049, 483755}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {19993, 126818423}) = 0
gettimeofday({1433281049, 483899}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {19993, 126959083}) = 0
clock_gettime(CLOCK_MONOTONIC, {19993, 127064753}) = 0
gettimeofday({1433281049, 484155}, NULL) = 0
gettimeofday({1433281049, 484217}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {19993, 127257376}) = 0
clock_gettime(CLOCK_MONOTONIC, {19993, 127321560}) = 0
gettimeofday({1433281049, 484478}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {19993, 127623414}) = 0
gettimeofday({1433281049, 484705}, NULL) = 0
gettimeofday({1433281049, 484817}, NULL) = 0
gettimeofday({1433281049, 484878}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {19993, 127939166}) = 0
gettimeofday({1433281049, 485482}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {19993, 128534144}) = 0
gettimeofday({1433281049, 485650}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {19993, 128696944}) = 0
gettimeofday({1433281049, 486078}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {19993, 129150563}) = 0
gettimeofday({1433281049, 486237}, NULL) = 0
gettimeofday({1433281049, 486310}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {19993, 129355757}) = 0
gettimeofday({1433281049, 486440}, NULL) = 0
clock_gettime(CLOCK_MONOTONIC, {19993, 129486011}) = 0