Bug 362232 - Voice files switched
Summary: Voice files switched
Status: RESOLVED FIXED
Alias: None
Product: kajongg
Classification: Applications
Component: general (other bugs)
Version First Reported In: 4.13.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Wolfgang Rohdewald
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-25 11:45 UTC by Hein
Modified: 2016-08-25 11:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 16.08.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hein 2016-04-25 11:45:53 UTC
The voicefiles kong.ogg and pung.ogg for female2 have been switched around. (So female2 says pung when she is making a kong, and vice versa).

Reproducible: Always

Steps to Reproduce:
1. Play game
2. Listen when female2 makes pung or kong



I tried to switch the files around manually, but there is some sort of checksum built-in. If I switch the files around the game gives an error message and refuses to start a new game.
Comment 1 Wolfgang Rohdewald 2016-04-25 16:21:18 UTC
The female2 directory also has a file "md5sum" which is built by executing

cat *.ogg | md5sum

This way you can fix checksum error messages but of course I cannot tell if it fixes the message you got because you did not give me the message.

After switching those two sound files, it seems to me that the "kong" message is spoken with a "p" in front. So switching is not enough.

It will probably take some time until I fix this. But if you or somebody else mails me a good full sound set spoken by a native english speaker, I will consider replacing female2.

There is a file apps/kajongg/voices/synth which shows which file name should contain what.
Comment 2 Hein 2016-04-27 11:12:45 UTC
The message probably has to do with the checksum error. When switching the files and starting a new game I get two pop-ups.

The first says:
"cannot write
'/usr/share/kde4/apps/kajongg/voices/female2/md5sum':
[Errno 13] Permission denied:
u'/user/share/kde4/apps/kajongg/voices/female2/md5sum'"

The second says:
"Error for player Hein: cannot write
***/usr/share/kde4/apps/kajongg/voices/female2/md5sum***:
[Errno 13] Permission denied:
u'/usr/share/kde4/apps/kajongg/voices/female2/md5sum'
twisted cannot give us a traceback"

However, when I change the checksum with the cat command you provided, no more error messages appear. 

Thank you for your help!
Comment 3 Wolfgang Rohdewald 2016-08-25 11:43:32 UTC
Kajongg now gives an explanation why this happens and what do to.
The voice female2 is not optimal anyway, I will have to find another one.