Sound files not playing correctly

36 views
Skip to first unread message

Patrick de Metz

unread,
Jan 21, 2012, 4:49:36 AM1/21/12
to mnemosyne-proj-users
Hello everyone,

My question sounds very basic but I have not found an answer on the
board.

The software description indicates that sounds are no different from
images when creating new cards. However my images show rather well but
my sounds are a nightmare...

I am using Mnemosyne to learn Chinese sinogrammes and pronunciations.
The data base is on a USB drive which I move back and forth between
two computers.

Sinogrammes (.png) are in .mnemosyne\sinogrammes and sounds (mp3) are
in mnemosyne\pronunciation. Cards will show sinogrammes well but only
1/3 of the sounds play, another 1/3 is played at half speed, the other
1/3 don't play at all. Sonds are usually less than 1 second long
(Chinese phonems are short).

Pls note it is always the sames sounds that play well, at reduced
speed or not at all. So it seems to me at first glance that it is the
sound player within mnemosyne that is having a hard time...the glitch
probabily has nothing to do with the cards management part.

These mp3 files will play under windows media player 9 although there
are a few glitches here or there too (first part of sound is not
played).

Any idea as to why this is happenning, any idea on what I should do to
fix this?

Thank you.

Jeanne d'Arc

PS: as you might imagine, as a consequence of this glitch, I am
improving my writing skills faster than my pronunciation...

Peter Bienstman

unread,
Jan 21, 2012, 4:52:41 AM1/21/12
to mnemosyne-...@googlegroups.com
Hi,

The sound library is 1.x is very buggy, which is why we switched to a different one in 2.x. If you try the 2.0 beta, do you have the same problems?

Peter

Patrick de Metz

unread,
Jan 21, 2012, 12:48:09 PM1/21/12
to mnemosyne-proj-users
Hi Peter,

I will gladly try. Could you please point me to where Beta 2 can be
dowloaded from?

Merci beaucoup.

Jeanne d'Arc.

Peter Bienstman

unread,
Jan 21, 2012, 3:04:39 PM1/21/12
to mnemosyne-...@googlegroups.com

Patrick de Metz

unread,
Jan 22, 2012, 12:55:50 AM1/22/12
to mnemosyne-proj-users
Hi Peter,

Installed file as suggested. This beta 2.0 crashes upon start up.

I get a rather long error message starting with:
"Uncaught exception!
Traceback (innermost last)"

ending with:
"UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position
39: ordinal not in range(128)"

And quite a lot of details in between...

Runing XP SP2.

Is this normal, doctor?

Patrick
(Jeanne d'Arc)

Peter Bienstman

unread,
Jan 22, 2012, 1:56:29 AM1/22/12
to mnemosyne-...@googlegroups.com
On Saturday 21 Jan 2012 21:55:50 Patrick de Metz wrote:
> Hi Peter,
>
> Installed file as suggested. This beta 2.0 crashes upon start up.
>
> I get a rather long error message starting with:
> "Uncaught exception!
> Traceback (innermost last)"
>
> ending with:
> "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position
> 39: ordinal not in range(128)"
>
> And quite a lot of details in between...

Those are the important ones :-) Can you mail me the entire error messages,
eiher by copying the text from the dialog, or by posting a screenshot of the
dialog?

Thanks!

Peter

Peter Bienstman

unread,
Jan 22, 2012, 4:26:57 AM1/22/12
to Patrick de Metz, mnemosyne-...@googlegroups.com
Does your username contain any special characters (i.e. non latin)?

Peter

On Sunday 22 Jan 2012 01:22:23 you wrote:
> Morning Peter,
>
> I can't seem to be able to post the screenshot. So here is the text,
> as it appears in a Mnemosyne error window:
>
> Uncaught exception!
> Traceback (innemost last):
> File "mnemosyne", line 116, in <module<
> File "mnemosyne\libmnemosyne\_init_.pyo", line 172, i, initialize
> File "mnemosyne\libmnemosyne\upgrades\upgrade1.pyo", line 36 in run
> File "mnemosyne\libmnemosyne\upgrades\upgrade1.pyo" line 91, in
> upgrade_from_old_data_dir
> File "mnemosyne\libmnemosyne\utils.pyo#, line 67, in expand_path
> File "ntpath.pyo", line 108, in join


> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position
> 39: ordinal not in

> range(138)

Peter Bienstman

unread,
Jan 22, 2012, 6:09:44 AM1/22/12
to Patrick et Adeline de Metz, mnemosyne-...@googlegroups.com
And you had no problems with this in Mnemosyne 1.x?

Can you mail me the following file:

C:\Documents and Settings\Patrick_é\.mnemosyne\config

What you can try as a workaround is the following:

Create a directory

C:\Documents and Settings\Patrick_é\mnemosyne1.off (exact name does not matter)

and move (not copy) C:\Documents and Settings\Patrick_é\.mnemosyne\ to that
directory.

Then, start 2.0, and manually import (using file - import) C:\Documents and
Settings\Patrick_é\mnemosyne1.off\default.mem

Cheers,

Peter

On Sunday 22 Jan 2012 11:15:06 you wrote:
> My windows username has an underscore and a "é".n The rest is based on the
> good old latin set.
> Patrick.
>
> 2012/1/22 Peter Bienstman <Peter.B...@ugent.be>

Patrick de Metz

unread,
Jan 22, 2012, 10:58:09 AM1/22/12
to mnemosyne-proj-users
Peter,

No, working with Mnemosyne 1.2.2 was never a problem. It was actually
a breeze!

All Mnemosyne data files are on a USB key including the config file
(that have so far only been used with 1.2.2) your are asking about
(file attached).

My account name on my home PC is Compaq_Propriétaire. It is of course
a different one at the office (running Windows 7).

Regarding your suggested workaround , let me explain that at this very
moment, I have:
- Mnemosyne (1.2.2) in C:\Documents and Settings\Program Files
\Mnemosyne, and
- Mnemosyne Beta-9 in C:\Documents and Settings\Programe Files
\Mnemosyne_beta-2.0.

When starting 1.2.2 with a little .bat program (to fetch the data on
the USB key), all goes well.
When starting Beta-9 I get the message that I sent you.

Is the workaround you proposed above adequate in this context?

Patrick

Patrick de Metz

unread,
Jan 22, 2012, 11:03:18 AM1/22/12
to mnemosyne-proj-users
Btw, here is the error message in mnemosyne.log:
C:\Program Files\Mnemosyne_beta 2.0\library.zip\shutil.py:63:
UnicodeWarning: Unicode equal comparison failed to convert both
arguments to Unicode - interpreting them as being unequal

Patrick.

On Jan 22, 12:09 pm, Peter Bienstman <Peter.Bienst...@ugent.be> wrote:
> And you had no problems with this in Mnemosyne 1.x?
>
> Can you mail me the following file:
>
> C:\Documents and Settings\Patrick_é\.mnemosyne\config
>
> What you can try as a workaround is the following:
>
> Create a directory
>
> C:\Documents and Settings\Patrick_é\mnemosyne1.off (exact name does not matter)
>
> and move (not copy) C:\Documents and Settings\Patrick_é\.mnemosyne\ to that
> directory.
>
> Then, start 2.0, and manually import (using file - import) C:\Documents and
> Settings\Patrick_é\mnemosyne1.off\default.mem
>
> Cheers,
>
> Peter
>
> On Sunday 22 Jan 2012 11:15:06 you wrote:
>
>
>
>
>
>
>
> > My windows username has an underscore and a "é".n The rest is based on the
> > good old latin set.
> > Patrick.
>
> > 2012/1/22 Peter Bienstman <Peter.Bienst...@ugent.be>

Peter Bienstman

unread,
Jan 23, 2012, 4:36:09 AM1/23/12
to mnemosyne-...@googlegroups.com
On Sunday, January 22, 2012 07:58:09 AM Patrick de Metz wrote:

> Is the workaround you proposed above adequate in this context?

It should be!

Cheers,

Peter

Patrick de Metz

unread,
Jan 23, 2012, 1:54:49 PM1/23/12
to mnemosyne-proj-users
Hurray!

Not sure what you had me doing, but it seems everything is now under
control.
- Moved data back to USB card
- Rewrote .bat to get Mnemosyne to read data from USB card
- Sounds are playing lound and clear (at first they were not, took me
a while to find the sound was turned off...) ;-)
- I will now enjoy your latest production Beta 9

Thank you for your assistance.

I also need to add that I learned German using paper flash cards 35
years ago!
Mnemosyne sure comes in handy for Chinese!

Thank your for your excellent software.
(Please keep it simple, just as it is, don't go like the commercial
route of adding bells and whistles and forgetting the main goal).

Patrick.

Can I suggest you indicate the following practical advice on the main
Mnemosyne website: "there are some glitches on sounds which are being
worked on and can be enjoyed on Beta 9 which can be downloaded at..."?

Peter Bienstman

unread,
Jan 23, 2012, 2:38:49 PM1/23/12
to mnemosyne-...@googlegroups.com
On Monday 23 Jan 2012 10:54:49 Patrick de Metz wrote:
> Thank you for your assistance.
> Thank your for your excellent software.

You're welcome!

> (Please keep it simple, just as it is, don't go like the commercial
> route of adding bells and whistles and forgetting the main goal).

No worries, that's an integral poart of the mnemosyne philosophy: power
without needlessly complicating the UI, extra non-mainstream stuff in plugins.

> Can I suggest you indicate the following practical advice on the main
> Mnemosyne website: "there are some glitches on sounds which are being
> worked on and can be enjoyed on Beta 9 which can be downloaded at..."?

I don't want to announce the beta on the website yet. Since there are still
some (minor) issues and rough edges, I prefer that only those people give it a
try who don't mind posting the issues they have to the mailing list. For
people who try out Mnemosyne for the first time, 2.0 is not yet the optimal
experience, and they could be scared away without bothering to give feedback.

Cheers,

Peter

Patrick de Metz

unread,
Jan 23, 2012, 4:04:30 PM1/23/12
to mnemosyne-proj-users
I see you point. But then how about:

"There are some glitches on sounds which are being worked on." And say
nothing of about Beta the version being avalaible.

Look at it from the user point of view:
- surprisingly, there are no reported glitches (at least I coun't find
any) that match the simple/basic problem I posted ("sounds don't work
right")
- there is no warning from the developper.

So it must be with me, the uneducated user!

So it really took me a while to decide to go and post (after growing a
good a load of frustration trying many reinstalls and several sound
players, thinking the player used was external to Mnemosyne).

Patrick.

PS: Just a minor nuisance. I just couldn't do without Mnemosyne (with
or without the warning).

Peter Bienstman

unread,
Jan 23, 2012, 5:05:26 PM1/23/12
to mnemosyne-proj-users
I'll think about it, but there are more issues being worked on in 2.0 than just the sound...

Peter

-- 
You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group.
To post to this group, send email to mnemosyne-...@googlegroups.com.
To unsubscribe from this group, send email to mnemosyne-proj-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mnemosyne-proj-users?hl=en.

Reply all
Reply to author
Forward
0 new messages